source/kotlin_examples/cookbook/margins.ipynb (4,024 lines of code) (raw):

{ "cells": [ { "cell_type": "markdown", "id": "3f12d7c2", "metadata": {}, "source": [ "# Margins\n", "\n", " \n", "The margins around the plot and text elements are controlled by the `plotMargin` parameter in `theme()` and the `margin` parameter in `elementText()` respectively.\n", "\n", "Now the parameters `plotMargin` and `margin` accept a number or a list of numbers.\n", "\n", "- A number or list of one number is specified: the same margin is applied to **all four sides**.\n", "- A list of two numbers: the first margin applies to the **top and bottom**, the second - to the **left and right**.\n", "- A list of three numbers: the first margin applies to the **top**, the second - to the **right and left**, the third - to the **bottom**.\n", "- A list of four numbers: the margins are applied to the **top, right, bottom and left** in that order.\n", "\n", "It is acceptable to use `null` for any side; in this case, the default side value for this element will be used." ] }, { "cell_type": "code", "execution_count": 1, "id": "9304d8d0", "metadata": { "execution": { "iopub.execute_input": "2025-12-03T16:07:09.646613Z", "iopub.status.busy": "2025-12-03T16:07:09.643826Z", "iopub.status.idle": "2025-12-03T16:07:11.620035Z", "shell.execute_reply": "2025-12-03T16:07:11.619527Z" } }, "outputs": [ { "data": { "text/html": [ " <div id=\"6j5zu0\"></div>\n", " <script type=\"text/javascript\" data-lets-plot-script=\"library\">\n", " if(!window.letsPlotCallQueue) {\n", " window.letsPlotCallQueue = [];\n", " }; \n", " window.letsPlotCall = function(f) {\n", " window.letsPlotCallQueue.push(f);\n", " };\n", " (function() {\n", " var script = document.createElement(\"script\");\n", " script.type = \"text/javascript\";\n", " script.src = \"https://cdn.jsdelivr.net/gh/JetBrains/lets-plot@v4.8.1/js-package/distr/lets-plot.min.js\";\n", " script.onload = function() {\n", " window.letsPlotCall = function(f) {f();};\n", " window.letsPlotCallQueue.forEach(function(f) {f();});\n", " window.letsPlotCallQueue = [];\n", " \n", " \n", " };\n", " script.onerror = function(event) {\n", " window.letsPlotCall = function(f) {};\n", " window.letsPlotCallQueue = [];\n", " var div = document.createElement(\"div\");\n", " div.style.color = 'darkred';\n", " div.textContent = 'Error loading Lets-Plot JS';\n", " document.getElementById(\"6j5zu0\").appendChild(div);\n", " };\n", " var e = document.getElementById(\"6j5zu0\");\n", " e.appendChild(script);\n", " })();\n", " </script>" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ " <div id=\"kotlin_out_0\"></div>\n", " <script type=\"text/javascript\">\n", " if(!window.kotlinQueues) {\n", " window.kotlinQueues = {};\n", " }\n", " if(!window.kotlinQueues[\"letsPlotJs\"]) {\n", " var resQueue = [];\n", " window.kotlinQueues[\"letsPlotJs\"] = resQueue;\n", " window[\"call_letsPlotJs\"] = function(f) {\n", " resQueue.push(f);\n", " }\n", " }\n", " (function (){\n", " var modifiers = [(function(script) {\n", " script.src = \"https://cdn.jsdelivr.net/gh/JetBrains/lets-plot@v4.8.1/js-package/distr/lets-plot.min.js\"\n", " script.type = \"text/javascript\";\n", "})];\n", " var e = document.getElementById(\"kotlin_out_0\");\n", " modifiers.forEach(function (gen) {\n", " var script = document.createElement(\"script\");\n", " gen(script)\n", " script.addEventListener(\"load\", function() {\n", " window[\"call_letsPlotJs\"] = function(f) {f();};\n", " window.kotlinQueues[\"letsPlotJs\"].forEach(function(f) {f();});\n", " window.kotlinQueues[\"letsPlotJs\"] = [];\n", " }, false);\n", " script.addEventListener(\"error\", function() {\n", " window[\"call_letsPlotJs\"] = function(f) {};\n", " window.kotlinQueues[\"letsPlotJs\"] = [];\n", " var div = document.createElement(\"div\");\n", " div.style.color = 'darkred';\n", " div.textContent = 'Error loading resource letsPlotJs';\n", " document.getElementById(\"kotlin_out_0\").appendChild(div);\n", " }, false);\n", " \n", " e.appendChild(script);\n", " });\n", " })();\n", " </script>" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "%useLatestDescriptors\n", "%use lets-plot" ] }, { "cell_type": "code", "execution_count": 2, "id": "1318eeef", "metadata": { "execution": { "iopub.execute_input": "2025-12-03T16:07:11.622273Z", "iopub.status.busy": "2025-12-03T16:07:11.621727Z", "iopub.status.idle": "2025-12-03T16:07:11.657313Z", "shell.execute_reply": "2025-12-03T16:07:11.657444Z" } }, "outputs": [ { "data": { "text/plain": [ "Lets-Plot Kotlin API v.4.12.0. Frontend: Notebook with dynamically loaded JS. Lets-Plot JS v.4.8.1.\n", "Outputs: Web (HTML+JS), Kotlin Notebook (Swing), Static SVG (hidden)" ] }, "execution_count": 2, "metadata": {}, "output_type": "execute_result" } ], "source": [ "LetsPlot.getInfo()" ] }, { "cell_type": "code", "execution_count": 3, "id": "6fb71ad3", "metadata": { "execution": { "iopub.execute_input": "2025-12-03T16:07:11.658918Z", "iopub.status.busy": "2025-12-03T16:07:11.658666Z", "iopub.status.idle": "2025-12-03T16:07:11.875547Z", "shell.execute_reply": "2025-12-03T16:07:11.875273Z" } }, "outputs": [], "source": [ "import kotlin.random.Random\n", "\n", "val rand = Random(37)\n", "val barData = mapOf(\n", " \"x\" to List(100) { rand.nextInt(10)}\n", ")\n", "\n", "val p = letsPlot(barData) {x = \"x\"} + \n", " geomBar() + \n", " ggtitle(\"Barchart\") +\n", " themeLight() + \n", " theme(plotBackground = elementRect(size = 4))" ] }, { "cell_type": "markdown", "id": "939abcc4", "metadata": {}, "source": [ "#### Plot without Margins" ] }, { "cell_type": "code", "execution_count": 4, "id": "c3a57af3", "metadata": { "execution": { "iopub.execute_input": "2025-12-03T16:07:11.877020Z", "iopub.status.busy": "2025-12-03T16:07:11.876721Z", "iopub.status.idle": "2025-12-03T16:07:12.091805Z", "shell.execute_reply": "2025-12-03T16:07:12.091926Z" } }, "outputs": [ { "data": { "text/html": [ " <div id=\"QVkwtw\"></div>\n", " <script type=\"text/javascript\" data-lets-plot-script=\"library\">\n", " if(!window.letsPlotCallQueue) {\n", " window.letsPlotCallQueue = [];\n", " }; \n", " window.letsPlotCall = function(f) {\n", " window.letsPlotCallQueue.push(f);\n", " };\n", " (function() {\n", " var script = document.createElement(\"script\");\n", " script.type = \"text/javascript\";\n", " script.src = \"https://cdn.jsdelivr.net/gh/JetBrains/lets-plot@v4.8.1/js-package/distr/lets-plot.min.js\";\n", " script.onload = function() {\n", " window.letsPlotCall = function(f) {f();};\n", " window.letsPlotCallQueue.forEach(function(f) {f();});\n", " window.letsPlotCallQueue = [];\n", " \n", " \n", " };\n", " script.onerror = function(event) {\n", " window.letsPlotCall = function(f) {};\n", " window.letsPlotCallQueue = [];\n", " var div = document.createElement(\"div\");\n", " div.style.color = 'darkred';\n", " div.textContent = 'Error loading Lets-Plot JS';\n", " document.getElementById(\"QVkwtw\").appendChild(div);\n", " };\n", " var e = document.getElementById(\"QVkwtw\");\n", " e.appendChild(script);\n", " })();\n", " </script>" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/plot+json": { "apply_color_scheme": true, "output": { "data": { "x": [ 8.0, 4.0, 9.0, 7.0, 3.0, 3.0, 2.0, 9.0, 8.0, 3.0, 4.0, 2.0, 4.0, 6.0, 7.0, 4.0, 5.0, 2.0, 5.0, 7.0, 1.0, 3.0, 6.0, 7.0, 9.0, 9.0, 1.0, 4.0, 0.0, 8.0, 2.0, 3.0, 9.0, 7.0, 8.0, 6.0, 8.0, 8.0, 8.0, 8.0, 8.0, 3.0, 2.0, 4.0, 5.0, 2.0, 1.0, 9.0, 8.0, 2.0, 0.0, 5.0, 4.0, 7.0, 9.0, 0.0, 4.0, 6.0, 4.0, 6.0, 0.0, 7.0, 4.0, 8.0, 5.0, 1.0, 1.0, 7.0, 8.0, 6.0, 1.0, 1.0, 4.0, 8.0, 7.0, 1.0, 8.0, 6.0, 5.0, 5.0, 9.0, 2.0, 0.0, 6.0, 1.0, 7.0, 4.0, 0.0, 2.0, 4.0, 5.0, 8.0, 4.0, 0.0, 1.0, 4.0, 5.0, 6.0, 0.0, 7.0 ] }, "data_meta": { "series_annotations": [ { "column": "x", "type": "int" } ] }, "ggtitle": { "text": "Barchart" }, "kind": "plot", "layers": [ { "geom": "bar", "mapping": {}, "position": "stack", "stat": "count" } ], "mapping": { "x": "x" }, "scales": [], "theme": { "name": "light", "plot_background": { "blank": false, "size": 4.0 } } }, "output_type": "lets_plot_spec", "swing_enabled": true }, "text/html": [ " <div id=\"PUfveY\" ></div>\n", " <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n", " \n", " (function() {\n", " // ----------\n", " \n", " const forceImmediateRender = false;\n", " const responsive = false;\n", " \n", " let sizing = {\n", " width_mode: \"MIN\",\n", " height_mode: \"SCALED\",\n", " width: null, \n", " height: null \n", " };\n", " \n", " const preferredWidth = document.body.dataset.letsPlotPreferredWidth;\n", " if (preferredWidth !== undefined) {\n", " sizing = {\n", " width_mode: 'FIXED',\n", " height_mode: 'SCALED',\n", " width: parseFloat(preferredWidth)\n", " };\n", " }\n", " \n", " const containerDiv = document.getElementById(\"PUfveY\");\n", " let fig = null;\n", " \n", " function renderPlot() {\n", " if (fig === null) {\n", " const plotSpec = {\n", "\"ggtitle\":{\n", "\"text\":\"Barchart\"\n", "},\n", "\"mapping\":{\n", "\"x\":\"x\"\n", "},\n", "\"data\":{\n", "},\n", "\"kind\":\"plot\",\n", "\"scales\":[],\n", "\"layers\":[{\n", "\"mapping\":{\n", "},\n", "\"stat\":\"count\",\n", "\"position\":\"stack\",\n", "\"geom\":\"bar\",\n", "\"data\":{\n", "\"..count..\":[15.0,15.0,8.0,11.0,6.0,9.0,9.0,9.0,10.0,8.0],\n", "\"x\":[8.0,4.0,9.0,7.0,3.0,2.0,6.0,5.0,1.0,0.0]\n", "}\n", "}],\n", "\"theme\":{\n", "\"name\":\"light\",\n", "\"plot_background\":{\n", "\"size\":4.0,\n", "\"blank\":false\n", "}\n", "},\n", "\"data_meta\":{\n", "\"series_annotations\":[{\n", "\"type\":\"int\",\n", "\"column\":\"x\"\n", "}]\n", "},\n", "\"spec_id\":\"1\"\n", "};\n", " window.letsPlotCall(function() { fig = LetsPlot.buildPlotFromProcessedSpecs(plotSpec, containerDiv, sizing); });\n", " } else {\n", " fig.updateView({});\n", " }\n", " }\n", " \n", " const renderImmediately = \n", " forceImmediateRender || (\n", " sizing.width_mode === 'FIXED' && \n", " (sizing.height_mode === 'FIXED' || sizing.height_mode === 'SCALED')\n", " );\n", " \n", " if (renderImmediately) {\n", " renderPlot();\n", " }\n", " \n", " if (!renderImmediately || responsive) {\n", " // Set up observer for initial sizing or continuous monitoring\n", " var observer = new ResizeObserver(function(entries) {\n", " for (let entry of entries) {\n", " if (entry.contentBoxSize && \n", " entry.contentBoxSize[0].inlineSize > 0) {\n", " if (!responsive && observer) {\n", " observer.disconnect();\n", " observer = null;\n", " }\n", " renderPlot();\n", " if (!responsive) {\n", " break;\n", " }\n", " }\n", " }\n", " });\n", " \n", " observer.observe(containerDiv);\n", " }\n", " \n", " // ----------\n", " })();\n", " \n", " </script> <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" display=\"block\" class=\"plt-container\" id=171d3ae3-8f6f-4472-9611-775d5727ffe7 width=\"100%\" height=\"100%\" style=\"max-width: 600.0px; max-height: 400.0px;\" viewBox=\"0 0 600.0 400.0\" preserveAspectRatio=\"xMinYMin meet\">\n", " <style type=\"text/css\">\n", " .plt-container {\n", " font-family: sans-serif;\n", " user-select: none;\n", " -webkit-user-select: none;\n", " -moz-user-select: none;\n", " -ms-user-select: none;\n", "}\n", "text {\n", " text-rendering: optimizeLegibility;\n", "}\n", "#p0qDhfr .plot-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 16.0px;\n", "\n", "}\n", "#p0qDhfr .plot-subtitle {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#p0qDhfr .plot-caption {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#p0qDhfr .hyperlink-element {\n", "fill: #118ed8;\n", "font-weight: normal;\n", "font-style: normal;\n", "\n", "}\n", "#p0qDhfr .legend-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#p0qDhfr .legend-item {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#p0qDhfr .axis-title-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#p0qDhfr .axis-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d49gSe6 .axis-tooltip-text-x {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#p0qDhfr .axis-title-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#p0qDhfr .axis-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d49gSe6 .axis-tooltip-text-y {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#p0qDhfr .facet-strip-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#p0qDhfr .facet-strip-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d49gSe6 .tooltip-text {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d49gSe6 .tooltip-title {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d49gSe6 .tooltip-label {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "\n", " </style>\n", " <g id=\"p0qDhfr\">\n", " <path fill-rule=\"evenodd\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\" d=\"M2.0 2.0 L2.0 398.0 L598.0 398.0 L598.0 2.0 Z\">\n", " </path>\n", " <g transform=\"translate(25.0 26.0 ) \">\n", " <g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"330.0\" width=\"543.0387890890636\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\">\n", " </rect>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"22.190290279580648\" y1=\"0.0\" x2=\"22.190290279580648\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"72.05611113257088\" y1=\"0.0\" x2=\"72.05611113257088\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"121.92193198556112\" y1=\"0.0\" x2=\"121.92193198556112\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"171.78775283855134\" y1=\"0.0\" x2=\"171.78775283855134\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"221.65357369154157\" y1=\"0.0\" x2=\"221.65357369154157\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"271.5193945445318\" y1=\"0.0\" x2=\"271.5193945445318\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"321.385215397522\" y1=\"0.0\" x2=\"321.385215397522\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"371.25103625051224\" y1=\"0.0\" x2=\"371.25103625051224\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"421.11685710350247\" y1=\"0.0\" x2=\"421.11685710350247\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"470.98267795649275\" y1=\"0.0\" x2=\"470.98267795649275\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"520.848498809483\" y1=\"0.0\" x2=\"520.848498809483\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"47.123200706075764\" y1=\"0.0\" x2=\"47.123200706075764\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"96.989021559066\" y1=\"0.0\" x2=\"96.989021559066\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"146.85484241205623\" y1=\"0.0\" x2=\"146.85484241205623\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"196.72066326504648\" y1=\"0.0\" x2=\"196.72066326504648\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"246.5864841180367\" y1=\"0.0\" x2=\"246.5864841180367\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"296.45230497102693\" y1=\"0.0\" x2=\"296.45230497102693\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"346.31812582401716\" y1=\"0.0\" x2=\"346.31812582401716\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"396.1839466770074\" y1=\"0.0\" x2=\"396.1839466770074\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"446.0497675299976\" y1=\"0.0\" x2=\"446.0497675299976\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"495.91558838298783\" y1=\"0.0\" x2=\"495.91558838298783\" y2=\"330.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"0.0\" y1=\"309.04761904761904\" x2=\"543.0387890890636\" y2=\"309.04761904761904\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"267.1428571428571\" x2=\"543.0387890890636\" y2=\"267.1428571428571\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"225.23809523809524\" x2=\"543.0387890890636\" y2=\"225.23809523809524\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"183.33333333333334\" x2=\"543.0387890890636\" y2=\"183.33333333333334\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"141.42857142857142\" x2=\"543.0387890890636\" y2=\"141.42857142857142\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"99.52380952380952\" x2=\"543.0387890890636\" y2=\"99.52380952380952\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"57.61904761904759\" x2=\"543.0387890890636\" y2=\"57.61904761904759\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"15.714285714285722\" x2=\"543.0387890890636\" y2=\"15.714285714285722\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"288.0952380952381\" x2=\"543.0387890890636\" y2=\"288.0952380952381\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"246.1904761904762\" x2=\"543.0387890890636\" y2=\"246.1904761904762\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"204.28571428571428\" x2=\"543.0387890890636\" y2=\"204.28571428571428\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"162.38095238095238\" x2=\"543.0387890890636\" y2=\"162.38095238095238\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"120.47619047619048\" x2=\"543.0387890890636\" y2=\"120.47619047619048\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"78.57142857142856\" x2=\"543.0387890890636\" y2=\"78.57142857142856\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"36.666666666666686\" x2=\"543.0387890890636\" y2=\"36.666666666666686\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " </g>\n", " <g clip-path=\"url(#cdyjRMi)\" clip-bounds-jfx=\"[rect (21.961210910936405, 0.0), (543.0387890890636, 330.0)]\">\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <g>\n", " <rect x=\"24.683581322230157\" y=\"162.38095238095238\" height=\"167.61904761904762\" width=\"44.87923876769122\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"74.5494021752204\" y=\"120.47619047619048\" height=\"209.52380952380952\" width=\"44.879238767691206\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"274.0126855871813\" y=\"141.42857142857142\" height=\"188.57142857142858\" width=\"44.87923876769122\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"323.8785064401715\" y=\"141.42857142857142\" height=\"188.57142857142858\" width=\"44.87923876769122\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"124.41522302821063\" y=\"141.42857142857142\" height=\"188.57142857142858\" width=\"44.879238767691206\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"174.28104388120084\" y=\"204.28571428571428\" height=\"125.71428571428572\" width=\"44.87923876769122\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"373.74432729316175\" y=\"99.52380952380952\" height=\"230.47619047619048\" width=\"44.87923876769122\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"473.47596899914225\" y=\"162.38095238095238\" height=\"167.61904761904762\" width=\"44.87923876769122\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"224.14686473419107\" y=\"15.714285714285722\" height=\"314.2857142857143\" width=\"44.87923876769122\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"423.61014814615197\" y=\"15.714285714285722\" height=\"314.2857142857143\" width=\"44.87923876769122\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " </g>\n", " </g>\n", " </g>\n", " <defs>\n", " <clipPath id=\"cdyjRMi\">\n", " <rect x=\"21.961210910936405\" y=\"0.0\" width=\"543.0387890890636\" height=\"330.0\">\n", " </rect>\n", " </clipPath>\n", " </defs>\n", " </g>\n", " <g>\n", " <g transform=\"translate(21.961210910936405 330.0 ) \">\n", " <g transform=\"translate(47.123200706075764 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(96.989021559066 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>1</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(146.85484241205623 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>2</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(196.72066326504648 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>3</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(246.5864841180367 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>4</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(296.45230497102693 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>5</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(346.31812582401716 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>6</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(396.1839466770074 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>7</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(446.0497675299976 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>8</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(495.91558838298783 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>9</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g transform=\"translate(0.0 330.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 288.0952380952381 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>2</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 246.1904761904762 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>4</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 204.28571428571428 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>6</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 162.38095238095238 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>8</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 120.47619047619048 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>10</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 78.57142857142856 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>12</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 36.666666666666686 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>14</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"330.0\" width=\"543.0387890890636\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill-opacity=\"0.0\">\n", " </rect>\n", " </g>\n", " </g>\n", " <g transform=\"translate(46.9612109109364 19.8 ) \">\n", " <text style=\"font-size:16.0px;\" y=\"0.0\" class=\"plot-title\">\n", " <tspan>Barchart</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(19.0 191.0 ) rotate(-90.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-y\" text-anchor=\"middle\">\n", " <tspan>count</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(318.4806054554682 390.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-x\" text-anchor=\"middle\">\n", " <tspan>x</tspan>\n", " </text>\n", " </g>\n", " <path fill=\"rgb(0,0,0)\" fill-opacity=\"0.0\" stroke=\"rgb(71,71,71)\" stroke-opacity=\"1.0\" stroke-width=\"4.0\" d=\"M2.0 2.0 L2.0 398.0 L598.0 398.0 L598.0 2.0 Z\" pointer-events=\"none\">\n", " </path>\n", " </g>\n", " <g id=\"d49gSe6\">\n", " </g>\n", "</svg>\n", " <script>document.getElementById(\"171d3ae3-8f6f-4472-9611-775d5727ffe7\").style.display = \"none\";</script>" ] }, "execution_count": 4, "metadata": {}, "output_type": "execute_result" } ], "source": [ "p" ] }, { "cell_type": "markdown", "id": "12422bb7", "metadata": {}, "source": [ "#### Margins Around the Plot" ] }, { "cell_type": "code", "execution_count": 5, "id": "7dda150c", "metadata": { "execution": { "iopub.execute_input": "2025-12-03T16:07:12.093431Z", "iopub.status.busy": "2025-12-03T16:07:12.093244Z", "iopub.status.idle": "2025-12-03T16:07:12.225249Z", "shell.execute_reply": "2025-12-03T16:07:12.225371Z" } }, "outputs": [ { "data": { "application/plot+json": { "apply_color_scheme": true, "output": { "figures": [ { "data": { "x": [ 8.0, 4.0, 9.0, 7.0, 3.0, 3.0, 2.0, 9.0, 8.0, 3.0, 4.0, 2.0, 4.0, 6.0, 7.0, 4.0, 5.0, 2.0, 5.0, 7.0, 1.0, 3.0, 6.0, 7.0, 9.0, 9.0, 1.0, 4.0, 0.0, 8.0, 2.0, 3.0, 9.0, 7.0, 8.0, 6.0, 8.0, 8.0, 8.0, 8.0, 8.0, 3.0, 2.0, 4.0, 5.0, 2.0, 1.0, 9.0, 8.0, 2.0, 0.0, 5.0, 4.0, 7.0, 9.0, 0.0, 4.0, 6.0, 4.0, 6.0, 0.0, 7.0, 4.0, 8.0, 5.0, 1.0, 1.0, 7.0, 8.0, 6.0, 1.0, 1.0, 4.0, 8.0, 7.0, 1.0, 8.0, 6.0, 5.0, 5.0, 9.0, 2.0, 0.0, 6.0, 1.0, 7.0, 4.0, 0.0, 2.0, 4.0, 5.0, 8.0, 4.0, 0.0, 1.0, 4.0, 5.0, 6.0, 0.0, 7.0 ] }, "data_meta": { "series_annotations": [ { "column": "x", "type": "int" } ] }, "ggtitle": { "text": "plotMargin=40 (all sides)" }, "kind": "plot", "layers": [ { "geom": "bar", "mapping": {}, "position": "stack", "stat": "count" } ], "mapping": { "x": "x" }, "scales": [], "theme": { "name": "light", "plot_background": { "blank": false, "size": 4.0 }, "plot_margin": 40.0 } }, { "data": { "x": [ 8.0, 4.0, 9.0, 7.0, 3.0, 3.0, 2.0, 9.0, 8.0, 3.0, 4.0, 2.0, 4.0, 6.0, 7.0, 4.0, 5.0, 2.0, 5.0, 7.0, 1.0, 3.0, 6.0, 7.0, 9.0, 9.0, 1.0, 4.0, 0.0, 8.0, 2.0, 3.0, 9.0, 7.0, 8.0, 6.0, 8.0, 8.0, 8.0, 8.0, 8.0, 3.0, 2.0, 4.0, 5.0, 2.0, 1.0, 9.0, 8.0, 2.0, 0.0, 5.0, 4.0, 7.0, 9.0, 0.0, 4.0, 6.0, 4.0, 6.0, 0.0, 7.0, 4.0, 8.0, 5.0, 1.0, 1.0, 7.0, 8.0, 6.0, 1.0, 1.0, 4.0, 8.0, 7.0, 1.0, 8.0, 6.0, 5.0, 5.0, 9.0, 2.0, 0.0, 6.0, 1.0, 7.0, 4.0, 0.0, 2.0, 4.0, 5.0, 8.0, 4.0, 0.0, 1.0, 4.0, 5.0, 6.0, 0.0, 7.0 ] }, "data_meta": { "series_annotations": [ { "column": "x", "type": "int" } ] }, "ggtitle": { "text": "plotMargin=[40,20]\n(top/bottom, left/right)" }, "kind": "plot", "layers": [ { "geom": "bar", "mapping": {}, "position": "stack", "stat": "count" } ], "mapping": { "x": "x" }, "scales": [], "theme": { "name": "light", "plot_background": { "blank": false, "size": 4.0 }, "plot_margin": [ 40.0, 20.0 ] } }, { "data": { "x": [ 8.0, 4.0, 9.0, 7.0, 3.0, 3.0, 2.0, 9.0, 8.0, 3.0, 4.0, 2.0, 4.0, 6.0, 7.0, 4.0, 5.0, 2.0, 5.0, 7.0, 1.0, 3.0, 6.0, 7.0, 9.0, 9.0, 1.0, 4.0, 0.0, 8.0, 2.0, 3.0, 9.0, 7.0, 8.0, 6.0, 8.0, 8.0, 8.0, 8.0, 8.0, 3.0, 2.0, 4.0, 5.0, 2.0, 1.0, 9.0, 8.0, 2.0, 0.0, 5.0, 4.0, 7.0, 9.0, 0.0, 4.0, 6.0, 4.0, 6.0, 0.0, 7.0, 4.0, 8.0, 5.0, 1.0, 1.0, 7.0, 8.0, 6.0, 1.0, 1.0, 4.0, 8.0, 7.0, 1.0, 8.0, 6.0, 5.0, 5.0, 9.0, 2.0, 0.0, 6.0, 1.0, 7.0, 4.0, 0.0, 2.0, 4.0, 5.0, 8.0, 4.0, 0.0, 1.0, 4.0, 5.0, 6.0, 0.0, 7.0 ] }, "data_meta": { "series_annotations": [ { "column": "x", "type": "int" } ] }, "ggtitle": { "text": "plotMargin=[40,20,10]\n(top, left/right, bottom)" }, "kind": "plot", "layers": [ { "geom": "bar", "mapping": {}, "position": "stack", "stat": "count" } ], "mapping": { "x": "x" }, "scales": [], "theme": { "name": "light", "plot_background": { "blank": false, "size": 4.0 }, "plot_margin": [ 40.0, 20.0, 10.0 ] } }, { "data": { "x": [ 8.0, 4.0, 9.0, 7.0, 3.0, 3.0, 2.0, 9.0, 8.0, 3.0, 4.0, 2.0, 4.0, 6.0, 7.0, 4.0, 5.0, 2.0, 5.0, 7.0, 1.0, 3.0, 6.0, 7.0, 9.0, 9.0, 1.0, 4.0, 0.0, 8.0, 2.0, 3.0, 9.0, 7.0, 8.0, 6.0, 8.0, 8.0, 8.0, 8.0, 8.0, 3.0, 2.0, 4.0, 5.0, 2.0, 1.0, 9.0, 8.0, 2.0, 0.0, 5.0, 4.0, 7.0, 9.0, 0.0, 4.0, 6.0, 4.0, 6.0, 0.0, 7.0, 4.0, 8.0, 5.0, 1.0, 1.0, 7.0, 8.0, 6.0, 1.0, 1.0, 4.0, 8.0, 7.0, 1.0, 8.0, 6.0, 5.0, 5.0, 9.0, 2.0, 0.0, 6.0, 1.0, 7.0, 4.0, 0.0, 2.0, 4.0, 5.0, 8.0, 4.0, 0.0, 1.0, 4.0, 5.0, 6.0, 0.0, 7.0 ] }, "data_meta": { "series_annotations": [ { "column": "x", "type": "int" } ] }, "ggtitle": { "text": "plotMargin=[40,10,10,20]\n(top, right, bottom, left)" }, "kind": "plot", "layers": [ { "geom": "bar", "mapping": {}, "position": "stack", "stat": "count" } ], "mapping": { "x": "x" }, "scales": [], "theme": { "name": "light", "plot_background": { "blank": false, "size": 4.0 }, "plot_margin": [ 40.0, 10.0, 10.0, 20.0 ] } } ], "kind": "subplots", "layout": { "align": false, "fit": true, "name": "grid", "ncol": 2, "nrow": 2 } }, "output_type": "lets_plot_spec", "swing_enabled": true }, "text/html": [ " <div id=\"Nbnxuv\" ></div>\n", " <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n", " \n", " (function() {\n", " // ----------\n", " \n", " const forceImmediateRender = false;\n", " const responsive = false;\n", " \n", " let sizing = {\n", " width_mode: \"MIN\",\n", " height_mode: \"SCALED\",\n", " width: null, \n", " height: null \n", " };\n", " \n", " const preferredWidth = document.body.dataset.letsPlotPreferredWidth;\n", " if (preferredWidth !== undefined) {\n", " sizing = {\n", " width_mode: 'FIXED',\n", " height_mode: 'SCALED',\n", " width: parseFloat(preferredWidth)\n", " };\n", " }\n", " \n", " const containerDiv = document.getElementById(\"Nbnxuv\");\n", " let fig = null;\n", " \n", " function renderPlot() {\n", " if (fig === null) {\n", " const plotSpec = {\n", "\"layout\":{\n", "\"name\":\"grid\",\n", "\"ncol\":2,\n", "\"nrow\":2,\n", "\"fit\":true,\n", "\"align\":false\n", "},\n", "\"figures\":[{\n", "\"ggtitle\":{\n", "\"text\":\"plotMargin=40 (all sides)\"\n", "},\n", "\"mapping\":{\n", "\"x\":\"x\"\n", "},\n", "\"data\":{\n", "},\n", "\"kind\":\"plot\",\n", "\"scales\":[],\n", "\"layers\":[{\n", "\"mapping\":{\n", "},\n", "\"stat\":\"count\",\n", "\"position\":\"stack\",\n", "\"geom\":\"bar\",\n", "\"data\":{\n", "\"..count..\":[15.0,15.0,8.0,11.0,6.0,9.0,9.0,9.0,10.0,8.0],\n", "\"x\":[8.0,4.0,9.0,7.0,3.0,2.0,6.0,5.0,1.0,0.0]\n", "}\n", "}],\n", "\"theme\":{\n", "\"name\":\"light\",\n", "\"plot_background\":{\n", "\"size\":4.0,\n", "\"blank\":false\n", "},\n", "\"plot_margin\":40.0\n", "},\n", "\"data_meta\":{\n", "\"series_annotations\":[{\n", "\"type\":\"int\",\n", "\"column\":\"x\"\n", "}]\n", "},\n", "\"spec_id\":\"3\"\n", "},{\n", "\"ggtitle\":{\n", "\"text\":\"plotMargin=[40,20]\\n(top/bottom, left/right)\"\n", "},\n", "\"mapping\":{\n", "\"x\":\"x\"\n", "},\n", "\"data\":{\n", "},\n", "\"kind\":\"plot\",\n", "\"scales\":[],\n", "\"layers\":[{\n", "\"mapping\":{\n", "},\n", "\"stat\":\"count\",\n", "\"position\":\"stack\",\n", "\"geom\":\"bar\",\n", "\"data\":{\n", "\"..count..\":[15.0,15.0,8.0,11.0,6.0,9.0,9.0,9.0,10.0,8.0],\n", "\"x\":[8.0,4.0,9.0,7.0,3.0,2.0,6.0,5.0,1.0,0.0]\n", "}\n", "}],\n", "\"theme\":{\n", "\"name\":\"light\",\n", "\"plot_background\":{\n", "\"size\":4.0,\n", "\"blank\":false\n", "},\n", "\"plot_margin\":[40.0,20.0]\n", "},\n", "\"data_meta\":{\n", "\"series_annotations\":[{\n", "\"type\":\"int\",\n", "\"column\":\"x\"\n", "}]\n", "},\n", "\"spec_id\":\"4\"\n", "},{\n", "\"ggtitle\":{\n", "\"text\":\"plotMargin=[40,20,10]\\n(top, left/right, bottom)\"\n", "},\n", "\"mapping\":{\n", "\"x\":\"x\"\n", "},\n", "\"data\":{\n", "},\n", "\"kind\":\"plot\",\n", "\"scales\":[],\n", "\"layers\":[{\n", "\"mapping\":{\n", "},\n", "\"stat\":\"count\",\n", "\"position\":\"stack\",\n", "\"geom\":\"bar\",\n", "\"data\":{\n", "\"..count..\":[15.0,15.0,8.0,11.0,6.0,9.0,9.0,9.0,10.0,8.0],\n", "\"x\":[8.0,4.0,9.0,7.0,3.0,2.0,6.0,5.0,1.0,0.0]\n", "}\n", "}],\n", "\"theme\":{\n", "\"name\":\"light\",\n", "\"plot_background\":{\n", "\"size\":4.0,\n", "\"blank\":false\n", "},\n", "\"plot_margin\":[40.0,20.0,10.0]\n", "},\n", "\"data_meta\":{\n", "\"series_annotations\":[{\n", "\"type\":\"int\",\n", "\"column\":\"x\"\n", "}]\n", "},\n", "\"spec_id\":\"5\"\n", "},{\n", "\"ggtitle\":{\n", "\"text\":\"plotMargin=[40,10,10,20]\\n(top, right, bottom, left)\"\n", "},\n", "\"mapping\":{\n", "\"x\":\"x\"\n", "},\n", "\"data\":{\n", "},\n", "\"kind\":\"plot\",\n", "\"scales\":[],\n", "\"layers\":[{\n", "\"mapping\":{\n", "},\n", "\"stat\":\"count\",\n", "\"position\":\"stack\",\n", "\"geom\":\"bar\",\n", "\"data\":{\n", "\"..count..\":[15.0,15.0,8.0,11.0,6.0,9.0,9.0,9.0,10.0,8.0],\n", "\"x\":[8.0,4.0,9.0,7.0,3.0,2.0,6.0,5.0,1.0,0.0]\n", "}\n", "}],\n", "\"theme\":{\n", "\"name\":\"light\",\n", "\"plot_background\":{\n", "\"size\":4.0,\n", "\"blank\":false\n", "},\n", "\"plot_margin\":[40.0,10.0,10.0,20.0]\n", "},\n", "\"data_meta\":{\n", "\"series_annotations\":[{\n", "\"type\":\"int\",\n", "\"column\":\"x\"\n", "}]\n", "},\n", "\"spec_id\":\"6\"\n", "}],\n", "\"kind\":\"subplots\"\n", "};\n", " window.letsPlotCall(function() { fig = LetsPlot.buildPlotFromProcessedSpecs(plotSpec, containerDiv, sizing); });\n", " } else {\n", " fig.updateView({});\n", " }\n", " }\n", " \n", " const renderImmediately = \n", " forceImmediateRender || (\n", " sizing.width_mode === 'FIXED' && \n", " (sizing.height_mode === 'FIXED' || sizing.height_mode === 'SCALED')\n", " );\n", " \n", " if (renderImmediately) {\n", " renderPlot();\n", " }\n", " \n", " if (!renderImmediately || responsive) {\n", " // Set up observer for initial sizing or continuous monitoring\n", " var observer = new ResizeObserver(function(entries) {\n", " for (let entry of entries) {\n", " if (entry.contentBoxSize && \n", " entry.contentBoxSize[0].inlineSize > 0) {\n", " if (!responsive && observer) {\n", " observer.disconnect();\n", " observer = null;\n", " }\n", " renderPlot();\n", " if (!responsive) {\n", " break;\n", " }\n", " }\n", " }\n", " });\n", " \n", " observer.observe(containerDiv);\n", " }\n", " \n", " // ----------\n", " })();\n", " \n", " </script> <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" display=\"block\" class=\"plt-container\" id=5c6e7d43-ee2e-470b-9c90-57fc17b8e302 width=\"100%\" height=\"100%\" style=\"max-width: 900.0px; max-height: 600.0px;\" viewBox=\"0 0 900.0 600.0\" preserveAspectRatio=\"xMinYMin meet\">\n", " <style type=\"text/css\">\n", " .plt-container {\n", " font-family: sans-serif;\n", " user-select: none;\n", " -webkit-user-select: none;\n", " -moz-user-select: none;\n", " -ms-user-select: none;\n", "}\n", "text {\n", " text-rendering: optimizeLegibility;\n", "}\n", "#pe6o1jR .plot-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 16.0px;\n", "\n", "}\n", "#pe6o1jR .plot-subtitle {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pe6o1jR .plot-caption {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pe6o1jR .hyperlink-element {\n", "fill: #118ed8;\n", "font-weight: normal;\n", "font-style: normal;\n", "\n", "}\n", "#pe6o1jR .legend-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pe6o1jR .legend-item {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pe6o1jR .axis-title-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pe6o1jR .axis-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", ".axis-tooltip-text-x {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pe6o1jR .axis-title-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pe6o1jR .axis-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", ".axis-tooltip-text-y {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pe6o1jR .facet-strip-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pe6o1jR .facet-strip-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", ".tooltip-text {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", ".tooltip-title {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", ".tooltip-label {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "\n", " </style>\n", " <g id=\"pe6o1jR\">\n", " <rect x=\"0.0\" y=\"0.0\" height=\"600.0\" width=\"900.0\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\" stroke=\"rgb(71,71,71)\" stroke-opacity=\"1.0\" stroke-width=\"0.0\">\n", " </rect>\n", " </g>\n", " <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" display=\"block\" class=\"plt-container\" width=\"442.0\" height=\"292.0\" x=\"6.0\" y=\"6.0\">\n", " <style type=\"text/css\">\n", " .plt-container {\n", " font-family: sans-serif;\n", " user-select: none;\n", " -webkit-user-select: none;\n", " -moz-user-select: none;\n", " -ms-user-select: none;\n", "}\n", "text {\n", " text-rendering: optimizeLegibility;\n", "}\n", "#psQfDwH .plot-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 16.0px;\n", "\n", "}\n", "#psQfDwH .plot-subtitle {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#psQfDwH .plot-caption {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psQfDwH .hyperlink-element {\n", "fill: #118ed8;\n", "font-weight: normal;\n", "font-style: normal;\n", "\n", "}\n", "#psQfDwH .legend-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#psQfDwH .legend-item {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psQfDwH .axis-title-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#psQfDwH .axis-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dBiQJBL .axis-tooltip-text-x {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psQfDwH .axis-title-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#psQfDwH .axis-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dBiQJBL .axis-tooltip-text-y {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psQfDwH .facet-strip-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psQfDwH .facet-strip-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dBiQJBL .tooltip-text {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dBiQJBL .tooltip-title {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dBiQJBL .tooltip-label {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "\n", " </style>\n", " <g id=\"psQfDwH\">\n", " <path fill-rule=\"evenodd\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\" d=\"M2.0 2.0 L2.0 290.0 L440.0 290.0 L440.0 2.0 Z\">\n", " </path>\n", " <g transform=\"translate(62.0 63.0 ) \">\n", " <g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"148.0\" width=\"311.0387890890636\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\">\n", " </rect>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"55.55284157743147\" y1=\"0.0\" x2=\"55.55284157743147\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"112.67658613006024\" y1=\"0.0\" x2=\"112.67658613006024\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"169.80033068268898\" y1=\"0.0\" x2=\"169.80033068268898\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"226.9240752353178\" y1=\"0.0\" x2=\"226.9240752353178\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"284.04781978794654\" y1=\"0.0\" x2=\"284.04781978794654\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"26.99096930111709\" y1=\"0.0\" x2=\"26.99096930111709\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"84.11471385374585\" y1=\"0.0\" x2=\"84.11471385374585\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"141.2384584063746\" y1=\"0.0\" x2=\"141.2384584063746\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"198.3622029590034\" y1=\"0.0\" x2=\"198.3622029590034\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"255.48594751163216\" y1=\"0.0\" x2=\"255.48594751163216\" y2=\"148.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"0.0\" y1=\"124.5079365079365\" x2=\"311.0387890890636\" y2=\"124.5079365079365\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"77.52380952380952\" x2=\"311.0387890890636\" y2=\"77.52380952380952\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"30.53968253968253\" x2=\"311.0387890890636\" y2=\"30.53968253968253\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"101.01587301587301\" x2=\"311.0387890890636\" y2=\"101.01587301587301\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"54.031746031746025\" x2=\"311.0387890890636\" y2=\"54.031746031746025\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"7.047619047619037\" x2=\"311.0387890890636\" y2=\"7.047619047619037\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " </g>\n", " <g clip-path=\"url(#cy8Q4hb)\" clip-bounds-jfx=\"[rect (21.961210910936405, 0.0), (311.0387890890636, 148.0)]\">\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <g>\n", " <rect x=\"14.138126776775618\" y=\"72.82539682539682\" height=\"75.17460317460318\" width=\"25.70568504868294\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"42.69999905309\" y=\"54.031746031746025\" height=\"93.96825396825398\" width=\"25.705685048682945\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"156.94748815834754\" y=\"63.42857142857143\" height=\"84.57142857142857\" width=\"25.705685048682938\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"185.50936043466191\" y=\"63.42857142857143\" height=\"84.57142857142857\" width=\"25.705685048682938\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"71.26187132940439\" y=\"63.42857142857143\" height=\"84.57142857142857\" width=\"25.705685048682952\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"99.82374360571876\" y=\"91.61904761904762\" height=\"56.38095238095238\" width=\"25.705685048682952\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"214.0712327109763\" y=\"44.63492063492063\" height=\"103.36507936507937\" width=\"25.705685048682938\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"271.1949772636051\" y=\"72.82539682539682\" height=\"75.17460317460318\" width=\"25.70568504868288\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"128.38561588203314\" y=\"7.047619047619037\" height=\"140.95238095238096\" width=\"25.705685048682966\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"242.63310498729066\" y=\"7.047619047619037\" height=\"140.95238095238096\" width=\"25.705685048682938\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " </g>\n", " </g>\n", " </g>\n", " <defs>\n", " <clipPath id=\"cy8Q4hb\">\n", " <rect x=\"21.961210910936405\" y=\"0.0\" width=\"311.0387890890636\" height=\"148.0\">\n", " </rect>\n", " </clipPath>\n", " </defs>\n", " </g>\n", " <g>\n", " <g transform=\"translate(21.961210910936405 148.0 ) \">\n", " <g transform=\"translate(26.99096930111709 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(84.11471385374585 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>2</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(141.2384584063746 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>4</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(198.3622029590034 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>6</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(255.48594751163216 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>8</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g transform=\"translate(0.0 148.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 101.01587301587301 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>5</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 54.031746031746025 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>10</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 7.047619047619037 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>15</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"148.0\" width=\"311.0387890890636\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill-opacity=\"0.0\">\n", " </rect>\n", " </g>\n", " </g>\n", " <g transform=\"translate(83.9612109109364 56.8 ) \">\n", " <text style=\"font-size:16.0px;\" y=\"0.0\" class=\"plot-title\">\n", " <tspan>plotMargin=40 (all sides)</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(56.0 137.0 ) rotate(-90.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-y\" text-anchor=\"middle\">\n", " <tspan>count</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(239.4806054554682 245.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-x\" text-anchor=\"middle\">\n", " <tspan>x</tspan>\n", " </text>\n", " </g>\n", " <path fill=\"rgb(0,0,0)\" fill-opacity=\"0.0\" stroke=\"rgb(71,71,71)\" stroke-opacity=\"1.0\" stroke-width=\"4.0\" d=\"M2.0 2.0 L2.0 290.0 L440.0 290.0 L440.0 2.0 Z\" pointer-events=\"none\">\n", " </path>\n", " </g>\n", " <g id=\"dBiQJBL\">\n", " </g>\n", " </svg>\n", " <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" display=\"block\" class=\"plt-container\" width=\"442.0\" height=\"292.0\" x=\"452.0\" y=\"6.0\">\n", " <style type=\"text/css\">\n", " .plt-container {\n", " font-family: sans-serif;\n", " user-select: none;\n", " -webkit-user-select: none;\n", " -moz-user-select: none;\n", " -ms-user-select: none;\n", "}\n", "text {\n", " text-rendering: optimizeLegibility;\n", "}\n", "#pMbEHKG .plot-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 16.0px;\n", "\n", "}\n", "#pMbEHKG .plot-subtitle {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pMbEHKG .plot-caption {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pMbEHKG .hyperlink-element {\n", "fill: #118ed8;\n", "font-weight: normal;\n", "font-style: normal;\n", "\n", "}\n", "#pMbEHKG .legend-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pMbEHKG .legend-item {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pMbEHKG .axis-title-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pMbEHKG .axis-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dJEC8h0 .axis-tooltip-text-x {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pMbEHKG .axis-title-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pMbEHKG .axis-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dJEC8h0 .axis-tooltip-text-y {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pMbEHKG .facet-strip-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pMbEHKG .facet-strip-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dJEC8h0 .tooltip-text {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dJEC8h0 .tooltip-title {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dJEC8h0 .tooltip-label {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "\n", " </style>\n", " <g id=\"pMbEHKG\">\n", " <path fill-rule=\"evenodd\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\" d=\"M2.0 2.0 L2.0 290.0 L440.0 290.0 L440.0 2.0 Z\">\n", " </path>\n", " <g transform=\"translate(42.0 79.0 ) \">\n", " <g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"132.0\" width=\"351.0387890890636\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\">\n", " </rect>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"62.697010539782255\" y1=\"0.0\" x2=\"62.697010539782255\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"127.166944256782\" y1=\"0.0\" x2=\"127.166944256782\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"191.63687797378176\" y1=\"0.0\" x2=\"191.63687797378176\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"256.10681169078146\" y1=\"0.0\" x2=\"256.10681169078146\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"320.57674540778123\" y1=\"0.0\" x2=\"320.57674540778123\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"30.462043681282378\" y1=\"0.0\" x2=\"30.462043681282378\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"94.93197739828213\" y1=\"0.0\" x2=\"94.93197739828213\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"159.40191111528188\" y1=\"0.0\" x2=\"159.40191111528188\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"223.87184483228162\" y1=\"0.0\" x2=\"223.87184483228162\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"288.34177854928134\" y1=\"0.0\" x2=\"288.34177854928134\" y2=\"132.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"0.0\" y1=\"111.04761904761905\" x2=\"351.0387890890636\" y2=\"111.04761904761905\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"69.14285714285714\" x2=\"351.0387890890636\" y2=\"69.14285714285714\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"27.238095238095227\" x2=\"351.0387890890636\" y2=\"27.238095238095227\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"90.0952380952381\" x2=\"351.0387890890636\" y2=\"90.0952380952381\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"48.19047619047619\" x2=\"351.0387890890636\" y2=\"48.19047619047619\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"6.285714285714278\" x2=\"351.0387890890636\" y2=\"6.285714285714278\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " </g>\n", " <g clip-path=\"url(#cv1o07s)\" clip-bounds-jfx=\"[rect (21.961210910936405, 0.0), (351.0387890890636, 132.0)]\">\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <g>\n", " <rect x=\"15.956308594957434\" y=\"64.95238095238095\" height=\"67.04761904761905\" width=\"29.011470172649886\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"48.19127545345731\" y=\"48.19047619047619\" height=\"83.80952380952381\" width=\"29.01147017264988\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"177.1311428874568\" y=\"56.57142857142857\" height=\"75.42857142857143\" width=\"29.011470172649894\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"209.36610974595666\" y=\"56.57142857142857\" height=\"75.42857142857143\" width=\"29.011470172649922\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"80.42624231195718\" y=\"56.57142857142857\" height=\"75.42857142857143\" width=\"29.011470172649894\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"112.66120917045706\" y=\"81.71428571428571\" height=\"50.28571428571429\" width=\"29.011470172649894\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"241.60107660445655\" y=\"39.80952380952381\" height=\"92.19047619047619\" width=\"29.011470172649894\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"306.0710103214563\" y=\"64.95238095238095\" height=\"67.04761904761905\" width=\"29.011470172649865\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"144.89617602895692\" y=\"6.285714285714278\" height=\"125.71428571428572\" width=\"29.011470172649922\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"273.8360434629564\" y=\"6.285714285714278\" height=\"125.71428571428572\" width=\"29.011470172649865\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " </g>\n", " </g>\n", " </g>\n", " <defs>\n", " <clipPath id=\"cv1o07s\">\n", " <rect x=\"21.961210910936405\" y=\"0.0\" width=\"351.0387890890636\" height=\"132.0\">\n", " </rect>\n", " </clipPath>\n", " </defs>\n", " </g>\n", " <g>\n", " <g transform=\"translate(21.961210910936405 132.0 ) \">\n", " <g transform=\"translate(30.462043681282378 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(94.93197739828213 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>2</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(159.40191111528188 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>4</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(223.87184483228162 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>6</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(288.34177854928134 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>8</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g transform=\"translate(0.0 132.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 90.0952380952381 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>5</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 48.19047619047619 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>10</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 6.285714285714278 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>15</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"132.0\" width=\"351.0387890890636\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill-opacity=\"0.0\">\n", " </rect>\n", " </g>\n", " </g>\n", " <g transform=\"translate(63.9612109109364 56.8 ) \">\n", " <text style=\"font-size:16.0px;\" y=\"0.0\" class=\"plot-title\">\n", " <tspan>plotMargin=[40,20]</tspan>\n", " </text>\n", " <text style=\"font-size:16.0px;\" y=\"16.0\" class=\"plot-title\">\n", " <tspan>(top/bottom, left/right)</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(36.0 145.0 ) rotate(-90.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-y\" text-anchor=\"middle\">\n", " <tspan>count</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(239.4806054554682 245.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-x\" text-anchor=\"middle\">\n", " <tspan>x</tspan>\n", " </text>\n", " </g>\n", " <path fill=\"rgb(0,0,0)\" fill-opacity=\"0.0\" stroke=\"rgb(71,71,71)\" stroke-opacity=\"1.0\" stroke-width=\"4.0\" d=\"M2.0 2.0 L2.0 290.0 L440.0 290.0 L440.0 2.0 Z\" pointer-events=\"none\">\n", " </path>\n", " </g>\n", " <g id=\"dJEC8h0\">\n", " </g>\n", " </svg>\n", " <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" display=\"block\" class=\"plt-container\" width=\"442.0\" height=\"292.0\" x=\"6.0\" y=\"302.0\">\n", " <style type=\"text/css\">\n", " .plt-container {\n", " font-family: sans-serif;\n", " user-select: none;\n", " -webkit-user-select: none;\n", " -moz-user-select: none;\n", " -ms-user-select: none;\n", "}\n", "text {\n", " text-rendering: optimizeLegibility;\n", "}\n", "#ph0g9lc .plot-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 16.0px;\n", "\n", "}\n", "#ph0g9lc .plot-subtitle {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#ph0g9lc .plot-caption {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#ph0g9lc .hyperlink-element {\n", "fill: #118ed8;\n", "font-weight: normal;\n", "font-style: normal;\n", "\n", "}\n", "#ph0g9lc .legend-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#ph0g9lc .legend-item {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#ph0g9lc .axis-title-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#ph0g9lc .axis-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dhMw3Wf .axis-tooltip-text-x {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#ph0g9lc .axis-title-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#ph0g9lc .axis-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dhMw3Wf .axis-tooltip-text-y {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#ph0g9lc .facet-strip-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#ph0g9lc .facet-strip-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dhMw3Wf .tooltip-text {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dhMw3Wf .tooltip-title {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#dhMw3Wf .tooltip-label {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "\n", " </style>\n", " <g id=\"ph0g9lc\">\n", " <path fill-rule=\"evenodd\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\" d=\"M2.0 2.0 L2.0 290.0 L440.0 290.0 L440.0 2.0 Z\">\n", " </path>\n", " <g transform=\"translate(42.0 79.0 ) \">\n", " <g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"162.0\" width=\"351.0387890890636\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\">\n", " </rect>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"62.697010539782255\" y1=\"0.0\" x2=\"62.697010539782255\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"127.166944256782\" y1=\"0.0\" x2=\"127.166944256782\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"191.63687797378176\" y1=\"0.0\" x2=\"191.63687797378176\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"256.10681169078146\" y1=\"0.0\" x2=\"256.10681169078146\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"320.57674540778123\" y1=\"0.0\" x2=\"320.57674540778123\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"30.462043681282378\" y1=\"0.0\" x2=\"30.462043681282378\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"94.93197739828213\" y1=\"0.0\" x2=\"94.93197739828213\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"159.40191111528188\" y1=\"0.0\" x2=\"159.40191111528188\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"223.87184483228162\" y1=\"0.0\" x2=\"223.87184483228162\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"288.34177854928134\" y1=\"0.0\" x2=\"288.34177854928134\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"0.0\" y1=\"136.28571428571428\" x2=\"351.0387890890636\" y2=\"136.28571428571428\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"84.85714285714285\" x2=\"351.0387890890636\" y2=\"84.85714285714285\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"33.428571428571416\" x2=\"351.0387890890636\" y2=\"33.428571428571416\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"110.57142857142857\" x2=\"351.0387890890636\" y2=\"110.57142857142857\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"59.14285714285714\" x2=\"351.0387890890636\" y2=\"59.14285714285714\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"7.714285714285694\" x2=\"351.0387890890636\" y2=\"7.714285714285694\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " </g>\n", " <g clip-path=\"url(#cbY88Ly)\" clip-bounds-jfx=\"[rect (21.961210910936405, 0.0), (351.0387890890636, 162.0)]\">\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <g>\n", " <rect x=\"15.956308594957434\" y=\"79.71428571428571\" height=\"82.28571428571429\" width=\"29.011470172649886\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"48.19127545345731\" y=\"59.14285714285714\" height=\"102.85714285714286\" width=\"29.01147017264988\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"177.1311428874568\" y=\"69.42857142857142\" height=\"92.57142857142858\" width=\"29.011470172649894\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"209.36610974595666\" y=\"69.42857142857142\" height=\"92.57142857142858\" width=\"29.011470172649922\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"80.42624231195718\" y=\"69.42857142857142\" height=\"92.57142857142858\" width=\"29.011470172649894\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"112.66120917045706\" y=\"100.28571428571428\" height=\"61.71428571428572\" width=\"29.011470172649894\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"241.60107660445655\" y=\"48.85714285714285\" height=\"113.14285714285715\" width=\"29.011470172649894\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"306.0710103214563\" y=\"79.71428571428571\" height=\"82.28571428571429\" width=\"29.011470172649865\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"144.89617602895692\" y=\"7.714285714285694\" height=\"154.2857142857143\" width=\"29.011470172649922\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"273.8360434629564\" y=\"7.714285714285694\" height=\"154.2857142857143\" width=\"29.011470172649865\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " </g>\n", " </g>\n", " </g>\n", " <defs>\n", " <clipPath id=\"cbY88Ly\">\n", " <rect x=\"21.961210910936405\" y=\"0.0\" width=\"351.0387890890636\" height=\"162.0\">\n", " </rect>\n", " </clipPath>\n", " </defs>\n", " </g>\n", " <g>\n", " <g transform=\"translate(21.961210910936405 162.0 ) \">\n", " <g transform=\"translate(30.462043681282378 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(94.93197739828213 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>2</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(159.40191111528188 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>4</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(223.87184483228162 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>6</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(288.34177854928134 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>8</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g transform=\"translate(0.0 162.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 110.57142857142857 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>5</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 59.14285714285714 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>10</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 7.714285714285694 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>15</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"162.0\" width=\"351.0387890890636\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill-opacity=\"0.0\">\n", " </rect>\n", " </g>\n", " </g>\n", " <g transform=\"translate(63.9612109109364 56.8 ) \">\n", " <text style=\"font-size:16.0px;\" y=\"0.0\" class=\"plot-title\">\n", " <tspan>plotMargin=[40,20,10]</tspan>\n", " </text>\n", " <text style=\"font-size:16.0px;\" y=\"16.0\" class=\"plot-title\">\n", " <tspan>(top, left/right, bottom)</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(36.0 160.0 ) rotate(-90.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-y\" text-anchor=\"middle\">\n", " <tspan>count</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(239.4806054554682 275.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-x\" text-anchor=\"middle\">\n", " <tspan>x</tspan>\n", " </text>\n", " </g>\n", " <path fill=\"rgb(0,0,0)\" fill-opacity=\"0.0\" stroke=\"rgb(71,71,71)\" stroke-opacity=\"1.0\" stroke-width=\"4.0\" d=\"M2.0 2.0 L2.0 290.0 L440.0 290.0 L440.0 2.0 Z\" pointer-events=\"none\">\n", " </path>\n", " </g>\n", " <g id=\"dhMw3Wf\">\n", " </g>\n", " </svg>\n", " <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" display=\"block\" class=\"plt-container\" width=\"442.0\" height=\"292.0\" x=\"452.0\" y=\"302.0\">\n", " <style type=\"text/css\">\n", " .plt-container {\n", " font-family: sans-serif;\n", " user-select: none;\n", " -webkit-user-select: none;\n", " -moz-user-select: none;\n", " -ms-user-select: none;\n", "}\n", "text {\n", " text-rendering: optimizeLegibility;\n", "}\n", "#pmsHtsk .plot-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 16.0px;\n", "\n", "}\n", "#pmsHtsk .plot-subtitle {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pmsHtsk .plot-caption {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pmsHtsk .hyperlink-element {\n", "fill: #118ed8;\n", "font-weight: normal;\n", "font-style: normal;\n", "\n", "}\n", "#pmsHtsk .legend-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pmsHtsk .legend-item {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pmsHtsk .axis-title-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pmsHtsk .axis-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d3uSIyI .axis-tooltip-text-x {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pmsHtsk .axis-title-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#pmsHtsk .axis-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d3uSIyI .axis-tooltip-text-y {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pmsHtsk .facet-strip-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#pmsHtsk .facet-strip-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d3uSIyI .tooltip-text {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d3uSIyI .tooltip-title {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d3uSIyI .tooltip-label {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "\n", " </style>\n", " <g id=\"pmsHtsk\">\n", " <path fill-rule=\"evenodd\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\" d=\"M2.0 2.0 L2.0 290.0 L440.0 290.0 L440.0 2.0 Z\">\n", " </path>\n", " <g transform=\"translate(42.0 79.0 ) \">\n", " <g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"162.0\" width=\"361.0387890890636\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\">\n", " </rect>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"64.48305278036995\" y1=\"0.0\" x2=\"64.48305278036995\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"130.78953378846245\" y1=\"0.0\" x2=\"130.78953378846245\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"197.09601479655493\" y1=\"0.0\" x2=\"197.09601479655493\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"263.4024958046474\" y1=\"0.0\" x2=\"263.4024958046474\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"329.70897681273993\" y1=\"0.0\" x2=\"329.70897681273993\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"31.3298122763237\" y1=\"0.0\" x2=\"31.3298122763237\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"97.63629328441618\" y1=\"0.0\" x2=\"97.63629328441618\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"163.9427742925087\" y1=\"0.0\" x2=\"163.9427742925087\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"230.2492553006012\" y1=\"0.0\" x2=\"230.2492553006012\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"296.55573630869367\" y1=\"0.0\" x2=\"296.55573630869367\" y2=\"162.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"0.0\" y1=\"136.28571428571428\" x2=\"361.0387890890636\" y2=\"136.28571428571428\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"84.85714285714285\" x2=\"361.0387890890636\" y2=\"84.85714285714285\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"33.428571428571416\" x2=\"361.0387890890636\" y2=\"33.428571428571416\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"110.57142857142857\" x2=\"361.0387890890636\" y2=\"110.57142857142857\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"59.14285714285714\" x2=\"361.0387890890636\" y2=\"59.14285714285714\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"7.714285714285694\" x2=\"361.0387890890636\" y2=\"7.714285714285694\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " </g>\n", " <g clip-path=\"url(#cquBpj2)\" clip-bounds-jfx=\"[rect (21.961210910936405, 0.0), (361.0387890890636, 162.0)]\">\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <g>\n", " <rect x=\"16.410854049502888\" y=\"79.71428571428571\" height=\"82.28571428571429\" width=\"29.837916453641625\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"49.56409455354914\" y=\"59.14285714285714\" height=\"102.85714285714286\" width=\"29.83791645364161\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"182.1770565697341\" y=\"69.42857142857142\" height=\"92.57142857142858\" width=\"29.83791645364164\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"215.33029707378037\" y=\"69.42857142857142\" height=\"92.57142857142858\" width=\"29.83791645364161\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"82.71733505759539\" y=\"69.42857142857142\" height=\"92.57142857142858\" width=\"29.83791645364161\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"115.87057556164163\" y=\"100.28571428571428\" height=\"61.71428571428572\" width=\"29.83791645364161\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"248.4835375778266\" y=\"48.85714285714285\" height=\"113.14285714285715\" width=\"29.83791645364164\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"314.79001858591914\" y=\"79.71428571428571\" height=\"82.28571428571429\" width=\"29.837916453641583\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"149.02381606568787\" y=\"7.714285714285694\" height=\"154.2857142857143\" width=\"29.83791645364164\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"281.6367780818728\" y=\"7.714285714285694\" height=\"154.2857142857143\" width=\"29.83791645364164\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " </g>\n", " </g>\n", " </g>\n", " <defs>\n", " <clipPath id=\"cquBpj2\">\n", " <rect x=\"21.961210910936405\" y=\"0.0\" width=\"361.0387890890636\" height=\"162.0\">\n", " </rect>\n", " </clipPath>\n", " </defs>\n", " </g>\n", " <g>\n", " <g transform=\"translate(21.961210910936405 162.0 ) \">\n", " <g transform=\"translate(31.3298122763237 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(97.63629328441618 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>2</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(163.9427742925087 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>4</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(230.2492553006012 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>6</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(296.55573630869367 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>8</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g transform=\"translate(0.0 162.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 110.57142857142857 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>5</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 59.14285714285714 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>10</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 7.714285714285694 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>15</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"162.0\" width=\"361.0387890890636\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill-opacity=\"0.0\">\n", " </rect>\n", " </g>\n", " </g>\n", " <g transform=\"translate(63.9612109109364 56.8 ) \">\n", " <text style=\"font-size:16.0px;\" y=\"0.0\" class=\"plot-title\">\n", " <tspan>plotMargin=[40,10,10,20]</tspan>\n", " </text>\n", " <text style=\"font-size:16.0px;\" y=\"16.0\" class=\"plot-title\">\n", " <tspan>(top, right, bottom, left)</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(36.0 160.0 ) rotate(-90.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-y\" text-anchor=\"middle\">\n", " <tspan>count</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(244.4806054554682 275.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-x\" text-anchor=\"middle\">\n", " <tspan>x</tspan>\n", " </text>\n", " </g>\n", " <path fill=\"rgb(0,0,0)\" fill-opacity=\"0.0\" stroke=\"rgb(71,71,71)\" stroke-opacity=\"1.0\" stroke-width=\"4.0\" d=\"M2.0 2.0 L2.0 290.0 L440.0 290.0 L440.0 2.0 Z\" pointer-events=\"none\">\n", " </path>\n", " </g>\n", " <g id=\"d3uSIyI\">\n", " </g>\n", " </svg>\n", "</svg>\n", " <script>document.getElementById(\"5c6e7d43-ee2e-470b-9c90-57fc17b8e302\").style.display = \"none\";</script>" ] }, "execution_count": 5, "metadata": {}, "output_type": "execute_result" } ], "source": [ "gggrid(\n", " listOf(\n", " p + theme(plotMargin = 40) + ggtitle(\"plotMargin=40 (all sides)\"),\n", " p + theme(plotMargin = listOf(40, 20)) + \n", " ggtitle(\"plotMargin=[40,20]\\n(top/bottom, left/right)\"),\n", " p + theme(plotMargin = listOf(40, 20, 10)) + \n", " ggtitle(\"plotMargin=[40,20,10]\\n(top, left/right, bottom)\"),\n", " p + theme(plotMargin = listOf(40, 10, 10, 20)) + \n", " ggtitle(\"plotMargin=[40,10,10,20]\\n(top, right, bottom, left)\")\n", " ),\n", " ncol=2\n", ")" ] }, { "cell_type": "markdown", "id": "789ff5c5", "metadata": {}, "source": [ "#### Margins Around the Text Element" ] }, { "cell_type": "code", "execution_count": 6, "id": "1350c45f", "metadata": { "execution": { "iopub.execute_input": "2025-12-03T16:07:12.227243Z", "iopub.status.busy": "2025-12-03T16:07:12.227023Z", "iopub.status.idle": "2025-12-03T16:07:12.282798Z", "shell.execute_reply": "2025-12-03T16:07:12.282925Z" } }, "outputs": [ { "data": { "application/plot+json": { "apply_color_scheme": true, "output": { "data": { "x": [ 8.0, 4.0, 9.0, 7.0, 3.0, 3.0, 2.0, 9.0, 8.0, 3.0, 4.0, 2.0, 4.0, 6.0, 7.0, 4.0, 5.0, 2.0, 5.0, 7.0, 1.0, 3.0, 6.0, 7.0, 9.0, 9.0, 1.0, 4.0, 0.0, 8.0, 2.0, 3.0, 9.0, 7.0, 8.0, 6.0, 8.0, 8.0, 8.0, 8.0, 8.0, 3.0, 2.0, 4.0, 5.0, 2.0, 1.0, 9.0, 8.0, 2.0, 0.0, 5.0, 4.0, 7.0, 9.0, 0.0, 4.0, 6.0, 4.0, 6.0, 0.0, 7.0, 4.0, 8.0, 5.0, 1.0, 1.0, 7.0, 8.0, 6.0, 1.0, 1.0, 4.0, 8.0, 7.0, 1.0, 8.0, 6.0, 5.0, 5.0, 9.0, 2.0, 0.0, 6.0, 1.0, 7.0, 4.0, 0.0, 2.0, 4.0, 5.0, 8.0, 4.0, 0.0, 1.0, 4.0, 5.0, 6.0, 0.0, 7.0 ] }, "data_meta": { "series_annotations": [ { "column": "x", "type": "int" } ] }, "ggtitle": { "text": "plotTitle=40 -> top/bottom=40,\naxisTitle=[20,20] -> top/right=20" }, "kind": "plot", "layers": [ { "geom": "bar", "mapping": {}, "position": "stack", "stat": "count" } ], "mapping": { "x": "x" }, "scales": [], "theme": { "axis_title": { "blank": false, "margin": [ 20.0, 20.0 ] }, "name": "light", "plot_background": { "blank": false, "size": 4.0 }, "plot_title": { "blank": false, "margin": 40.0 } } }, "output_type": "lets_plot_spec", "swing_enabled": true }, "text/html": [ " <div id=\"Hrq7Ay\" ></div>\n", " <script type=\"text/javascript\" data-lets-plot-script=\"plot\">\n", " \n", " (function() {\n", " // ----------\n", " \n", " const forceImmediateRender = false;\n", " const responsive = false;\n", " \n", " let sizing = {\n", " width_mode: \"MIN\",\n", " height_mode: \"SCALED\",\n", " width: null, \n", " height: null \n", " };\n", " \n", " const preferredWidth = document.body.dataset.letsPlotPreferredWidth;\n", " if (preferredWidth !== undefined) {\n", " sizing = {\n", " width_mode: 'FIXED',\n", " height_mode: 'SCALED',\n", " width: parseFloat(preferredWidth)\n", " };\n", " }\n", " \n", " const containerDiv = document.getElementById(\"Hrq7Ay\");\n", " let fig = null;\n", " \n", " function renderPlot() {\n", " if (fig === null) {\n", " const plotSpec = {\n", "\"ggtitle\":{\n", "\"text\":\"plotTitle=40 -> top/bottom=40,\\naxisTitle=[20,20] -> top/right=20\"\n", "},\n", "\"mapping\":{\n", "\"x\":\"x\"\n", "},\n", "\"data\":{\n", "},\n", "\"kind\":\"plot\",\n", "\"scales\":[],\n", "\"layers\":[{\n", "\"mapping\":{\n", "},\n", "\"stat\":\"count\",\n", "\"position\":\"stack\",\n", "\"geom\":\"bar\",\n", "\"data\":{\n", "\"..count..\":[15.0,15.0,8.0,11.0,6.0,9.0,9.0,9.0,10.0,8.0],\n", "\"x\":[8.0,4.0,9.0,7.0,3.0,2.0,6.0,5.0,1.0,0.0]\n", "}\n", "}],\n", "\"theme\":{\n", "\"name\":\"light\",\n", "\"plot_background\":{\n", "\"size\":4.0,\n", "\"blank\":false\n", "},\n", "\"plot_title\":{\n", "\"margin\":40.0,\n", "\"blank\":false\n", "},\n", "\"axis_title\":{\n", "\"margin\":[20.0,20.0],\n", "\"blank\":false\n", "}\n", "},\n", "\"data_meta\":{\n", "\"series_annotations\":[{\n", "\"type\":\"int\",\n", "\"column\":\"x\"\n", "}]\n", "},\n", "\"spec_id\":\"11\"\n", "};\n", " window.letsPlotCall(function() { fig = LetsPlot.buildPlotFromProcessedSpecs(plotSpec, containerDiv, sizing); });\n", " } else {\n", " fig.updateView({});\n", " }\n", " }\n", " \n", " const renderImmediately = \n", " forceImmediateRender || (\n", " sizing.width_mode === 'FIXED' && \n", " (sizing.height_mode === 'FIXED' || sizing.height_mode === 'SCALED')\n", " );\n", " \n", " if (renderImmediately) {\n", " renderPlot();\n", " }\n", " \n", " if (!renderImmediately || responsive) {\n", " // Set up observer for initial sizing or continuous monitoring\n", " var observer = new ResizeObserver(function(entries) {\n", " for (let entry of entries) {\n", " if (entry.contentBoxSize && \n", " entry.contentBoxSize[0].inlineSize > 0) {\n", " if (!responsive && observer) {\n", " observer.disconnect();\n", " observer = null;\n", " }\n", " renderPlot();\n", " if (!responsive) {\n", " break;\n", " }\n", " }\n", " }\n", " });\n", " \n", " observer.observe(containerDiv);\n", " }\n", " \n", " // ----------\n", " })();\n", " \n", " </script> <svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" display=\"block\" class=\"plt-container\" id=7581e8b5-88f1-4dec-81e4-6d7eba2cffd4 width=\"100%\" height=\"100%\" style=\"max-width: 600.0px; max-height: 400.0px;\" viewBox=\"0 0 600.0 400.0\" preserveAspectRatio=\"xMinYMin meet\">\n", " <style type=\"text/css\">\n", " .plt-container {\n", " font-family: sans-serif;\n", " user-select: none;\n", " -webkit-user-select: none;\n", " -moz-user-select: none;\n", " -ms-user-select: none;\n", "}\n", "text {\n", " text-rendering: optimizeLegibility;\n", "}\n", "#psxlWPz .plot-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 16.0px;\n", "\n", "}\n", "#psxlWPz .plot-subtitle {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#psxlWPz .plot-caption {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psxlWPz .hyperlink-element {\n", "fill: #118ed8;\n", "font-weight: normal;\n", "font-style: normal;\n", "\n", "}\n", "#psxlWPz .legend-title {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#psxlWPz .legend-item {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psxlWPz .axis-title-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#psxlWPz .axis-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d4fZOCD .axis-tooltip-text-x {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psxlWPz .axis-title-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 15.0px;\n", "\n", "}\n", "#psxlWPz .axis-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d4fZOCD .axis-tooltip-text-y {\n", "fill: #ffffff;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psxlWPz .facet-strip-text-x {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#psxlWPz .facet-strip-text-y {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d4fZOCD .tooltip-text {\n", "fill: #474747;\n", "font-weight: normal;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d4fZOCD .tooltip-title {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "#d4fZOCD .tooltip-label {\n", "fill: #474747;\n", "font-weight: bold;\n", "font-style: normal;\n", "font-family: sans-serif;\n", "font-size: 13.0px;\n", "\n", "}\n", "\n", " </style>\n", " <g id=\"psxlWPz\">\n", " <path fill-rule=\"evenodd\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\" d=\"M2.0 2.0 L2.0 398.0 L598.0 398.0 L598.0 2.0 Z\">\n", " </path>\n", " <g transform=\"translate(65.0 122.0 ) \">\n", " <g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"194.0\" width=\"503.0387890890636\" fill=\"rgb(255,255,255)\" fill-opacity=\"1.0\">\n", " </rect>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"89.84485259671521\" y1=\"0.0\" x2=\"89.84485259671521\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"182.2303051383247\" y1=\"0.0\" x2=\"182.2303051383247\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"274.6157576799342\" y1=\"0.0\" x2=\"274.6157576799342\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"367.00121022154366\" y1=\"0.0\" x2=\"367.00121022154366\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"459.3866627631532\" y1=\"0.0\" x2=\"459.3866627631532\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"43.65212632591048\" y1=\"0.0\" x2=\"43.65212632591048\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"136.03757886751995\" y1=\"0.0\" x2=\"136.03757886751995\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"228.42303140912944\" y1=\"0.0\" x2=\"228.42303140912944\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"320.80848395073895\" y1=\"0.0\" x2=\"320.80848395073895\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"413.1939364923484\" y1=\"0.0\" x2=\"413.1939364923484\" y2=\"194.0\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <line x1=\"0.0\" y1=\"163.20634920634922\" x2=\"503.0387890890636\" y2=\"163.20634920634922\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"101.61904761904762\" x2=\"503.0387890890636\" y2=\"101.61904761904762\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"40.031746031746025\" x2=\"503.0387890890636\" y2=\"40.031746031746025\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"0.5\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"132.4126984126984\" x2=\"503.0387890890636\" y2=\"132.4126984126984\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"70.82539682539682\" x2=\"503.0387890890636\" y2=\"70.82539682539682\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " <line x1=\"0.0\" y1=\"9.23809523809524\" x2=\"503.0387890890636\" y2=\"9.23809523809524\" stroke=\"rgb(233,233,233)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill=\"none\">\n", " </line>\n", " </g>\n", " </g>\n", " </g>\n", " <g clip-path=\"url(#cMrf3ei)\" clip-bounds-jfx=\"[rect (21.961210910936405, 0.0), (503.0387890890636, 194.0)]\">\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g>\n", " <g>\n", " <rect x=\"22.865399504048344\" y=\"95.46031746031746\" height=\"98.53968253968254\" width=\"41.57345364372428\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"69.0581257748531\" y=\"70.82539682539682\" height=\"123.17460317460318\" width=\"41.573453643724264\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"253.82903085807203\" y=\"83.14285714285714\" height=\"110.85714285714286\" width=\"41.57345364372429\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"300.0217571288768\" y=\"83.14285714285714\" height=\"110.85714285714286\" width=\"41.57345364372429\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"115.25085204565784\" y=\"83.14285714285714\" height=\"110.85714285714286\" width=\"41.573453643724264\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"161.44357831646255\" y=\"120.09523809523809\" height=\"73.90476190476191\" width=\"41.57345364372429\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"346.21448339968157\" y=\"58.507936507936506\" height=\"135.4920634920635\" width=\"41.573453643724235\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"438.59993594129105\" y=\"95.46031746031746\" height=\"98.53968253968254\" width=\"41.573453643724235\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"207.6363045872673\" y=\"9.23809523809524\" height=\"184.76190476190476\" width=\"41.57345364372429\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " <rect x=\"392.4072096704863\" y=\"9.23809523809524\" height=\"184.76190476190476\" width=\"41.573453643724235\" stroke=\"rgb(255,255,255)\" stroke-opacity=\"1.0\" fill=\"rgb(17,142,216)\" fill-opacity=\"1.0\" stroke-width=\"1.6500000000000001\">\n", " </rect>\n", " </g>\n", " </g>\n", " </g>\n", " <defs>\n", " <clipPath id=\"cMrf3ei\">\n", " <rect x=\"21.961210910936405\" y=\"0.0\" width=\"503.0387890890636\" height=\"194.0\">\n", " </rect>\n", " </clipPath>\n", " </defs>\n", " </g>\n", " <g>\n", " <g transform=\"translate(21.961210910936405 194.0 ) \">\n", " <g transform=\"translate(43.65212632591048 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(136.03757886751995 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>2</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(228.42303140912944 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>4</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(320.80848395073895 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>6</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(413.1939364923484 0.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"0.0\" y2=\"4.0\">\n", " </line>\n", " <g transform=\"translate(0.0 6.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-x\" text-anchor=\"middle\" dy=\"0.7em\">\n", " <tspan>8</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <g transform=\"translate(21.961210910936405 0.0 ) \">\n", " <g transform=\"translate(0.0 194.0 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>0</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 132.4126984126984 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>5</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 70.82539682539682 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>10</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " <g transform=\"translate(0.0 9.23809523809524 ) \">\n", " <line stroke-width=\"1.0\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" x2=\"-4.0\" y2=\"0.0\">\n", " </line>\n", " <g transform=\"translate(-6.0 0.0 ) \">\n", " <text style=\"font-size:13.0px;\" y=\"0.0\" class=\"axis-text-y\" text-anchor=\"end\" dy=\"0.35em\">\n", " <tspan>15</tspan>\n", " </text>\n", " </g>\n", " </g>\n", " </g>\n", " <rect x=\"21.961210910936405\" y=\"0.0\" height=\"194.0\" width=\"503.0387890890636\" stroke=\"rgb(201,201,201)\" stroke-opacity=\"1.0\" stroke-width=\"1.0\" fill-opacity=\"0.0\">\n", " </rect>\n", " </g>\n", " </g>\n", " <g transform=\"translate(126.9612109109364 59.8 ) \">\n", " <text style=\"font-size:16.0px;\" y=\"0.0\" class=\"plot-title\">\n", " <tspan>plotTitle=40 -&gt; top/bottom=40,</tspan>\n", " </text>\n", " <text style=\"font-size:16.0px;\" y=\"16.0\" class=\"plot-title\">\n", " <tspan>axisTitle=[20,20] -&gt; top/right=20</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(39.0 219.0 ) rotate(-90.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-y\" text-anchor=\"middle\">\n", " <tspan>count</tspan>\n", " </text>\n", " </g>\n", " <g transform=\"translate(338.4806054554682 370.0 ) \">\n", " <text style=\"font-size:15.0px;\" y=\"0.0\" class=\"axis-title-x\" text-anchor=\"middle\">\n", " <tspan>x</tspan>\n", " </text>\n", " </g>\n", " <path fill=\"rgb(0,0,0)\" fill-opacity=\"0.0\" stroke=\"rgb(71,71,71)\" stroke-opacity=\"1.0\" stroke-width=\"4.0\" d=\"M2.0 2.0 L2.0 398.0 L598.0 398.0 L598.0 2.0 Z\" pointer-events=\"none\">\n", " </path>\n", " </g>\n", " <g id=\"d4fZOCD\">\n", " </g>\n", "</svg>\n", " <script>document.getElementById(\"7581e8b5-88f1-4dec-81e4-6d7eba2cffd4\").style.display = \"none\";</script>" ] }, "execution_count": 6, "metadata": {}, "output_type": "execute_result" } ], "source": [ "p + theme(plotTitle = elementText(margin=40),\n", " axisTitle = elementText(margin=listOf(20, 20))) +\n", " ggtitle(\"plotTitle=40 -> top/bottom=40,\\n\" +\n", " \"axisTitle=[20,20] -> top/right=20\")" ] } ], "metadata": { "kernelspec": { "display_name": "Kotlin", "language": "kotlin", "name": "kotlin" }, "language_info": { "codemirror_mode": "text/x-kotlin", "file_extension": ".kt", "mimetype": "text/x-kotlin", "name": "kotlin", "nbconvert_exporter": "", "pygments_lexer": "kotlin", "version": "2.2.20-Beta2" } }, "nbformat": 4, "nbformat_minor": 5 }