{ "cells": [ { "cell_type": "markdown", "id": "5442af61", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "# Introduction to Spark Visualization\n", "\n", "## Feng Li\n", "\n", "### Central University of Finance and Economics\n", "\n", "### [feng.li@cufe.edu.cn](feng.li@cufe.edu.cn)\n", "### Course home page: [https://feng.li/distcomp](https://feng.li/distcomp)" ] }, { "cell_type": "code", "execution_count": 2, "id": "8f3c23ab", "metadata": { "slideshow": { "slide_type": "skip" } }, "outputs": [], "source": [ "import findspark\n", "findspark.init()" ] }, { "cell_type": "code", "execution_count": 3, "id": "c179d02b", "metadata": { "scrolled": true, "slideshow": { "slide_type": "slide" } }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/home/fli/.APP/spark/python/pyspark/pandas/__init__.py:50: UserWarning: 'PYARROW_IGNORE_TIMEZONE' environment variable was not set. It is required to set this environment variable to '1' in both driver and executor sides if you use pyarrow>=2.0.0. pandas-on-Spark will set it for you but it does not work if there is a Spark context already launched.\n", " warnings.warn(\n", "Setting default log level to \"WARN\".\n", "To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).\n", "23/06/08 17:14:14 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable\n" ] } ], "source": [ "import pyspark\n", "import pyspark.pandas as ps\n", "conf = pyspark.SparkConf().setAppName(\"Spark Visualization App\")\n", "spark = pyspark.sql.SparkSession.builder.config(conf=conf).getOrCreate()\n" ] }, { "cell_type": "code", "execution_count": 4, "id": "50d86587", "metadata": { "scrolled": false, "slideshow": { "slide_type": "slide" } }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ " \r" ] }, { "data": { "text/html": [ " \n", " " ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "fillpattern": { "shape": "" }, "hovertemplate": "variable=sales
index=%{x}
value=%{y}", "legendgroup": "sales", "line": { "color": "#636efa" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "sales", "orientation": "v", "showlegend": true, "stackgroup": "1", "type": "scatter", "x": [ 0, 1, 2, 3, 4, 5 ], "xaxis": "x", "y": [ 3, 2, 3, 9, 10, 6 ], "yaxis": "y" } ], "layout": { "legend": { "title": { "text": "variable" }, "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { "anchor": "y", "domain": [ 0, 1 ], "title": { "text": "index" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "value" } } } }, "text/html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import pandas as pd\n", "df = ps.DataFrame({\n", " 'sales': [3, 2, 3, 9, 10, 6],\n", " 'signups': [5, 5, 6, 12, 14, 13],\n", " 'visits': [20, 42, 28, 62, 81, 50],\n", "})\n", "df.sales.plot.area() " ] }, { "cell_type": "code", "execution_count": 5, "id": "984c33c0", "metadata": { "slideshow": { "slide_type": "slide" } }, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "alignmentgroup": "True", "hovertemplate": "variable=speed
value=%{x}
index=%{y}", "legendgroup": "speed", "marker": { "color": "#636efa", "pattern": { "shape": "" } }, "name": "speed", "offsetgroup": "speed", "orientation": "h", "showlegend": true, "textposition": "auto", "type": "bar", "x": [ 0.1, 17.5, 40, 48, 52, 69, 88 ], "xaxis": "x", "y": [ "snail", "pig", "elephant", "rabbit", "giraffe", "coyote", "horse" ], "yaxis": "y" }, { "alignmentgroup": "True", "hovertemplate": "variable=lifespan
value=%{x}
index=%{y}", "legendgroup": "lifespan", "marker": { "color": "#EF553B", "pattern": { "shape": "" } }, "name": "lifespan", "offsetgroup": "lifespan", "orientation": "h", "showlegend": true, "textposition": "auto", "type": "bar", "x": [ 2, 8, 70, 1.5, 25, 12, 28 ], "xaxis": "x", "y": [ "snail", "pig", "elephant", "rabbit", "giraffe", "coyote", "horse" ], "yaxis": "y" } ], "layout": { "barmode": "relative", "legend": { "title": { "text": "variable" }, "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { "anchor": "y", "domain": [ 0, 1 ], "title": { "text": "value" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "index" } } } }, "text/html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "speed = [0.1, 17.5, 40, 48, 52, 69, 88]\n", "lifespan = [2, 8, 70, 1.5, 25, 12, 28]\n", "index = ['snail', 'pig', 'elephant',\n", " 'rabbit', 'giraffe', 'coyote', 'horse']\n", "df = ps.DataFrame({'speed': speed,\n", " 'lifespan': lifespan}, index=index)\n", "df.plot.barh() " ] }, { "cell_type": "code", "execution_count": 6, "id": "332ba540", "metadata": { "slideshow": { "slide_type": "slide" } }, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "23/06/08 17:14:21 WARN InstanceBuilder: Failed to load implementation from:dev.ludovic.netlib.blas.VectorBLAS\n" ] }, { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "hovertemplate": "names=x
index=%{x}
Density=%{y}", "legendgroup": "x", "line": { "color": "#636efa", "dash": "solid" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "x", "showlegend": true, "type": "scattergl", "x": [ -1.5, -1.48998998998999, -1.47997997997998, -1.46996996996997, -1.45995995995996, -1.44994994994995, -1.43993993993994, -1.42992992992993, -1.41991991991992, -1.40990990990991, -1.3998998998999, -1.38988988988989, -1.37987987987988, -1.36986986986987, -1.35985985985986, -1.34984984984985, -1.33983983983984, -1.32982982982983, -1.3198198198198199, -1.3098098098098099, -1.2997997997997999, -1.2897897897897899, -1.2797797797797799, -1.2697697697697699, -1.2597597597597598, -1.2497497497497498, -1.2397397397397398, -1.2297297297297298, -1.2197197197197198, -1.2097097097097098, -1.1996996996996998, -1.1896896896896898, -1.1796796796796798, -1.1696696696696698, -1.1596596596596598, -1.1496496496496498, -1.1396396396396398, -1.1296296296296298, -1.1196196196196198, -1.1096096096096097, -1.0995995995995997, -1.0895895895895895, -1.0795795795795795, -1.0695695695695695, -1.0595595595595595, -1.0495495495495495, -1.0395395395395395, -1.0295295295295295, -1.0195195195195195, -1.0095095095095095, -0.9994994994994995, -0.9894894894894894, -0.9794794794794794, -0.9694694694694694, -0.9594594594594594, -0.9494494494494494, -0.9394394394394394, -0.9294294294294294, -0.9194194194194194, -0.9094094094094094, -0.8993993993993994, -0.8893893893893894, -0.8793793793793794, -0.8693693693693694, -0.8593593593593594, -0.8493493493493494, -0.8393393393393394, -0.8293293293293293, -0.8193193193193193, -0.8093093093093093, -0.7992992992992993, -0.7892892892892893, -0.7792792792792793, -0.7692692692692693, -0.7592592592592593, -0.7492492492492493, -0.7392392392392393, -0.7292292292292293, -0.7192192192192193, -0.7092092092092093, -0.6991991991991993, -0.6891891891891891, -0.6791791791791791, -0.6691691691691691, -0.6591591591591591, -0.6491491491491491, -0.6391391391391391, -0.6291291291291291, -0.6191191191191191, -0.6091091091091091, -0.5990990990990991, -0.5890890890890891, -0.5790790790790791, -0.5690690690690691, -0.5590590590590591, -0.549049049049049, -0.539039039039039, -0.529029029029029, -0.519019019019019, -0.509009009009009, -0.4989989989989989, -0.4889889889889889, -0.4789789789789789, -0.4689689689689689, -0.4589589589589589, -0.4489489489489489, -0.43893893893893887, -0.42892892892892887, -0.41891891891891886, -0.40890890890890885, -0.39889889889889885, -0.38888888888888884, -0.37887887887887883, -0.3688688688688688, -0.3588588588588588, -0.3488488488488488, -0.3388388388388388, -0.3288288288288288, -0.3188188188188188, -0.3088088088088088, -0.2987987987987988, -0.2887887887887888, -0.27877877877877877, -0.26876876876876876, -0.25875875875875876, -0.24874874874874875, -0.23873873873873874, -0.22872872872872874, -0.21871871871871873, -0.20870870870870872, -0.19869869869869872, -0.1886886886886887, -0.1786786786786787, -0.1686686686686687, -0.1586586586586587, -0.14864864864864868, -0.13863863863863868, -0.12862862862862867, -0.11861861861861867, -0.10860860860860866, -0.09859859859859865, -0.08858858858858865, -0.07857857857857864, -0.06856856856856863, -0.05855855855855863, -0.04854854854854862, -0.038538538538538614, -0.028528528528528607, -0.0185185185185186, -0.008508508508508594, 0.0015015015015014122, 0.011511511511511419, 0.021521521521521425, 0.03153153153153143, 0.04154154154154144, 0.051551551551551444, 0.06156156156156145, 0.07157157157157146, 0.08158158158158146, 0.09159159159159147, 0.10160160160160148, 0.1116116116116117, 0.12162162162162171, 0.13163163163163172, 0.14164164164164172, 0.15165165165165173, 0.16166166166166174, 0.17167167167167174, 0.18168168168168175, 0.19169169169169176, 0.20170170170170176, 0.21171171171171177, 0.22172172172172178, 0.23173173173173178, 0.2417417417417418, 0.2517517517517518, 0.2617617617617618, 0.2717717717717718, 0.2817817817817818, 0.2917917917917918, 0.30180180180180183, 0.31181181181181183, 0.32182182182182184, 0.33183183183183185, 0.34184184184184185, 0.35185185185185186, 0.36186186186186187, 0.3718718718718719, 0.3818818818818819, 0.3918918918918919, 0.4019019019019019, 0.4119119119119119, 0.4219219219219219, 0.4319319319319319, 0.4419419419419419, 0.4519519519519519, 0.46196196196196193, 0.47197197197197194, 0.48198198198198194, 0.49199199199199195, 0.5020020020020022, 0.5120120120120122, 0.5220220220220222, 0.5320320320320322, 0.5420420420420422, 0.5520520520520522, 0.5620620620620622, 0.5720720720720722, 0.5820820820820822, 0.5920920920920922, 0.6021021021021022, 0.6121121121121122, 0.6221221221221223, 0.6321321321321323, 0.6421421421421423, 0.6521521521521523, 0.6621621621621623, 0.6721721721721723, 0.6821821821821823, 0.6921921921921923, 0.7022022022022023, 0.7122122122122123, 0.7222222222222223, 0.7322322322322323, 0.7422422422422423, 0.7522522522522523, 0.7622622622622623, 0.7722722722722724, 0.7822822822822824, 0.7922922922922924, 0.8023023023023024, 0.8123123123123124, 0.8223223223223224, 0.8323323323323324, 0.8423423423423424, 0.8523523523523524, 0.8623623623623624, 0.8723723723723724, 0.8823823823823824, 0.8923923923923924, 0.9024024024024024, 0.9124124124124124, 0.9224224224224224, 0.9324324324324325, 0.9424424424424425, 0.9524524524524525, 0.9624624624624625, 0.9724724724724725, 0.9824824824824825, 0.9924924924924925, 1.0025025025025025, 1.0125125125125125, 1.0225225225225225, 1.0325325325325325, 1.0425425425425425, 1.0525525525525525, 1.0625625625625625, 1.0725725725725725, 1.0825825825825826, 1.0925925925925926, 1.1026026026026026, 1.1126126126126126, 1.1226226226226226, 1.1326326326326326, 1.1426426426426426, 1.1526526526526526, 1.1626626626626626, 1.1726726726726726, 1.1826826826826826, 1.1926926926926926, 1.2027027027027026, 1.2127127127127126, 1.2227227227227226, 1.2327327327327327, 1.2427427427427427, 1.2527527527527527, 1.2627627627627627, 1.2727727727727727, 1.2827827827827827, 1.2927927927927927, 1.3028028028028027, 1.3128128128128127, 1.3228228228228227, 1.3328328328328327, 1.3428428428428427, 1.3528528528528527, 1.3628628628628627, 1.3728728728728727, 1.3828828828828827, 1.3928928928928928, 1.4029029029029028, 1.4129129129129128, 1.4229229229229228, 1.4329329329329328, 1.4429429429429428, 1.4529529529529528, 1.4629629629629628, 1.4729729729729728, 1.4829829829829828, 1.4929929929929928, 1.5030030030030028, 1.5130130130130128, 1.5230230230230228, 1.5330330330330328, 1.5430430430430429, 1.5530530530530529, 1.5630630630630629, 1.5730730730730729, 1.5830830830830829, 1.5930930930930929, 1.6031031031031029, 1.613113113113113, 1.623123123123123, 1.633133133133133, 1.643143143143143, 1.653153153153153, 1.663163163163163, 1.673173173173173, 1.683183183183183, 1.693193193193193, 1.703203203203203, 1.7132132132132134, 1.7232232232232234, 1.7332332332332334, 1.7432432432432434, 1.7532532532532534, 1.7632632632632634, 1.7732732732732734, 1.7832832832832834, 1.7932932932932935, 1.8033033033033035, 1.8133133133133135, 1.8233233233233235, 1.8333333333333335, 1.8433433433433435, 1.8533533533533535, 1.8633633633633635, 1.8733733733733735, 1.8833833833833835, 1.8933933933933935, 1.9034034034034035, 1.9134134134134135, 1.9234234234234235, 1.9334334334334335, 1.9434434434434436, 1.9534534534534536, 1.9634634634634636, 1.9734734734734736, 1.9834834834834836, 1.9934934934934936, 2.0035035035035036, 2.0135135135135136, 2.0235235235235236, 2.0335335335335336, 2.0435435435435436, 2.0535535535535536, 2.0635635635635636, 2.0735735735735736, 2.0835835835835836, 2.0935935935935936, 2.1036036036036037, 2.1136136136136137, 2.1236236236236237, 2.1336336336336337, 2.1436436436436437, 2.1536536536536537, 2.1636636636636637, 2.1736736736736737, 2.1836836836836837, 2.1936936936936937, 2.2037037037037037, 2.2137137137137137, 2.2237237237237237, 2.2337337337337337, 2.2437437437437437, 2.2537537537537538, 2.2637637637637638, 2.2737737737737738, 2.2837837837837838, 2.293793793793794, 2.303803803803804, 2.313813813813814, 2.323823823823824, 2.333833833833834, 2.343843843843844, 2.353853853853854, 2.363863863863864, 2.373873873873874, 2.383883883883884, 2.393893893893894, 2.403903903903904, 2.413913913913914, 2.423923923923924, 2.433933933933934, 2.443943943943944, 2.453953953953954, 2.463963963963964, 2.473973973973974, 2.483983983983984, 2.493993993993994, 2.5040040040040044, 2.5140140140140144, 2.5240240240240244, 2.5340340340340344, 2.5440440440440444, 2.5540540540540544, 2.5640640640640644, 2.5740740740740744, 2.5840840840840844, 2.5940940940940944, 2.6041041041041044, 2.6141141141141144, 2.6241241241241244, 2.6341341341341344, 2.6441441441441444, 2.6541541541541545, 2.6641641641641645, 2.6741741741741745, 2.6841841841841845, 2.6941941941941945, 2.7042042042042045, 2.7142142142142145, 2.7242242242242245, 2.7342342342342345, 2.7442442442442445, 2.7542542542542545, 2.7642642642642645, 2.7742742742742745, 2.7842842842842845, 2.7942942942942945, 2.8043043043043046, 2.8143143143143146, 2.8243243243243246, 2.8343343343343346, 2.8443443443443446, 2.8543543543543546, 2.8643643643643646, 2.8743743743743746, 2.8843843843843846, 2.8943943943943946, 2.9044044044044046, 2.9144144144144146, 2.9244244244244246, 2.9344344344344346, 2.9444444444444446, 2.9544544544544546, 2.9644644644644647, 2.9744744744744747, 2.9844844844844847, 2.9944944944944947, 3.0045045045045047, 3.0145145145145147, 3.0245245245245247, 3.0345345345345347, 3.0445445445445447, 3.0545545545545547, 3.0645645645645647, 3.0745745745745747, 3.0845845845845847, 3.0945945945945947, 3.1046046046046047, 3.1146146146146148, 3.1246246246246248, 3.1346346346346348, 3.1446446446446448, 3.1546546546546548, 3.164664664664665, 3.174674674674675, 3.184684684684685, 3.194694694694695, 3.204704704704705, 3.214714714714715, 3.224724724724725, 3.234734734734735, 3.244744744744745, 3.254754754754755, 3.264764764764765, 3.274774774774775, 3.284784784784785, 3.294794794794795, 3.304804804804805, 3.314814814814815, 3.324824824824825, 3.334834834834835, 3.344844844844845, 3.354854854854855, 3.364864864864865, 3.374874874874875, 3.384884884884885, 3.394894894894895, 3.404904904904905, 3.414914914914915, 3.424924924924925, 3.434934934934935, 3.444944944944945, 3.454954954954955, 3.464964964964965, 3.474974974974975, 3.484984984984985, 3.494994994994995, 3.505005005005005, 3.515015015015015, 3.525025025025025, 3.535035035035035, 3.545045045045045, 3.555055055055055, 3.565065065065065, 3.575075075075075, 3.585085085085085, 3.595095095095095, 3.605105105105105, 3.615115115115115, 3.625125125125125, 3.635135135135135, 3.645145145145145, 3.655155155155155, 3.665165165165165, 3.675175175175175, 3.685185185185185, 3.695195195195195, 3.705205205205205, 3.715215215215215, 3.725225225225225, 3.735235235235235, 3.745245245245245, 3.755255255255255, 3.765265265265265, 3.775275275275275, 3.785285285285285, 3.795295295295295, 3.805305305305305, 3.815315315315315, 3.825325325325325, 3.835335335335335, 3.8453453453453452, 3.8553553553553552, 3.8653653653653652, 3.8753753753753752, 3.8853853853853852, 3.8953953953953953, 3.9054054054054053, 3.9154154154154153, 3.9254254254254253, 3.9354354354354353, 3.9454454454454453, 3.9554554554554553, 3.9654654654654653, 3.9754754754754753, 3.9854854854854853, 3.9954954954954953, 4.005505505505505, 4.015515515515515, 4.025525525525525, 4.035535535535535, 4.045545545545545, 4.055555555555555, 4.065565565565565, 4.075575575575575, 4.085585585585585, 4.095595595595595, 4.105605605605605, 4.115615615615615, 4.125625625625625, 4.135635635635635, 4.145645645645645, 4.155655655655655, 4.165665665665665, 4.175675675675675, 4.185685685685685, 4.1956956956956954, 4.2057057057057055, 4.2157157157157155, 4.2257257257257255, 4.2357357357357355, 4.2457457457457455, 4.2557557557557555, 4.2657657657657655, 4.2757757757757755, 4.2857857857857855, 4.2957957957957955, 4.3058058058058055, 4.3158158158158155, 4.3258258258258255, 4.3358358358358355, 4.3458458458458455, 4.3558558558558556, 4.365865865865866, 4.375875875875876, 4.385885885885886, 4.395895895895896, 4.405905905905906, 4.415915915915916, 4.425925925925926, 4.435935935935936, 4.445945945945946, 4.455955955955956, 4.465965965965966, 4.475975975975976, 4.485985985985986, 4.495995995995996, 4.506006006006006, 4.516016016016016, 4.526026026026026, 4.536036036036036, 4.546046046046046, 4.556056056056056, 4.566066066066066, 4.576076076076076, 4.586086086086086, 4.596096096096096, 4.606106106106106, 4.616116116116116, 4.626126126126126, 4.636136136136136, 4.646146146146146, 4.656156156156156, 4.666166166166166, 4.676176176176176, 4.686186186186186, 4.696196196196196, 4.706206206206206, 4.716216216216216, 4.726226226226226, 4.736236236236236, 4.746246246246246, 4.756256256256256, 4.766266266266266, 4.776276276276276, 4.786286286286286, 4.796296296296296, 4.806306306306306, 4.816316316316316, 4.826326326326326, 4.836336336336336, 4.846346346346346, 4.856356356356356, 4.866366366366366, 4.876376376376376, 4.886386386386386, 4.896396396396396, 4.906406406406406, 4.916416416416417, 4.926426426426427, 4.936436436436437, 4.946446446446447, 4.956456456456457, 4.966466466466467, 4.976476476476477, 4.986486486486487, 4.996496496496497, 5.006506506506507, 5.016516516516517, 5.026526526526527, 5.036536536536537, 5.046546546546547, 5.056556556556557, 5.066566566566567, 5.076576576576577, 5.086586586586587, 5.096596596596597, 5.106606606606607, 5.116616616616617, 5.126626626626627, 5.136636636636637, 5.146646646646647, 5.156656656656657, 5.166666666666667, 5.176676676676677, 5.186686686686687, 5.196696696696697, 5.206706706706707, 5.216716716716717, 5.226726726726727, 5.236736736736737, 5.246746746746747, 5.256756756756757, 5.266766766766767, 5.276776776776777, 5.286786786786787, 5.296796796796797, 5.306806806806807, 5.316816816816817, 5.326826826826827, 5.336836836836837, 5.346846846846847, 5.356856856856857, 5.366866866866867, 5.376876876876877, 5.386886886886887, 5.396896896896897, 5.406906906906907, 5.416916916916917, 5.426926926926927, 5.436936936936937, 5.446946946946947, 5.456956956956957, 5.466966966966967, 5.476976976976977, 5.486986986986987, 5.496996996996997, 5.507007007007007, 5.517017017017017, 5.527027027027027, 5.537037037037037, 5.547047047047047, 5.557057057057057, 5.567067067067067, 5.577077077077077, 5.587087087087087, 5.597097097097097, 5.607107107107107, 5.617117117117117, 5.627127127127127, 5.637137137137137, 5.647147147147147, 5.657157157157157, 5.667167167167167, 5.677177177177177, 5.687187187187187, 5.697197197197197, 5.707207207207207, 5.717217217217217, 5.727227227227227, 5.737237237237237, 5.747247247247247, 5.757257257257257, 5.767267267267267, 5.777277277277277, 5.787287287287287, 5.797297297297297, 5.807307307307307, 5.817317317317317, 5.827327327327327, 5.837337337337337, 5.847347347347347, 5.857357357357357, 5.867367367367367, 5.877377377377377, 5.887387387387387, 5.897397397397397, 5.907407407407407, 5.9174174174174174, 5.9274274274274275, 5.9374374374374375, 5.9474474474474475, 5.9574574574574575, 5.9674674674674675, 5.9774774774774775, 5.9874874874874875, 5.9974974974974975, 6.0075075075075075, 6.0175175175175175, 6.0275275275275275, 6.0375375375375375, 6.0475475475475475, 6.0575575575575575, 6.0675675675675675, 6.0775775775775776, 6.087587587587588, 6.097597597597598, 6.107607607607608, 6.117617617617618, 6.127627627627628, 6.137637637637638, 6.147647647647648, 6.157657657657658, 6.167667667667668, 6.177677677677678, 6.187687687687688, 6.197697697697698, 6.207707707707708, 6.217717717717718, 6.227727727727728, 6.237737737737738, 6.247747747747748, 6.257757757757758, 6.267767767767768, 6.277777777777778, 6.287787787787788, 6.297797797797798, 6.307807807807808, 6.317817817817818, 6.327827827827828, 6.337837837837838, 6.347847847847848, 6.357857857857858, 6.367867867867868, 6.377877877877878, 6.387887887887888, 6.397897897897898, 6.407907907907908, 6.417917917917918, 6.427927927927928, 6.437937937937938, 6.447947947947948, 6.457957957957958, 6.467967967967968, 6.477977977977978, 6.487987987987988, 6.497997997997998, 6.508008008008009, 6.518018018018019, 6.528028028028029, 6.538038038038039, 6.548048048048049, 6.558058058058059, 6.568068068068069, 6.578078078078079, 6.588088088088089, 6.598098098098099, 6.608108108108109, 6.618118118118119, 6.628128128128129, 6.638138138138139, 6.648148148148149, 6.658158158158159, 6.668168168168169, 6.678178178178179, 6.688188188188189, 6.698198198198199, 6.708208208208209, 6.718218218218219, 6.728228228228229, 6.738238238238239, 6.748248248248249, 6.758258258258259, 6.768268268268269, 6.778278278278279, 6.788288288288289, 6.798298298298299, 6.808308308308309, 6.818318318318319, 6.828328328328329, 6.838338338338339, 6.848348348348349, 6.858358358358359, 6.868368368368369, 6.878378378378379, 6.888388388388389, 6.898398398398399, 6.908408408408409, 6.918418418418419, 6.928428428428429, 6.938438438438439, 6.948448448448449, 6.958458458458459, 6.968468468468469, 6.978478478478479, 6.988488488488489, 6.998498498498499, 7.008508508508509, 7.018518518518519, 7.028528528528529, 7.038538538538539, 7.048548548548549, 7.058558558558559, 7.068568568568569, 7.078578578578579, 7.088588588588589, 7.098598598598599, 7.108608608608609, 7.118618618618619, 7.128628628628629, 7.138638638638639, 7.148648648648649, 7.158658658658659, 7.168668668668669, 7.178678678678679, 7.188688688688689, 7.198698698698699, 7.208708708708709, 7.218718718718719, 7.228728728728729, 7.238738738738739, 7.248748748748749, 7.258758758758759, 7.268768768768769, 7.278778778778779, 7.288788788788789, 7.298798798798799, 7.308808808808809, 7.318818818818819, 7.328828828828829, 7.338838838838839, 7.348848848848849, 7.358858858858859, 7.368868868868869, 7.378878878878879, 7.388888888888889, 7.398898898898899, 7.408908908908909, 7.418918918918919, 7.428928928928929, 7.438938938938939, 7.448948948948949, 7.458958958958959, 7.468968968968969, 7.478978978978979, 7.488988988988989, 7.498998998998999, 7.509009009009009, 7.519019019019019, 7.529029029029029, 7.539039039039039, 7.549049049049049, 7.559059059059059, 7.569069069069069, 7.579079079079079, 7.589089089089089, 7.599099099099099, 7.609109109109109, 7.619119119119119, 7.629129129129129, 7.6391391391391394, 7.6491491491491495, 7.6591591591591595, 7.6691691691691695, 7.6791791791791795, 7.6891891891891895, 7.6991991991991995, 7.7092092092092095, 7.7192192192192195, 7.7292292292292295, 7.7392392392392395, 7.7492492492492495, 7.7592592592592595, 7.7692692692692695, 7.7792792792792795, 7.7892892892892895, 7.7992992992992995, 7.8093093093093096, 7.81931931931932, 7.82932932932933, 7.83933933933934, 7.84934934934935, 7.85935935935936, 7.86936936936937, 7.87937937937938, 7.88938938938939, 7.8993993993994, 7.90940940940941, 7.91941941941942, 7.92942942942943, 7.93943943943944, 7.94944944944945, 7.95945945945946, 7.96946946946947, 7.97947947947948, 7.98948948948949, 7.9994994994995, 8.00950950950951, 8.01951951951952, 8.02952952952953, 8.03953953953954, 8.04954954954955, 8.05955955955956, 8.06956956956957, 8.07957957957958, 8.08958958958959, 8.0995995995996, 8.10960960960961, 8.11961961961962, 8.12962962962963, 8.13963963963964, 8.14964964964965, 8.15965965965966, 8.16966966966967, 8.17967967967968, 8.18968968968969, 8.1996996996997, 8.20970970970971, 8.21971971971972, 8.22972972972973, 8.23973973973974, 8.24974974974975, 8.25975975975976, 8.26976976976977, 8.27977977977978, 8.28978978978979, 8.2997997997998, 8.30980980980981, 8.31981981981982, 8.32982982982983, 8.33983983983984, 8.34984984984985, 8.35985985985986, 8.36986986986987, 8.37987987987988, 8.38988988988989, 8.3998998998999, 8.40990990990991, 8.41991991991992, 8.42992992992993, 8.43993993993994, 8.44994994994995, 8.45995995995996, 8.46996996996997, 8.47997997997998, 8.48998998998999, 8.5 ], "xaxis": "x", "y": [ 0.04711329319830507, 0.047315007004490116, 0.047517126666803175, 0.047719650052376064, 0.04792257500794946, 0.048125899359869856, 0.04832962091408744, 0.04853373745615497, 0.04873824675122751, 0.04894314654406322, 0.04914843455902508, 0.049354108500083545, 0.0495601660508202, 0.04976660487443241, 0.04997342261373888, 0.050180616891186317, 0.05038818530885693, 0.050596125448476977, 0.05080443487142641, 0.0510131111187493, 0.05122215171116549, 0.05143155414908302, 0.051641315912611806, 0.05185143446157812, 0.05206190723554014, 0.05227273165380461, 0.05248390511544436, 0.05269542499931699, 0.052907288664084465, 0.0531194934482338, 0.053332036670098754, 0.053544915627882606, 0.053758127599681835, 0.05397166984351096, 0.05418553959732839, 0.0543997340790633, 0.0546142504866435, 0.05482908599802451, 0.05504423777121946, 0.05525970294433028, 0.0554754786355797, 0.055691561943344535, 0.05590794994618986, 0.056124639702904294, 0.05634162825253645, 0.056558912614432216, 0.056776489788273335, 0.056994356754116966, 0.0572125104724362, 0.05743094788416189, 0.057649665910725297, 0.057868661454101994, 0.05808793139685673, 0.05830747260218948, 0.05852728191398241, 0.05874735615684814, 0.05896769213617883, 0.05918828663819657, 0.05940913643000481, 0.059630238259640686, 0.05985158885612871, 0.06007318492953525, 0.06029502317102445, 0.06051710025291491, 0.06073941282873753, 0.06096195753329466, 0.06118473098272, 0.06140772977453987, 0.061630950487735446, 0.06185438968280596, 0.06207804390183336, 0.06230190966854757, 0.06252598348839335, 0.06275026184859776, 0.06297474121823905, 0.06319941804831657, 0.06342428877182162, 0.06364934980380961, 0.06387459754147312, 0.06410002836421615, 0.06432563863372948, 0.06455142469406697, 0.06477738287172312, 0.06500350947571164, 0.06522980079764511, 0.06545625311181567, 0.06568286267527687, 0.06590962572792665, 0.0661365384925912, 0.06636359717511009, 0.06659079796442248, 0.06681813703265421, 0.06704561053520622, 0.06727321461084383, 0.06750094538178726, 0.06772879895380311, 0.06795677141629695, 0.068184858842407, 0.06841305728909884, 0.06864136279726113, 0.06886977139180263, 0.06909827908174991, 0.06932688186034644, 0.0695555757051526, 0.06978435657814673, 0.07001322042582724, 0.07024216317931581, 0.0704711807544617, 0.0707002690519469, 0.0709294239573924, 0.07115864134146575, 0.0713879170599892, 0.0716172469540493, 0.07184662685010719, 0.07207605256011028, 0.07230551988160448, 0.07253502459784794, 0.07276456247792552, 0.07299412927686427, 0.07322372073575006, 0.07345333258184518, 0.07368296052870675, 0.07391260027630651, 0.0741422475111512, 0.07437189790640421, 0.07460154712200816, 0.0748311908048083, 0.07506082458867717, 0.07529044409463996, 0.07552004493100112, 0.07574962269347157, 0.07597917296529738, 0.07620869131738885, 0.07643817330845096, 0.07666761448511461, 0.07689701038206882, 0.07712635652219389, 0.07735564841669536, 0.07758488156523924, 0.07781405145608776, 0.07804315356623628, 0.07827218336155113, 0.07850113629690826, 0.0787300078163328, 0.07895879335313952, 0.0791874883300744, 0.07941608815945668, 0.07964458824332223, 0.07987298397356742, 0.08010127073209415, 0.08032944389095563, 0.08055749881250295, 0.08078543084953263, 0.08101323534543502, 0.0812409076343434, 0.08146844304128407, 0.0816958368823273, 0.08192308446473878, 0.08215018108713242, 0.08237712203962345, 0.08260390260398269, 0.08283051805379145, 0.08305696365459717, 0.08328323466407006, 0.0835093263321603, 0.08373523390125615, 0.08396095260634275, 0.08418647767516176, 0.08441180432837166, 0.08463692777970881, 0.08486184323614943, 0.08508654589807195, 0.08531103095942043, 0.08553529360786852, 0.08575932902498422, 0.0859831323863952, 0.08620669886195496, 0.08643002361590968, 0.08665310180706558, 0.08687592858895708, 0.08709849911001578, 0.0873208085137397, 0.08754285193886352, 0.08776462451952928, 0.08798612138545783, 0.08820733766212077, 0.08842826847091312, 0.08864890892932656, 0.08886925415112323, 0.08908929924651024, 0.08930903932231449, 0.08952846948215853, 0.08974758482663645, 0.08996638045349079, 0.09018485145778969, 0.09040299293210466, 0.09062079996668905, 0.09083826764965676, 0.09105539106716168, 0.09127216530357757, 0.09148858544167843, 0.09170464656281932, 0.09192034374711769, 0.09213567207363532, 0.0923506266205604, 0.09256520246539038, 0.0927793946851151, 0.09299319835640041, 0.09320660855577202, 0.0934196203598003, 0.09363222884528466, 0.09384442908943924, 0.0940562161700781, 0.0942675851658016, 0.09447853115618246, 0.09468904922195273, 0.09489913444519063, 0.0951087819095082, 0.09531798670023876, 0.09552674390462526, 0.09573504861200838, 0.09594289591401539, 0.09615028090474897, 0.09635719868097649, 0.09656364434231957, 0.09676961299144367, 0.09697509973424835, 0.09718009968005725, 0.09738460794180874, 0.09758861963624654, 0.09779212988411068, 0.09799513381032848, 0.09819762654420602, 0.09839960321961945, 0.09860105897520666, 0.09880198895455913, 0.09900238830641378, 0.09920225218484509, 0.09940157574945735, 0.09960035416557683, 0.09979858260444427, 0.09999625624340752, 0.10019337026611387, 0.10038991986270296, 0.10058590022999936, 0.10078130657170542, 0.10097613409859407, 0.10117037802870166, 0.10136403358752091, 0.10155709600819367, 0.10174956053170384, 0.10194142240707033, 0.10213267689153974, 0.10232331925077938, 0.10251334475906981, 0.10270274869949764, 0.10289152636414824, 0.10307967305429827, 0.10326718408060809, 0.10345405476331407, 0.1036402804324212, 0.10382585642789477, 0.10401077809985278, 0.10419504080875756, 0.1043786399256076, 0.10456157083212902, 0.10474382892096705, 0.1049254095958772, 0.1051063082719161, 0.10528652037563253, 0.10546604134525778, 0.10564486663089605, 0.10582299169471455, 0.10600041201113343, 0.1061771230670151, 0.10635312036185385, 0.10652839940796456, 0.10670295573067168, 0.10687678486849744, 0.10704988237335009, 0.10722224381071155, 0.10739386475982489, 0.1075647408138814, 0.1077348675802073, 0.10790424068045006, 0.10807285575076431, 0.10824070844199749, 0.10840779441987494, 0.10857410936518459, 0.1087396489739614, 0.10890440895767108, 0.10906838504339358, 0.10923157297400599, 0.10939396850836518, 0.10955556742148956, 0.10971636550474075, 0.10987635856600456, 0.1100355424298715, 0.11019391293781661, 0.11035146594837911, 0.11050819733734102, 0.11066410299790576, 0.11081917884087562, 0.11097342079482926, 0.11112682480629792, 0.11127938683994168, 0.11143110287872483, 0.11158196892409042, 0.1117319809961346, 0.11188113513377997, 0.11202942739494842, 0.11217685385673333, 0.11232341061557105, 0.1124690937874117, 0.11261389950788922, 0.11275782393249091, 0.11290086323672588, 0.11304301361629339, 0.1131842712872497, 0.1133246324861747, 0.11346409347033772, 0.11360265051786235, 0.11374029992789066, 0.11387703802074667, 0.11401286113809884, 0.11414776564312203, 0.11428174792065818, 0.11441480437737679, 0.11454693144193406, 0.11467812556513132, 0.11480838322007277, 0.11493770090232215, 0.11506607513005863, 0.11519350244423174, 0.1153199794087156, 0.11544550261046202, 0.11557006865965273, 0.11569367418985078, 0.11581631585815103, 0.11593799034532956, 0.11605869435599214, 0.11617842461872198, 0.11629717788622612, 0.11641495093548124, 0.1165317405678781, 0.11664754360936538, 0.11676235691059224, 0.1168761773470498, 0.11698900181921196, 0.11710082725267491, 0.11721165059829543, 0.11732146883232875, 0.11743027895656466, 0.11753807799846294, 0.11764486301128778, 0.11775063107424073, 0.1178553792925931, 0.11795910479781659, 0.11806180474771358, 0.1181634763265456, 0.11826411674516117, 0.11836372324112224, 0.1184622930788296, 0.11855982354964711, 0.1186563119720248, 0.11875175569162072, 0.11884615208142174, 0.11893949854186311, 0.11903179250094688, 0.11912303141435893, 0.11921321276558507, 0.1193023340660259, 0.11939039285511022, 0.11947738670040735, 0.11956331319773833, 0.11964816997128581, 0.11973195467370251, 0.11981466498621886, 0.11989629861874875, 0.11997685330999465, 0.12005632682755124, 0.1201347169680074, 0.1202120215570475, 0.12028823844955099, 0.12036336552969089, 0.12043740071103096, 0.12051034193662122, 0.12058218717909294, 0.12065293444075136, 0.12072258175366772, 0.12079112717976982, 0.12085856881093117, 0.12092490476905873, 0.12099013320617942, 0.12105425230452542, 0.12111726027661755, 0.1211791553653481, 0.12123993584406151, 0.1212996000166342, 0.12135814621755274, 0.12141557281199071, 0.12147187819588434, 0.12152706079600636, 0.12158111907003888, 0.12163405150664448, 0.12168585662553622, 0.12173653297754601, 0.12178607914469165, 0.12183449374024251, 0.1218817754087835, 0.12192792282627803, 0.12197293470012915, 0.12201680976923956, 0.12205954680406983, 0.12210114460669558, 0.12214160201086284, 0.12218091788204219, 0.12221909111748132, 0.12225612064625617, 0.12229200542932062, 0.12232674445955471, 0.12236033676181132, 0.1223927813929615, 0.12242407744193808, 0.12245422402977825, 0.12248322030966405, 0.12251106546696196, 0.1225377587192606, 0.12256329931640711, 0.12258768654054197, 0.12261091970613247, 0.12263299816000432, 0.12265392128137238, 0.12267368848186919, 0.12269229920557245, 0.12270975292903087, 0.12272604916128854, 0.12274118744390768, 0.12275516735099004, 0.12276798848919665, 0.12277965049776608, 0.12279015304853137, 0.12279949584593522, 0.12280767862704361, 0.1228147011615583, 0.12282056325182726, 0.12282526473285404, 0.12282880547230551, 0.1228311853705178, 0.1228324043605011, 0.12283246240794271, 0.12283135951120873, 0.12282909570134397, 0.12282567104207062, 0.12282108562978536, 0.12281533959355466, 0.12280843309510897, 0.12280036632883509, 0.12279113952176716, 0.1227807529335761, 0.12276920685655753, 0.12275650161561805, 0.12274263756826043, 0.1227276151045666, 0.12271143464717985, 0.1226940966512848, 0.12267560160458671, 0.12265595002728835, 0.12263514247206601, 0.12261317952404387, 0.12259006180076662, 0.12256578995217088, 0.122540364660555, 0.12251378664054724, 0.12248605663907272, 0.12245717543531859, 0.12242714384069782, 0.12239596269881159, 0.12236363288541016, 0.12233015530835208, 0.12229553090756207, 0.12225976065498742, 0.12222284555455294, 0.12218478664211427, 0.12214558498540988, 0.1221052416840115, 0.12206375786927319, 0.1220211347042789, 0.12197737338378846, 0.12193247513418226, 0.1218864412134045, 0.1218392729109048, 0.12179097154757851, 0.12174153847570564, 0.12169097507888821, 0.12163928277198616, 0.12158646300105196, 0.12153251724326375, 0.12147744700685699, 0.12142125383105476, 0.12136393928599654, 0.12130550497266587, 0.12124595252281625, 0.12118528359889581, 0.12112349989397062, 0.1210606031316466, 0.12099659506598995, 0.12093147748144628, 0.12086525219275836, 0.12079792104488249, 0.12072948591290363, 0.12065994870194888, 0.12058931134709983, 0.12051757581330362, 0.12044474409528245, 0.12037081821744203, 0.1202958002337782, 0.12021969222778302, 0.12014249631234875, 0.12006421462967093, 0.1199848493511502, 0.11990440267729259, 0.11982287683760859, 0.11974027409051127, 0.11965659672321238, 0.11957184705161805, 0.11948602742022255, 0.1193991402020011, 0.11931118779830142, 0.11922217263873398, 0.11913209718106095, 0.11904096391108404, 0.11894877534253114, 0.11885553401694145, 0.11876124250354994, 0.1186659033991699, 0.11856951932807494, 0.11847209294187966, 0.11837362691941862, 0.11827412396662486, 0.1181735868164069, 0.11807201822852448, 0.11796942098946347, 0.1178657979123093, 0.1177611518366195, 0.1176554856282951, 0.11754880217945063, 0.1174411044082835, 0.11733239525894175, 0.11722267770139122, 0.11711195473128114, 0.11700022936980904, 0.1168875046635843, 0.11677378368449105, 0.11665906952954938, 0.11654336532077614, 0.11642667420504434, 0.11630899935394173, 0.11619034396362812, 0.116070711254692, 0.11595010447200584, 0.11582852688458062, 0.1157059817854195, 0.11558247249137006, 0.11545800234297605, 0.11533257470432802, 0.11520619296291283, 0.11507886052946255, 0.1149505808378022, 0.11482135734469665, 0.11469119352969674, 0.11456009289498409, 0.11442805896521566, 0.11429509528736684, 0.11416120543057409, 0.11402639298597643, 0.11389066156655622, 0.11375401480697929, 0.11361645636343368, 0.11347798991346833, 0.11333861915583024, 0.11319834781030136, 0.11305717961753438, 0.11291511833888787, 0.11277216775626064, 0.11262833167192537, 0.11248361390836141, 0.11233801830808689, 0.11219154873349006, 0.11204420906666016, 0.11189600320921707, 0.11174693508214087, 0.11159700862560021, 0.11144622779878037, 0.11129459657971034, 0.11114211896508953, 0.11098879897011371, 0.11083464062830024, 0.11067964799131286, 0.11052382512878564, 0.11036717612814657, 0.11020970509444042, 0.11005141615015093, 0.10989231343502272, 0.10973240110588234, 0.10957168333645897, 0.1094101643172044, 0.1092478482551128, 0.10908473937353949, 0.10892084191201969, 0.10875616012608655, 0.10859069828708863, 0.10842446068200697, 0.1082574516132719, 0.10808967539857903, 0.10792113637070504, 0.10775183887732309, 0.10758178728081753, 0.10741098595809861, 0.10723943930041631, 0.10706715171317428, 0.10689412761574305, 0.10672037144127294, 0.10654588763650687, 0.1063706806615924, 0.10619475498989385, 0.10601811510780375, 0.10584076551455436, 0.10566271072202853, 0.10548395525457045, 0.10530450364879614, 0.10512436045340365, 0.10494353022898298, 0.1047620175478256, 0.10457982699373432, 0.10439696316183207, 0.10421343065837127, 0.1040292341005424, 0.10384437811628286, 0.10365886734408532, 0.10347270643280601, 0.10328590004147294, 0.10309845283909386, 0.10291036950446406, 0.10272165472597429, 0.10253231320141815, 0.10234234963779988, 0.10215176875114158, 0.10196057526629072, 0.10176877391672748, 0.1015763694443718, 0.10138336659939062, 0.1011897701400053, 0.10099558483229842, 0.10080081545002101, 0.10060546677439981, 0.10040954359394422, 0.10021305070425346, 0.10001599290782393, 0.09981837501385611, 0.09962020183806217, 0.09942147820247298, 0.09922220893524578, 0.09902239887047144, 0.09882205284798222, 0.09862117571315926, 0.09841977231674054, 0.09821784751462866, 0.09801540616769905, 0.09781245314160793, 0.0976089933066009, 0.09740503153732136, 0.09720057271261917, 0.09699562171535951, 0.09679018343223214, 0.09658426275356043, 0.09637786457311108, 0.0961709937879037, 0.0959636552980209, 0.09575585400641834, 0.09554759481873543, 0.09533888264310586, 0.09512972238996871, 0.09492011897187992, 0.09471007730332351, 0.09449960230052383, 0.09428869888125771, 0.09407737196466692, 0.09386562647107116, 0.09365346732178134, 0.09344089943891301, 0.09322792774520051, 0.0930145571638112, 0.09280079261816024, 0.09258663903172566, 0.09237210132786397, 0.09215718442962598, 0.09194189325957325, 0.09172623273959486, 0.09151020779072466, 0.09129382333295895, 0.09107708428507455, 0.09085999556444753, 0.09064256208687224, 0.09042478876638091, 0.0902066805150637, 0.08998824224288926, 0.08976947885752593, 0.08955039526416327, 0.08933099636533415, 0.08911128706073758, 0.0888912722470618, 0.08867095681780827, 0.08845034566311577, 0.08822944366958553, 0.08800825572010666, 0.08778678669368228, 0.08756504146525622, 0.0873430249055403, 0.08712074188084235, 0.0868981972528946, 0.08667539587868305, 0.08645234261027712, 0.08622904229466026, 0.086005499773561, 0.08578171988328472, 0.08555770745454618, 0.08533346731230255, 0.08510900427558739, 0.08488432315734501, 0.0846594287642658, 0.08443432589662206, 0.08420901934810476, 0.08398351390566083, 0.08375781434933123, 0.08353192545208989, 0.08330585197968314, 0.08307959869047025, 0.08285317033526436, 0.08262657165717437, 0.08239980739144753, 0.08217288226531304, 0.08194580099782593, 0.08171856829971243, 0.08149118887321542, 0.08126366741194116, 0.08103600860070677, 0.08080821711538834, 0.08058029762277003, 0.08035225478039397, 0.0801240932364109, 0.07989581762943183, 0.07966743258838041, 0.07943894273234621, 0.07921035267043879, 0.07898166700164272, 0.0787528903146736, 0.07852402718783452, 0.07829508218887395, 0.07806605987484415, 0.07783696479196055, 0.0776078014754621, 0.07737857444947259, 0.07714928822686261, 0.0769199473091127, 0.07669055618617732, 0.07646111933634973, 0.07623164122612776, 0.07600212631008073, 0.07577257903071691, 0.0755430038183524, 0.07531340509098065, 0.07508378725414291, 0.07485415470079991, 0.07462451181120418, 0.07439486295277364, 0.07416521247996587, 0.07393556473415357, 0.07370592404350101, 0.07347629472284123, 0.07324668107355446, 0.07301708738344746, 0.07278751792663386, 0.07255797696341543, 0.0723284687401645, 0.07209899748920724, 0.07186956742870798, 0.07164018276255467, 0.0714108476802452, 0.07118156635677479, 0.07095234295252445, 0.07072318161315037, 0.07049408646947451, 0.07026506163737604, 0.07003611121768384, 0.06980723929607019, 0.06957844994294538, 0.06934974721335319, 0.06912113514686803, 0.06889261776749223, 0.06866419908355513, 0.06843588308761295, 0.06820767375634963, 0.06797957505047884, 0.06775159091464701, 0.06752372527733745, 0.0672959820507756, 0.06706836513083513, 0.06684087839694529, 0.06661352571199937, 0.06638631092226405, 0.06615923785728996, 0.06593231032982322, 0.0657055321357182, 0.06547890705385119, 0.06525243884603527, 0.06502613125693615, 0.06479998801398927, 0.06457401282731774, 0.06434820938965159, 0.06412258137624796, 0.06389713244481235, 0.06367186623542122, 0.06344678637044525, 0.06322189645447407, 0.06299720007424191, 0.06277270079855427, 0.06254840217821585, 0.06232430774595943, 0.06210042101637593, 0.06187674548584547, 0.06165328463246962, 0.06143004191600463, 0.061207020777795905, 0.06098422464071329, 0.060761656909087865, 0.06053932096864938, 0.060317220186465126, 0.060095357910879665, 0.059873737471455836, 0.05965236217891663, 0.05943123532508841, 0.05921036018284495, 0.05898974000605278, 0.058769378029517524, 0.05854927746893126, 0.058329441520821076, 0.05810987336249869, 0.05789057615201103, 0.05767155302809206, 0.05745280711011559, 0.05723434149804916, 0.057016159272409085, 0.05679826349421642, 0.056580657204954164, 0.05636334342652542, 0.05614632516121271, 0.05592960539163829, 0.05571318708072554, 0.055497073171661505, 0.05528126658786033, 0.05506577023292794, 0.05485058699062774, 0.054635719724847154, 0.05442117127956558, 0.054206944478823134, 0.05399304212669051, 0.053779467007239984, 0.05356622188451729, 0.053353309502514684, 0.053140732585145026, 0.05292849383621681, 0.05271659593941037, 0.052505041558255, 0.052293833336107175, 0.052082973896129744, 0.05187246584127228, 0.05166231175425223, 0.05145251419753733, 0.051243075713328826, 0.05103399882354584, 0.05082528602981075, 0.05061693981343552, 0.05040896263540899, 0.05020135693638533, 0.04999412513667334, 0.04978726963622679, 0.0495807928146358, 0.049374697031119186, 0.04916898462451769, 0.0489636579132884, 0.04875871919549991, 0.048554170748828625, 0.04835001483055601, 0.04814625367756674, 0.04794288950634784, 0.04773992451298881, 0.04753736087318272, 0.047335200742228176, 0.04713344625503234, 0.04693209952611479, 0.0467311626496124, 0.046530637699285095, 0.046330526728522635, 0.04613083177035214, 0.04593155483744678, 0.04573269792213516, 0.04553426299641181, 0.045336252011948415, 0.04513866690010606, 0.04494150957194837, 0.04474478191825547, 0.04454848580953894, 0.044352623096057586, 0.04415719560783411, 0.043962205154672675, 0.043767653526177314, 0.04357354249177128, 0.04337987380071714, 0.0431866491821378, 0.04299387034503846, 0.04280153897832925, 0.04260965675084885, 0.0424182253113889, 0.04222724628871918, 0.04203672129161378, 0.04184665190887796, 0.04165703970937586, 0.04146788624205904, 0.041279193035995844, 0.041090961600401536, 0.04090319342466924, 0.04071588997840171, 0.04052905271144386, 0.04034268305391604, 0.040156782416248205, 0.039971352189214715, 0.03978639374396999, 0.03960190843208497, 0.039417897585584186, 0.03923436251698367, 0.03905130451932972, 0.03886872486623815, 0.03868662481193453, 0.03850500559129497, 0.038323868419887795, 0.03814321449401571, 0.03796304499075897, 0.03778336106801896, 0.03760416386456276, 0.037425454500068144, 0.03724723407516945, 0.03706950367150408, 0.03689226435175965, 0.03671551715972185, 0.036539263120322955, 0.03636350323969102, 0.03618823850519968, 0.03601346988551865, 0.03583919833066487, 0.03566542477205425, 0.035492150122554016, 0.03531937527653587, 0.03514710110992952, 0.034975328480276964, 0.034804058226787386, 0.034633291170392606, 0.03446302811380317, 0.03429326984156497, 0.03412401712011656, 0.0339552706978469, 0.033787031305153814, 0.03361929965450292, 0.033452076440487206, 0.03328536233988706, 0.03311915801173091, 0.03295346409735645, 0.032788281220472275, 0.032623609987220185, 0.03245945098623794, 0.032295804788722515, 0.03213267194849398, 0.03197005300205969, 0.03180794846867923, 0.031646358850429594, 0.031485284632271064, 0.03132472628211346, 0.03116468425088288, 0.031005158972588938, 0.030846150864392456, 0.030687660326673583, 0.030529687743100428, 0.030372233480698077, 0.030215297889918113, 0.0300588813047085, 0.02990298404258394, 0.029747606404696682, 0.029592748675907617, 0.029438411124857986, 0.029284594004041282 ], "yaxis": "y" }, { "hovertemplate": "names=y
index=%{x}
Density=%{y}", "legendgroup": "y", "line": { "color": "#EF553B", "dash": "solid" }, "marker": { "symbol": "circle" }, "mode": "lines", "name": "y", "showlegend": true, "type": "scattergl", "x": [ -1.5, -1.48998998998999, -1.47997997997998, -1.46996996996997, -1.45995995995996, -1.44994994994995, -1.43993993993994, -1.42992992992993, -1.41991991991992, -1.40990990990991, -1.3998998998999, -1.38988988988989, -1.37987987987988, -1.36986986986987, -1.35985985985986, -1.34984984984985, -1.33983983983984, -1.32982982982983, -1.3198198198198199, -1.3098098098098099, -1.2997997997997999, -1.2897897897897899, -1.2797797797797799, -1.2697697697697699, -1.2597597597597598, -1.2497497497497498, -1.2397397397397398, -1.2297297297297298, -1.2197197197197198, -1.2097097097097098, -1.1996996996996998, -1.1896896896896898, -1.1796796796796798, -1.1696696696696698, -1.1596596596596598, -1.1496496496496498, -1.1396396396396398, -1.1296296296296298, -1.1196196196196198, -1.1096096096096097, -1.0995995995995997, -1.0895895895895895, -1.0795795795795795, -1.0695695695695695, -1.0595595595595595, -1.0495495495495495, -1.0395395395395395, -1.0295295295295295, -1.0195195195195195, -1.0095095095095095, -0.9994994994994995, -0.9894894894894894, -0.9794794794794794, -0.9694694694694694, -0.9594594594594594, -0.9494494494494494, -0.9394394394394394, -0.9294294294294294, -0.9194194194194194, -0.9094094094094094, -0.8993993993993994, -0.8893893893893894, -0.8793793793793794, -0.8693693693693694, -0.8593593593593594, -0.8493493493493494, -0.8393393393393394, -0.8293293293293293, -0.8193193193193193, -0.8093093093093093, -0.7992992992992993, -0.7892892892892893, -0.7792792792792793, -0.7692692692692693, -0.7592592592592593, -0.7492492492492493, -0.7392392392392393, -0.7292292292292293, -0.7192192192192193, -0.7092092092092093, -0.6991991991991993, -0.6891891891891891, -0.6791791791791791, -0.6691691691691691, -0.6591591591591591, -0.6491491491491491, -0.6391391391391391, -0.6291291291291291, -0.6191191191191191, -0.6091091091091091, -0.5990990990990991, -0.5890890890890891, -0.5790790790790791, -0.5690690690690691, -0.5590590590590591, -0.549049049049049, -0.539039039039039, -0.529029029029029, -0.519019019019019, -0.509009009009009, -0.4989989989989989, -0.4889889889889889, -0.4789789789789789, -0.4689689689689689, -0.4589589589589589, -0.4489489489489489, -0.43893893893893887, -0.42892892892892887, -0.41891891891891886, -0.40890890890890885, -0.39889889889889885, -0.38888888888888884, -0.37887887887887883, -0.3688688688688688, -0.3588588588588588, -0.3488488488488488, -0.3388388388388388, -0.3288288288288288, -0.3188188188188188, -0.3088088088088088, -0.2987987987987988, -0.2887887887887888, -0.27877877877877877, -0.26876876876876876, -0.25875875875875876, -0.24874874874874875, -0.23873873873873874, -0.22872872872872874, -0.21871871871871873, -0.20870870870870872, -0.19869869869869872, -0.1886886886886887, -0.1786786786786787, -0.1686686686686687, -0.1586586586586587, -0.14864864864864868, -0.13863863863863868, -0.12862862862862867, -0.11861861861861867, -0.10860860860860866, -0.09859859859859865, -0.08858858858858865, -0.07857857857857864, -0.06856856856856863, -0.05855855855855863, -0.04854854854854862, -0.038538538538538614, -0.028528528528528607, -0.0185185185185186, -0.008508508508508594, 0.0015015015015014122, 0.011511511511511419, 0.021521521521521425, 0.03153153153153143, 0.04154154154154144, 0.051551551551551444, 0.06156156156156145, 0.07157157157157146, 0.08158158158158146, 0.09159159159159147, 0.10160160160160148, 0.1116116116116117, 0.12162162162162171, 0.13163163163163172, 0.14164164164164172, 0.15165165165165173, 0.16166166166166174, 0.17167167167167174, 0.18168168168168175, 0.19169169169169176, 0.20170170170170176, 0.21171171171171177, 0.22172172172172178, 0.23173173173173178, 0.2417417417417418, 0.2517517517517518, 0.2617617617617618, 0.2717717717717718, 0.2817817817817818, 0.2917917917917918, 0.30180180180180183, 0.31181181181181183, 0.32182182182182184, 0.33183183183183185, 0.34184184184184185, 0.35185185185185186, 0.36186186186186187, 0.3718718718718719, 0.3818818818818819, 0.3918918918918919, 0.4019019019019019, 0.4119119119119119, 0.4219219219219219, 0.4319319319319319, 0.4419419419419419, 0.4519519519519519, 0.46196196196196193, 0.47197197197197194, 0.48198198198198194, 0.49199199199199195, 0.5020020020020022, 0.5120120120120122, 0.5220220220220222, 0.5320320320320322, 0.5420420420420422, 0.5520520520520522, 0.5620620620620622, 0.5720720720720722, 0.5820820820820822, 0.5920920920920922, 0.6021021021021022, 0.6121121121121122, 0.6221221221221223, 0.6321321321321323, 0.6421421421421423, 0.6521521521521523, 0.6621621621621623, 0.6721721721721723, 0.6821821821821823, 0.6921921921921923, 0.7022022022022023, 0.7122122122122123, 0.7222222222222223, 0.7322322322322323, 0.7422422422422423, 0.7522522522522523, 0.7622622622622623, 0.7722722722722724, 0.7822822822822824, 0.7922922922922924, 0.8023023023023024, 0.8123123123123124, 0.8223223223223224, 0.8323323323323324, 0.8423423423423424, 0.8523523523523524, 0.8623623623623624, 0.8723723723723724, 0.8823823823823824, 0.8923923923923924, 0.9024024024024024, 0.9124124124124124, 0.9224224224224224, 0.9324324324324325, 0.9424424424424425, 0.9524524524524525, 0.9624624624624625, 0.9724724724724725, 0.9824824824824825, 0.9924924924924925, 1.0025025025025025, 1.0125125125125125, 1.0225225225225225, 1.0325325325325325, 1.0425425425425425, 1.0525525525525525, 1.0625625625625625, 1.0725725725725725, 1.0825825825825826, 1.0925925925925926, 1.1026026026026026, 1.1126126126126126, 1.1226226226226226, 1.1326326326326326, 1.1426426426426426, 1.1526526526526526, 1.1626626626626626, 1.1726726726726726, 1.1826826826826826, 1.1926926926926926, 1.2027027027027026, 1.2127127127127126, 1.2227227227227226, 1.2327327327327327, 1.2427427427427427, 1.2527527527527527, 1.2627627627627627, 1.2727727727727727, 1.2827827827827827, 1.2927927927927927, 1.3028028028028027, 1.3128128128128127, 1.3228228228228227, 1.3328328328328327, 1.3428428428428427, 1.3528528528528527, 1.3628628628628627, 1.3728728728728727, 1.3828828828828827, 1.3928928928928928, 1.4029029029029028, 1.4129129129129128, 1.4229229229229228, 1.4329329329329328, 1.4429429429429428, 1.4529529529529528, 1.4629629629629628, 1.4729729729729728, 1.4829829829829828, 1.4929929929929928, 1.5030030030030028, 1.5130130130130128, 1.5230230230230228, 1.5330330330330328, 1.5430430430430429, 1.5530530530530529, 1.5630630630630629, 1.5730730730730729, 1.5830830830830829, 1.5930930930930929, 1.6031031031031029, 1.613113113113113, 1.623123123123123, 1.633133133133133, 1.643143143143143, 1.653153153153153, 1.663163163163163, 1.673173173173173, 1.683183183183183, 1.693193193193193, 1.703203203203203, 1.7132132132132134, 1.7232232232232234, 1.7332332332332334, 1.7432432432432434, 1.7532532532532534, 1.7632632632632634, 1.7732732732732734, 1.7832832832832834, 1.7932932932932935, 1.8033033033033035, 1.8133133133133135, 1.8233233233233235, 1.8333333333333335, 1.8433433433433435, 1.8533533533533535, 1.8633633633633635, 1.8733733733733735, 1.8833833833833835, 1.8933933933933935, 1.9034034034034035, 1.9134134134134135, 1.9234234234234235, 1.9334334334334335, 1.9434434434434436, 1.9534534534534536, 1.9634634634634636, 1.9734734734734736, 1.9834834834834836, 1.9934934934934936, 2.0035035035035036, 2.0135135135135136, 2.0235235235235236, 2.0335335335335336, 2.0435435435435436, 2.0535535535535536, 2.0635635635635636, 2.0735735735735736, 2.0835835835835836, 2.0935935935935936, 2.1036036036036037, 2.1136136136136137, 2.1236236236236237, 2.1336336336336337, 2.1436436436436437, 2.1536536536536537, 2.1636636636636637, 2.1736736736736737, 2.1836836836836837, 2.1936936936936937, 2.2037037037037037, 2.2137137137137137, 2.2237237237237237, 2.2337337337337337, 2.2437437437437437, 2.2537537537537538, 2.2637637637637638, 2.2737737737737738, 2.2837837837837838, 2.293793793793794, 2.303803803803804, 2.313813813813814, 2.323823823823824, 2.333833833833834, 2.343843843843844, 2.353853853853854, 2.363863863863864, 2.373873873873874, 2.383883883883884, 2.393893893893894, 2.403903903903904, 2.413913913913914, 2.423923923923924, 2.433933933933934, 2.443943943943944, 2.453953953953954, 2.463963963963964, 2.473973973973974, 2.483983983983984, 2.493993993993994, 2.5040040040040044, 2.5140140140140144, 2.5240240240240244, 2.5340340340340344, 2.5440440440440444, 2.5540540540540544, 2.5640640640640644, 2.5740740740740744, 2.5840840840840844, 2.5940940940940944, 2.6041041041041044, 2.6141141141141144, 2.6241241241241244, 2.6341341341341344, 2.6441441441441444, 2.6541541541541545, 2.6641641641641645, 2.6741741741741745, 2.6841841841841845, 2.6941941941941945, 2.7042042042042045, 2.7142142142142145, 2.7242242242242245, 2.7342342342342345, 2.7442442442442445, 2.7542542542542545, 2.7642642642642645, 2.7742742742742745, 2.7842842842842845, 2.7942942942942945, 2.8043043043043046, 2.8143143143143146, 2.8243243243243246, 2.8343343343343346, 2.8443443443443446, 2.8543543543543546, 2.8643643643643646, 2.8743743743743746, 2.8843843843843846, 2.8943943943943946, 2.9044044044044046, 2.9144144144144146, 2.9244244244244246, 2.9344344344344346, 2.9444444444444446, 2.9544544544544546, 2.9644644644644647, 2.9744744744744747, 2.9844844844844847, 2.9944944944944947, 3.0045045045045047, 3.0145145145145147, 3.0245245245245247, 3.0345345345345347, 3.0445445445445447, 3.0545545545545547, 3.0645645645645647, 3.0745745745745747, 3.0845845845845847, 3.0945945945945947, 3.1046046046046047, 3.1146146146146148, 3.1246246246246248, 3.1346346346346348, 3.1446446446446448, 3.1546546546546548, 3.164664664664665, 3.174674674674675, 3.184684684684685, 3.194694694694695, 3.204704704704705, 3.214714714714715, 3.224724724724725, 3.234734734734735, 3.244744744744745, 3.254754754754755, 3.264764764764765, 3.274774774774775, 3.284784784784785, 3.294794794794795, 3.304804804804805, 3.314814814814815, 3.324824824824825, 3.334834834834835, 3.344844844844845, 3.354854854854855, 3.364864864864865, 3.374874874874875, 3.384884884884885, 3.394894894894895, 3.404904904904905, 3.414914914914915, 3.424924924924925, 3.434934934934935, 3.444944944944945, 3.454954954954955, 3.464964964964965, 3.474974974974975, 3.484984984984985, 3.494994994994995, 3.505005005005005, 3.515015015015015, 3.525025025025025, 3.535035035035035, 3.545045045045045, 3.555055055055055, 3.565065065065065, 3.575075075075075, 3.585085085085085, 3.595095095095095, 3.605105105105105, 3.615115115115115, 3.625125125125125, 3.635135135135135, 3.645145145145145, 3.655155155155155, 3.665165165165165, 3.675175175175175, 3.685185185185185, 3.695195195195195, 3.705205205205205, 3.715215215215215, 3.725225225225225, 3.735235235235235, 3.745245245245245, 3.755255255255255, 3.765265265265265, 3.775275275275275, 3.785285285285285, 3.795295295295295, 3.805305305305305, 3.815315315315315, 3.825325325325325, 3.835335335335335, 3.8453453453453452, 3.8553553553553552, 3.8653653653653652, 3.8753753753753752, 3.8853853853853852, 3.8953953953953953, 3.9054054054054053, 3.9154154154154153, 3.9254254254254253, 3.9354354354354353, 3.9454454454454453, 3.9554554554554553, 3.9654654654654653, 3.9754754754754753, 3.9854854854854853, 3.9954954954954953, 4.005505505505505, 4.015515515515515, 4.025525525525525, 4.035535535535535, 4.045545545545545, 4.055555555555555, 4.065565565565565, 4.075575575575575, 4.085585585585585, 4.095595595595595, 4.105605605605605, 4.115615615615615, 4.125625625625625, 4.135635635635635, 4.145645645645645, 4.155655655655655, 4.165665665665665, 4.175675675675675, 4.185685685685685, 4.1956956956956954, 4.2057057057057055, 4.2157157157157155, 4.2257257257257255, 4.2357357357357355, 4.2457457457457455, 4.2557557557557555, 4.2657657657657655, 4.2757757757757755, 4.2857857857857855, 4.2957957957957955, 4.3058058058058055, 4.3158158158158155, 4.3258258258258255, 4.3358358358358355, 4.3458458458458455, 4.3558558558558556, 4.365865865865866, 4.375875875875876, 4.385885885885886, 4.395895895895896, 4.405905905905906, 4.415915915915916, 4.425925925925926, 4.435935935935936, 4.445945945945946, 4.455955955955956, 4.465965965965966, 4.475975975975976, 4.485985985985986, 4.495995995995996, 4.506006006006006, 4.516016016016016, 4.526026026026026, 4.536036036036036, 4.546046046046046, 4.556056056056056, 4.566066066066066, 4.576076076076076, 4.586086086086086, 4.596096096096096, 4.606106106106106, 4.616116116116116, 4.626126126126126, 4.636136136136136, 4.646146146146146, 4.656156156156156, 4.666166166166166, 4.676176176176176, 4.686186186186186, 4.696196196196196, 4.706206206206206, 4.716216216216216, 4.726226226226226, 4.736236236236236, 4.746246246246246, 4.756256256256256, 4.766266266266266, 4.776276276276276, 4.786286286286286, 4.796296296296296, 4.806306306306306, 4.816316316316316, 4.826326326326326, 4.836336336336336, 4.846346346346346, 4.856356356356356, 4.866366366366366, 4.876376376376376, 4.886386386386386, 4.896396396396396, 4.906406406406406, 4.916416416416417, 4.926426426426427, 4.936436436436437, 4.946446446446447, 4.956456456456457, 4.966466466466467, 4.976476476476477, 4.986486486486487, 4.996496496496497, 5.006506506506507, 5.016516516516517, 5.026526526526527, 5.036536536536537, 5.046546546546547, 5.056556556556557, 5.066566566566567, 5.076576576576577, 5.086586586586587, 5.096596596596597, 5.106606606606607, 5.116616616616617, 5.126626626626627, 5.136636636636637, 5.146646646646647, 5.156656656656657, 5.166666666666667, 5.176676676676677, 5.186686686686687, 5.196696696696697, 5.206706706706707, 5.216716716716717, 5.226726726726727, 5.236736736736737, 5.246746746746747, 5.256756756756757, 5.266766766766767, 5.276776776776777, 5.286786786786787, 5.296796796796797, 5.306806806806807, 5.316816816816817, 5.326826826826827, 5.336836836836837, 5.346846846846847, 5.356856856856857, 5.366866866866867, 5.376876876876877, 5.386886886886887, 5.396896896896897, 5.406906906906907, 5.416916916916917, 5.426926926926927, 5.436936936936937, 5.446946946946947, 5.456956956956957, 5.466966966966967, 5.476976976976977, 5.486986986986987, 5.496996996996997, 5.507007007007007, 5.517017017017017, 5.527027027027027, 5.537037037037037, 5.547047047047047, 5.557057057057057, 5.567067067067067, 5.577077077077077, 5.587087087087087, 5.597097097097097, 5.607107107107107, 5.617117117117117, 5.627127127127127, 5.637137137137137, 5.647147147147147, 5.657157157157157, 5.667167167167167, 5.677177177177177, 5.687187187187187, 5.697197197197197, 5.707207207207207, 5.717217217217217, 5.727227227227227, 5.737237237237237, 5.747247247247247, 5.757257257257257, 5.767267267267267, 5.777277277277277, 5.787287287287287, 5.797297297297297, 5.807307307307307, 5.817317317317317, 5.827327327327327, 5.837337337337337, 5.847347347347347, 5.857357357357357, 5.867367367367367, 5.877377377377377, 5.887387387387387, 5.897397397397397, 5.907407407407407, 5.9174174174174174, 5.9274274274274275, 5.9374374374374375, 5.9474474474474475, 5.9574574574574575, 5.9674674674674675, 5.9774774774774775, 5.9874874874874875, 5.9974974974974975, 6.0075075075075075, 6.0175175175175175, 6.0275275275275275, 6.0375375375375375, 6.0475475475475475, 6.0575575575575575, 6.0675675675675675, 6.0775775775775776, 6.087587587587588, 6.097597597597598, 6.107607607607608, 6.117617617617618, 6.127627627627628, 6.137637637637638, 6.147647647647648, 6.157657657657658, 6.167667667667668, 6.177677677677678, 6.187687687687688, 6.197697697697698, 6.207707707707708, 6.217717717717718, 6.227727727727728, 6.237737737737738, 6.247747747747748, 6.257757757757758, 6.267767767767768, 6.277777777777778, 6.287787787787788, 6.297797797797798, 6.307807807807808, 6.317817817817818, 6.327827827827828, 6.337837837837838, 6.347847847847848, 6.357857857857858, 6.367867867867868, 6.377877877877878, 6.387887887887888, 6.397897897897898, 6.407907907907908, 6.417917917917918, 6.427927927927928, 6.437937937937938, 6.447947947947948, 6.457957957957958, 6.467967967967968, 6.477977977977978, 6.487987987987988, 6.497997997997998, 6.508008008008009, 6.518018018018019, 6.528028028028029, 6.538038038038039, 6.548048048048049, 6.558058058058059, 6.568068068068069, 6.578078078078079, 6.588088088088089, 6.598098098098099, 6.608108108108109, 6.618118118118119, 6.628128128128129, 6.638138138138139, 6.648148148148149, 6.658158158158159, 6.668168168168169, 6.678178178178179, 6.688188188188189, 6.698198198198199, 6.708208208208209, 6.718218218218219, 6.728228228228229, 6.738238238238239, 6.748248248248249, 6.758258258258259, 6.768268268268269, 6.778278278278279, 6.788288288288289, 6.798298298298299, 6.808308308308309, 6.818318318318319, 6.828328328328329, 6.838338338338339, 6.848348348348349, 6.858358358358359, 6.868368368368369, 6.878378378378379, 6.888388388388389, 6.898398398398399, 6.908408408408409, 6.918418418418419, 6.928428428428429, 6.938438438438439, 6.948448448448449, 6.958458458458459, 6.968468468468469, 6.978478478478479, 6.988488488488489, 6.998498498498499, 7.008508508508509, 7.018518518518519, 7.028528528528529, 7.038538538538539, 7.048548548548549, 7.058558558558559, 7.068568568568569, 7.078578578578579, 7.088588588588589, 7.098598598598599, 7.108608608608609, 7.118618618618619, 7.128628628628629, 7.138638638638639, 7.148648648648649, 7.158658658658659, 7.168668668668669, 7.178678678678679, 7.188688688688689, 7.198698698698699, 7.208708708708709, 7.218718718718719, 7.228728728728729, 7.238738738738739, 7.248748748748749, 7.258758758758759, 7.268768768768769, 7.278778778778779, 7.288788788788789, 7.298798798798799, 7.308808808808809, 7.318818818818819, 7.328828828828829, 7.338838838838839, 7.348848848848849, 7.358858858858859, 7.368868868868869, 7.378878878878879, 7.388888888888889, 7.398898898898899, 7.408908908908909, 7.418918918918919, 7.428928928928929, 7.438938938938939, 7.448948948948949, 7.458958958958959, 7.468968968968969, 7.478978978978979, 7.488988988988989, 7.498998998998999, 7.509009009009009, 7.519019019019019, 7.529029029029029, 7.539039039039039, 7.549049049049049, 7.559059059059059, 7.569069069069069, 7.579079079079079, 7.589089089089089, 7.599099099099099, 7.609109109109109, 7.619119119119119, 7.629129129129129, 7.6391391391391394, 7.6491491491491495, 7.6591591591591595, 7.6691691691691695, 7.6791791791791795, 7.6891891891891895, 7.6991991991991995, 7.7092092092092095, 7.7192192192192195, 7.7292292292292295, 7.7392392392392395, 7.7492492492492495, 7.7592592592592595, 7.7692692692692695, 7.7792792792792795, 7.7892892892892895, 7.7992992992992995, 7.8093093093093096, 7.81931931931932, 7.82932932932933, 7.83933933933934, 7.84934934934935, 7.85935935935936, 7.86936936936937, 7.87937937937938, 7.88938938938939, 7.8993993993994, 7.90940940940941, 7.91941941941942, 7.92942942942943, 7.93943943943944, 7.94944944944945, 7.95945945945946, 7.96946946946947, 7.97947947947948, 7.98948948948949, 7.9994994994995, 8.00950950950951, 8.01951951951952, 8.02952952952953, 8.03953953953954, 8.04954954954955, 8.05955955955956, 8.06956956956957, 8.07957957957958, 8.08958958958959, 8.0995995995996, 8.10960960960961, 8.11961961961962, 8.12962962962963, 8.13963963963964, 8.14964964964965, 8.15965965965966, 8.16966966966967, 8.17967967967968, 8.18968968968969, 8.1996996996997, 8.20970970970971, 8.21971971971972, 8.22972972972973, 8.23973973973974, 8.24974974974975, 8.25975975975976, 8.26976976976977, 8.27977977977978, 8.28978978978979, 8.2997997997998, 8.30980980980981, 8.31981981981982, 8.32982982982983, 8.33983983983984, 8.34984984984985, 8.35985985985986, 8.36986986986987, 8.37987987987988, 8.38988988988989, 8.3998998998999, 8.40990990990991, 8.41991991991992, 8.42992992992993, 8.43993993993994, 8.44994994994995, 8.45995995995996, 8.46996996996997, 8.47997997997998, 8.48998998998999, 8.5 ], "xaxis": "x", "y": [ 0.014383067010401847, 0.014480551777833911, 0.014578543922775088, 0.014677044816624542, 0.014776055824072114, 0.014875578302996644, 0.014975613604363922, 0.015076163072124314, 0.015177228043110096, 0.015278809846932468, 0.015380909805878255, 0.01548352923480631, 0.015586669441043659, 0.015690331724281248, 0.015794517376469534, 0.01589922768171371, 0.016004463916168644, 0.016110227347933617, 0.016216519236946704, 0.016323340834878942, 0.016430693385028266, 0.016538578122213085, 0.016646996272665734, 0.01675594905392558, 0.016865437674731972, 0.016975463334916865, 0.01708602722529732, 0.0171971305275677, 0.017308774414191656, 0.017420960048293934, 0.017533688583551973, 0.01764696116408724, 0.017760778924356468, 0.017875142989042563, 0.0179900544729455, 0.018105514480872897, 0.01822152410753045, 0.01833808443741225, 0.01845519654469086, 0.018572861493107315, 0.01869108033586089, 0.01880985411549878, 0.01892918386380564, 0.019049070601692916, 0.01916951533908815, 0.019290519074824132, 0.019412082796527848, 0.019534207480509498, 0.019656894091651226, 0.019780143583295835, 0.019903956897135484, 0.020028334963100133, 0.020153278699246064, 0.020278789011644264, 0.020404866794268738, 0.020531512928884773, 0.020658728284937176, 0.020786513719438418, 0.020914870076856797, 0.021043798189004505, 0.021173298874925733, 0.02130337294078474, 0.021434021179753838, 0.021565244371901555, 0.021697043284080526, 0.021829418669815682, 0.02196237126919229, 0.022095901808743976, 0.022230011001340984, 0.02236469954607822, 0.022499968128163576, 0.022635817418806062, 0.022772248075104296, 0.022909260739934753, 0.023046856041840296, 0.023185034594918746, 0.023323796998711448, 0.023463143838092095, 0.02360307568315551, 0.0237435930891066, 0.023884696596149453, 0.024026386729376514, 0.024168663998657934, 0.02431152889853104, 0.024454981908089955, 0.024599023490875373, 0.024743654094764526, 0.024888874151861314, 0.025034684078386563, 0.025181084274568572, 0.025328075124533767, 0.025475656996197603, 0.025623830241155672, 0.025772595194575035, 0.025921952175085788, 0.026071901484672817, 0.026222443408567886, 0.026373578215141878, 0.026525306155797415, 0.026677627464861613, 0.02683054235947921, 0.026984051039505963, 0.027138153687402317, 0.027292850468127378, 0.02744814152903322, 0.02760402699975949, 0.02776050699212835, 0.027917581600039754, 0.02807525089936708, 0.028233514947853033, 0.0283923737850061, 0.028551827431997134, 0.028711875891556476, 0.02887251914787146, 0.02903375716648423, 0.02919558989418997, 0.02935801725893567, 0.029521039169719168, 0.029684655516488655, 0.029848866170042676, 0.03001367098193053, 0.030179069784353103, 0.030345062390064275, 0.0305116485922726, 0.030678828164543682, 0.030846600860702917, 0.031014966414738727, 0.031183924540706388, 0.031353474932632255, 0.03152361726441868, 0.03169435118974919, 0.03186567634199456, 0.03203759233411913, 0.032210098758587845, 0.03238319518727379, 0.03255688117136641, 0.032731156241280104, 0.03290601990656367, 0.033081471655810185, 0.03325751095656754, 0.03343413725524954, 0.0336113499770478, 0.0337891485258441, 0.033967532284123435, 0.0341465006128878, 0.03432605285157053, 0.034506188317951374, 0.03468690630807228, 0.03486820609615377, 0.03505008693451207, 0.03523254805347706, 0.03541558866131066, 0.035599207944126264, 0.03578340506580868, 0.03596817916793494, 0.03615352936969573, 0.03633945476781775, 0.03652595443648671, 0.03671302742727118, 0.036900672769047134, 0.03708888946792344, 0.03727767650716801, 0.037467032847134776, 0.03765695742519161, 0.03784744915564892, 0.03803850692968924, 0.038230129615297495, 0.03842231605719223, 0.03861506507675769, 0.03880837547197677, 0.03900224601736481, 0.03919667546390434, 0.03939166253898065, 0.039587205946318316, 0.03978330436591862, 0.03997995645399794, 0.040177160842926975, 0.04037491614117101, 0.04057322093323104, 0.040772073779585916, 0.04097147321663543, 0.0411714177566444, 0.041371905887687625, 0.041572936073595995, 0.04177450675390349, 0.04197661634379518, 0.04217926323405629, 0.04238244579102224, 0.042586162356529754, 0.042790411247869, 0.04299519075773666, 0.043200499154190296, 0.04340633468060347, 0.043612695555622256, 0.043819579973122545, 0.04402698610216854, 0.04423491208697246, 0.044443356046855086, 0.04465231607620772, 0.04486179024445497, 0.045071776596018805, 0.04528227315028377, 0.04549327790156321, 0.04570478881906679, 0.04591680384686895, 0.04612932090387882, 0.046342337883810994, 0.04655585265515763, 0.04676986306116177, 0.04698436691979173, 0.047199362023716704, 0.04741484614028372, 0.04763081701149553, 0.04784727235398998, 0.0480642098590204, 0.04828162719243734, 0.048499521994671516, 0.048717891880717935, 0.04893673444012134, 0.049156047236962895, 0.04937582780984804, 0.04959607367189581, 0.04981678231072912, 0.05003795118846666, 0.050259577741715855, 0.050481659381567144, 0.05070419349358966, 0.05092717743782808, 0.05115060854880089, 0.05137448413549983, 0.05159880148139082, 0.0518235578444161, 0.05204875045699776, 0.052274376526042506, 0.052500433232947875, 0.05272691773360981, 0.05295382715843142, 0.05318115861233333, 0.05340890917476514, 0.05363707589971853, 0.05386565581574143, 0.05409464592595387, 0.054324043208064984, 0.05455384461439146, 0.054784047071877486, 0.055014647482115944, 0.05524564272137104, 0.05547702964060245, 0.055708805065490766, 0.055940965796464244, 0.05617350860872735, 0.056406430252290196, 0.0566397274519999, 0.05687339690757307, 0.05710743529362979, 0.05734183925972909, 0.0575766054304058, 0.057811730405208886, 0.05804721075874122, 0.05828304304070077, 0.058519223775923314, 0.05875574946442652, 0.05899261658145557, 0.05922982157753013, 0.059467360878493, 0.05970523088555994, 0.05994342797537123, 0.06018194850004455, 0.060420788787229396, 0.060659945140162916, 0.060899413837727345, 0.06113919113450874, 0.06137927326085742, 0.06161965642294968, 0.06186033680285116, 0.06210131055858159, 0.0623425738241811, 0.06258412270977802, 0.06282595330165806, 0.06306806166233518, 0.06331044383062381, 0.0635530958217126, 0.06379601362723974, 0.0640391932153697, 0.06428263053087147, 0.06452632149519832, 0.06477026200656921, 0.0650144479400514, 0.06525887514764483, 0.06550353945836791, 0.06574843667834475, 0.06599356259089406, 0.06623891295661936, 0.06648448351350082, 0.06673026997698864, 0.0669762680400978, 0.0672224733735044, 0.06746888162564348, 0.06771548842280842, 0.0679622893692517, 0.06820928004728724, 0.06845645601739432, 0.06870381281832282, 0.06895134596720011, 0.06919905095963938, 0.06944692326984947, 0.0696949583507462, 0.06994315163406516, 0.07019149853047602, 0.07043999442969838, 0.07068863470061902, 0.07093741469141064, 0.07118632972965218, 0.07143537512245052, 0.07168454615656364, 0.07193383809852541, 0.07218324619477169, 0.07243276567176794, 0.0726823917361384, 0.0729321195747966, 0.0731819443550773, 0.07343186122487015, 0.07368186531275454, 0.07393195172813594, 0.07418211556138372, 0.07443235188397068, 0.07468265574861342, 0.07493302218941468, 0.07518344622200694, 0.07543392284369738, 0.07568444703361436, 0.07593501375285523, 0.07618561794463569, 0.07643625453444029, 0.07668691843017483, 0.07693760452231953, 0.07718830768408409, 0.07743902277156396, 0.07768974462389795, 0.0779404680634273, 0.07819118789585607, 0.07844189891041294, 0.07869259588001445, 0.0789432735614293, 0.07919392669544441, 0.07944455000703199, 0.07969513820551817, 0.07994568598475284, 0.08019618802328081, 0.08044663898451444, 0.08069703351690732, 0.0809473662541296, 0.08119763181524431, 0.08144782480488509, 0.08169793981343525, 0.08194797141720815, 0.0821979141786286, 0.08244776264641587, 0.08269751135576763, 0.08294715482854545, 0.08319668757346131, 0.08344610408626534, 0.083695398849935, 0.08394456633486527, 0.08419360099906019, 0.08444249728832544, 0.08469124963646218, 0.08493985246546233, 0.08518830018570449, 0.08543658719615156, 0.08568470788454914, 0.08593265662762538, 0.08618042779129165, 0.08642801573084463, 0.08667541479116941, 0.08692261930694359, 0.0871696236028427, 0.08741642199374648, 0.08766300878494651, 0.08790937827235461, 0.08815552474271261, 0.0884014424738029, 0.08864712573466017, 0.08889256878578429, 0.0891377658793539, 0.08938271125944132, 0.08962739916222821, 0.08987182381622257, 0.09011597944247625, 0.09035986025480384, 0.09060346046000231, 0.09084677425807168, 0.0910897958424365, 0.09133251940016843, 0.09157493911220967, 0.09181704915359719, 0.09205884369368805, 0.09230031689638536, 0.0925414629203654, 0.09278227591930514, 0.0930227500421113, 0.09326287943314952, 0.09350265823247475, 0.09374208057606244, 0.09398114059604043, 0.09421983242092155, 0.0944581501758372, 0.09469608798277146, 0.0949336399607963, 0.09517080022630699, 0.09540756289325865, 0.09564392207340348, 0.09587987187652847, 0.0961154064106939, 0.09635051978247264, 0.0965852060971899, 0.09681945945916373, 0.09705327397194602, 0.09728664373856448, 0.09751956286176475, 0.09775202544425336, 0.09798402558894129, 0.09821555739918797, 0.09844661497904578, 0.09867719243350548, 0.09890728386874151, 0.09913688339235843, 0.09936598511363737, 0.0995945831437833, 0.09982267159617264, 0.10005024458660106, 0.10027729623353232, 0.10050382065834691, 0.10072981198559142, 0.10095526434322834, 0.10118017186288594, 0.1014045286801089, 0.10162832893460898, 0.10185156677051622, 0.10207423633663026, 0.10229633178667231, 0.10251784727953688, 0.1027387769795443, 0.10295911505669322, 0.1031788556869135, 0.10339799305231903, 0.10361652134146127, 0.1038344347495824, 0.10405172747886932, 0.104268393738707, 0.10448442774593288, 0.1046998237250906, 0.10491457590868453, 0.10512867853743377, 0.1053421258605268, 0.10555491213587594, 0.10576703163037174, 0.10597847862013776, 0.10618924739078506, 0.1063993322376669, 0.10660872746613333, 0.10681742739178587, 0.107025426340732, 0.10723271864983971, 0.10743929866699209, 0.10764516075134137, 0.10785029927356374, 0.10805470861611294, 0.1082583831734748, 0.10846131735242076, 0.10866350557226179, 0.10886494226510196, 0.10906562187609173, 0.10926553886368114, 0.10946468769987279, 0.10966306287047442, 0.1098606588753514, 0.11005747022867893, 0.1102534914591939, 0.11044871711044635, 0.11064314174105087, 0.1108367599249375, 0.11102956625160204, 0.11122155532635662, 0.11141272177057918, 0.111603060221963, 0.11179256533476571, 0.11198123178005785, 0.11216905424597082, 0.11235602743794464, 0.11254214607897513, 0.11272740490986045, 0.11291179868944731, 0.11309532219487657, 0.11327797022182841, 0.1134597375847665, 0.11364061911718233, 0.11382060967183834, 0.1139997041210106, 0.11417789735673098, 0.11435518429102864, 0.11453155985617075, 0.11470701900490266, 0.11488155671068724, 0.11505516796794381, 0.11522784779228593, 0.11539959122075882, 0.1155703933120758, 0.11574024914685414, 0.11590915382784979, 0.11607710248019194, 0.11624409025161601, 0.11641011231269634, 0.1165751638570779, 0.11673924010170703, 0.11690233628706138, 0.11706444767737902, 0.11722556956088655, 0.11738569725002632, 0.11754482608168271, 0.11770295141740744, 0.11786006864364398, 0.11801617317195079, 0.11817126043922396, 0.11832532590791829, 0.11847836506626779, 0.11863037342850492, 0.11878134653507888, 0.11893127995287262, 0.11908016927541905, 0.11922801012311607, 0.11937479814344015, 0.11952052901115941, 0.11966519842854484, 0.11980880212558101, 0.1199513358601751, 0.12009279541836505, 0.12023317661452641, 0.12037247529157794, 0.12051068732118597, 0.1206478086039676, 0.12078383506969259, 0.12091876267748398, 0.1210525874160174, 0.12118530530371914, 0.12131691238896267, 0.12144740475026443, 0.12157677849647734, 0.12170502976698402, 0.12183215473188781, 0.12195814959220269, 0.1220830105800419, 0.12220673395880513, 0.12232931602336423, 0.12245075310024728, 0.12257104154782168, 0.12269017775647545, 0.12280815814879706, 0.12292497917975392, 0.12304063733686937, 0.12315512914039789, 0.12326845114349905, 0.12338059993241018, 0.12349157212661678, 0.12360136437902187, 0.12370997337611389, 0.12381739583813253, 0.1239236285192335, 0.1240286682076512, 0.12413251172586016, 0.12423515593073471, 0.12433659771370693, 0.12443683400092313, 0.1245358617533985, 0.12463367796717013, 0.12473027967344856, 0.12482566393876716, 0.12491982786513046, 0.12501276859016, 0.12510448328723933, 0.12519496916565648, 0.12528422347074505, 0.1253722434840237, 0.12545902652333354, 0.12554456994297394, 0.1256288711338365, 0.12571192752353735, 0.12579373657654744, 0.12587429579432102, 0.12595360271542266, 0.12603165491565213, 0.12610845000816728, 0.12618398564360547, 0.126258259510203, 0.1263312693339125, 0.12640301287851877, 0.12647348794575236, 0.12654269237540164, 0.1266106240454227, 0.1266772808720474, 0.12674266080988983, 0.12680676185205006, 0.1268695820302171, 0.1269311194147687, 0.12699137211487033, 0.1270503382785713, 0.1271080160928996, 0.12716440378395433, 0.1272194996169963, 0.12727330189653696, 0.12732580896642473, 0.12737701920992986, 0.1274269310498272, 0.12747554294847668, 0.1275228534079023, 0.12756886096986833, 0.12761356421595468, 0.12765696176762883, 0.1276990522863169, 0.12773983447347204, 0.12777930707064114, 0.1278174688595292, 0.12785431866206176, 0.12788985534044547, 0.1279240777972264, 0.12795698497534616, 0.12798857585819642, 0.12801884946967088, 0.12804780487421555, 0.1280754411768765, 0.12810175752334607, 0.12812675310000665, 0.1281504271339725, 0.1281727788931293, 0.12819380768617195, 0.12821351286263993, 0.12823189381295097, 0.12824894996843197, 0.1282646808013487, 0.12827908582493253, 0.12829216459340564, 0.12830391670200392, 0.12831434178699772, 0.12832343952571068, 0.12833120963653621, 0.1283376518789519, 0.12834276605353206, 0.12834655200195794, 0.12834900960702572, 0.1283501387926527, 0.12834993952388118, 0.12834841180688014, 0.12834555568894515, 0.12834137125849573, 0.12833585864507088, 0.12832901801932242, 0.12832084959300624, 0.12831135361897134, 0.1283005303911469, 0.1282883802445271, 0.12827490355515403, 0.1282601007400981, 0.12824397225743697, 0.12822651860623158, 0.12820774032650084, 0.12818763799919372, 0.12816621224615937, 0.12814346373011531, 0.12811939315461324, 0.12809400126400283, 0.12806728884339377, 0.12803925671861516, 0.1280099057561732, 0.1279792368632067, 0.12794725098744059, 0.1279139491171371, 0.12787933228104517, 0.12784340154834758, 0.12780615802860618, 0.12776760287170474, 0.12772773726779038, 0.12768656244721224, 0.12764407968045843, 0.12760029027809092, 0.12755519559067852, 0.12750879700872741, 0.12746109596261027, 0.12741209392249273, 0.12736179239825818, 0.12731019293943055, 0.12725729713509498, 0.1272031066138165, 0.12714762304355684, 0.12709084813158886, 0.12703278362440965, 0.12697343130765107, 0.12691279300598857, 0.12685087058304798, 0.12678766594131038, 0.12672318102201507, 0.1266574178050604, 0.12659037830890282, 0.12652206459045404, 0.12645247874497612, 0.12638162290597474, 0.12630949924509047, 0.1262361099719884, 0.12616145733424533, 0.1260855436172358, 0.12600837114401567, 0.125929942275204, 0.12585025940886307, 0.1257693249803769, 0.12568714146232712, 0.1256037113643678, 0.12551903723309807, 0.12543312165193293, 0.12534596724097238, 0.1252575766568688, 0.125167952592692, 0.1250770977777935, 0.1249850149776679, 0.12489170699381354, 0.12479717666359054, 0.1247014268600777, 0.12460446049192725, 0.1245062805032183, 0.12440688987330814, 0.12430629161668222, 0.12420448878280216, 0.12410148445595222, 0.12399728175508419, 0.12389188383366032, 0.12378529387949493, 0.12367751511459428, 0.12356855079499462, 0.12345840421059902, 0.12334707868501212, 0.12323457757537387, 0.12312090427219106, 0.12300606219916771, 0.12289005481303396, 0.12277288560337285, 0.12265455809244648, 0.12253507583501974, 0.12241444241818307, 0.12229266146117358, 0.12216973661519481, 0.12204567156323476, 0.12192047001988265, 0.1217941357311444, 0.12166667247425607, 0.12153808405749686, 0.12140837431999967, 0.12127754713156093, 0.12114560639244888, 0.12101255603321048, 0.12087840001447694, 0.12074314232676793, 0.12060678699029442, 0.12046933805476037, 0.12033079959916293, 0.12019117573159144, 0.12005047058902531, 0.11990868833713017, 0.11976583317005349, 0.1196219093102183, 0.11947692100811606, 0.11933087254209836, 0.11918376821816717, 0.11903561236976415, 0.1188864093575588, 0.11873616356923523, 0.11858487941927813, 0.11843256134875736, 0.11827921382511165, 0.11812484134193103, 0.11796944841873831, 0.11781303960076953, 0.11765561945875316, 0.11749719258868858, 0.1173377636116234, 0.11717733717342967, 0.11701591794457934, 0.11685351061991862, 0.11669011991844129, 0.1165257505830615, 0.11636040738038501, 0.1161940951004801, 0.11602681855664725, 0.11585858258518819, 0.11568939204517378, 0.11551925181821139, 0.11534816680821125, 0.11517614194115203, 0.11500318216484558, 0.11482929244870112, 0.11465447778348821, 0.11447874318109963, 0.1143020936743127, 0.11412453431655076, 0.11394607018164338, 0.11376670636358577, 0.11358644797629824, 0.11340530015338425, 0.11322326804788814, 0.11304035683205246, 0.11285657169707401, 0.11267191785286028, 0.11248640052778436, 0.1123000249684399, 0.11211279643939534, 0.1119247202229475, 0.1117358016188749, 0.11154604594419046, 0.11135545853289358, 0.11116404473572208, 0.11097180991990335, 0.11077875946890549, 0.11058489878218751, 0.11039023327494951, 0.11019476837788257, 0.10999850953691773, 0.1098014622129753, 0.10960363188171335, 0.10940502403327612, 0.1092056441720419, 0.10900549781637114, 0.10880459049835346, 0.1086029277635553, 0.10840051517076674, 0.10819735829174822, 0.10799346271097728, 0.10778883402539477, 0.10758347784415115, 0.10737739978835267, 0.10717060549080705, 0.10696310059576941, 0.10675489075868798, 0.10654598164594964, 0.10633637893462536, 0.10612608831221586, 0.10591511547639683, 0.10570346613476442, 0.1054911460045806, 0.10527816081251833, 0.1050645162944074, 0.10485021819497926, 0.10463527226761302, 0.10441968427408063, 0.10420345998429276, 0.10398660517604426, 0.10376912563476008, 0.10355102715324134, 0.10333231553141123, 0.10311299657606136, 0.1028930761005982, 0.10267255992478957, 0.10245145387451163, 0.1022297637814957, 0.10200749548307571, 0.1017846548219356, 0.10156124764585717, 0.101337279807468, 0.10111275716398989, 0.10088768557698768, 0.1006620709121178, 0.10043591903887808, 0.10020923583035699, 0.099982027162984, 0.09975429891627977, 0.09952605697260715, 0.09929730721692225, 0.09906805553652612, 0.09883830782081693, 0.09860806996104245, 0.098377347850053, 0.0981461473820551, 0.0979144744523653, 0.0976823349571648, 0.09744973479325432, 0.09721667985780984, 0.09698317604813866, 0.09674922926143596, 0.09651484539454229, 0.09628003034370115, 0.09604479000431766, 0.09580913027071755, 0.09557305703590688, 0.09533657619133244, 0.09509969362664272, 0.09486241522944952, 0.0946247468850906, 0.09438669447639238, 0.09414826388343411, 0.09390946098331206, 0.09367029164990497, 0.09343076175364001, 0.09319087716125946, 0.09295064373558833, 0.09271006733530265, 0.09246915381469863, 0.09222790902346258, 0.09198633880644161, 0.09174444900341534, 0.09150224544886827, 0.09125973397176304, 0.09101692039531474, 0.09077381053676582, 0.0905304102071622, 0.09028672521112997, 0.09004276134665327, 0.08979852440485299, 0.08955402016976634, 0.08930925441812758, 0.08906423291914943, 0.08881896143430573, 0.08857344571711488, 0.0883276915129244, 0.08808170455869636, 0.08783549058279407, 0.08758905530476944, 0.08734240443515176, 0.08709554367523724, 0.08684847871687972, 0.08660121524228237, 0.08635375892379074, 0.0861061154236865, 0.08585829039398245, 0.08561028947621876, 0.08536211830126023, 0.08511378248909446, 0.08486528764863158, 0.0846166393775048, 0.08436784326187219, 0.0841189048762196, 0.083869829783165, 0.08362062353326337, 0.0833712916648137, 0.08312183970366625, 0.0828722731630317, 0.0826225975432911, 0.08237281833180736, 0.08212294100273755, 0.08187297101684694, 0.08162291382132386, 0.08137277484959608, 0.08112255952114833, 0.08087227324134097, 0.08062192140123031, 0.08037150937738982, 0.08012104253173276, 0.07987052621133627, 0.0796199657482664, 0.07936936645940491, 0.07911873364627693, 0.07886807259488031, 0.07861738857551605, 0.07836668684262019, 0.07811597263459698, 0.07786525117365355, 0.07761452766563562, 0.0773638072998649, 0.07711309524897764, 0.07686239666876474, 0.07661171669801288, 0.07636106045834763, 0.07611043305407723, 0.07585983957203841, 0.07560928508144305, 0.0753587746337268, 0.07510831326239857, 0.07485790598289184, 0.07460755779241718, 0.07435727366981615, 0.07410705857541683, 0.07385691745089065, 0.07360685521911063, 0.07335687678401105, 0.07310698703044867, 0.07285719082406528, 0.07260749301115184, 0.07235789841851387, 0.0721084118533384, 0.07185903810306252, 0.07160978193524313, 0.07136064809742826, 0.07111164131703002, 0.0708627663011988, 0.07061402773669892, 0.07036543028978608, 0.07011697860608589, 0.06986867731047412, 0.06962053100695843, 0.06937254427856145, 0.06912472168720542, 0.06887706777359842, 0.06862958705712195, 0.06838228403572, 0.06813516318578974 ], "yaxis": "y" } ], "layout": { "legend": { "title": { "text": "names" }, "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { "anchor": "y", "domain": [ 0, 1 ] }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "Density" } } } }, "text/html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "df = ps.DataFrame({\n", " 'x': [1, 2, 2.5, 3, 3.5, 4, 5],\n", " 'y': [4, 4, 4.5, 5, 5.5, 6, 6],\n", "})\n", "df.plot.kde(bw_method=3) " ] }, { "cell_type": "code", "execution_count": 8, "id": "3fbb4f77", "metadata": { "slideshow": { "slide_type": "slide" } }, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "hovertemplate": "variable=one
value=%{text}
count=%{y}", "name": "one", "text": [ "[1.0, 1.916666667)", "[1.916666667, 2.833333333)", "[2.833333333, 3.75)", "[3.75, 4.666666667)", "[4.666666667, 5.583333333)", "[5.583333333, 6.5)", "[6.5, 7.416666667)", "[7.416666667, 8.333333333)", "[8.333333333, 9.25)", "[9.25, 10.166666667)", "[10.166666667, 11.083333333)", "[11.083333333, 12.0]" ], "type": "bar", "x": [ 1.4583333333333333, 2.375, 3.2916666666666665, 4.208333333333333, 5.125, 6.041666666666666, 6.958333333333333, 7.874999999999999, 8.791666666666666, 9.708333333333332, 10.625, 11.541666666666666 ], "y": [ 1009, 958, 972, 1040, 1029, 992, 0, 0, 0, 0, 0, 0 ] }, { "hovertemplate": "variable=two
value=%{text}
count=%{y}", "name": "two", "text": [ "[1.0, 1.916666667)", "[1.916666667, 2.833333333)", "[2.833333333, 3.75)", "[3.75, 4.666666667)", "[4.666666667, 5.583333333)", "[5.583333333, 6.5)", "[6.5, 7.416666667)", "[7.416666667, 8.333333333)", "[8.333333333, 9.25)", "[9.25, 10.166666667)", "[10.166666667, 11.083333333)", "[11.083333333, 12.0]" ], "type": "bar", "x": [ 1.4583333333333333, 2.375, 3.2916666666666665, 4.208333333333333, 5.125, 6.041666666666666, 6.958333333333333, 7.874999999999999, 8.791666666666666, 9.708333333333332, 10.625, 11.541666666666666 ], "y": [ 0, 160, 315, 494, 692, 855, 1040, 796, 637, 514, 333, 164 ] } ], "layout": { "barmode": "stack", "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { "title": { "text": "value" } }, "yaxis": { "title": { "text": "count" } } } }, "text/html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import numpy as np\n", "df = pd.DataFrame(\n", " np.random.randint(1, 7, 6000),\n", " columns=['one'])\n", "df['two'] = df['one'] + np.random.randint(1, 7, 6000)\n", "df = ps.from_pandas(df)\n", "df.plot.hist(bins=12, alpha=0.5) " ] }, { "cell_type": "code", "execution_count": 9, "id": "ede4ba60", "metadata": { "scrolled": false, "slideshow": { "slide_type": "slide" } }, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "boxpoints": "suspectedoutliers", "lowerfence": [ -1.7547843968730075 ], "mean": [ -0.22730834788770324 ], "median": [ -0.491932446000789 ], "name": "A", "notched": false, "q1": [ -0.9529778785823767 ], "q3": [ 0.3727155084656293 ], "type": "box", "upperfence": [ 2.2567990630255417 ] } ], "layout": { "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } }, "xaxis": { "title": { "text": "A" } }, "yaxis": { "title": { "text": "value" } } } }, "text/html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "data = np.random.randn(25, 4)\n", "df = ps.DataFrame(data, columns=list('ABCD'))\n", "df['A'].plot.box() " ] }, { "cell_type": "code", "execution_count": 10, "id": "af135f40", "metadata": { "scrolled": false, "slideshow": { "slide_type": "slide" } }, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "hovertemplate": "length=%{x}
width=%{y}", "legendgroup": "", "marker": { "color": "#636efa", "symbol": "circle" }, "mode": "markers", "name": "", "orientation": "v", "showlegend": false, "type": "scatter", "x": [ 5.1, 4.9, 7, 6.4, 5.9 ], "xaxis": "x", "y": [ 3.5, 3, 3.2, 3.2, 3 ], "yaxis": "y" } ], "layout": { "legend": { "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "#f2f5fa" }, "error_y": { "color": "#f2f5fa" }, "marker": { "line": { "color": "rgb(17,17,17)", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "rgb(17,17,17)", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#A2B1C6", "gridcolor": "#506784", "linecolor": "#506784", "minorgridcolor": "#506784", "startlinecolor": "#A2B1C6" }, "baxis": { "endlinecolor": "#A2B1C6", "gridcolor": "#506784", "linecolor": "#506784", "minorgridcolor": "#506784", "startlinecolor": "#A2B1C6" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "marker": { "line": { "color": "#283442" } }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "line": { "color": "#283442" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#506784" }, "line": { "color": "rgb(17,17,17)" } }, "header": { "fill": { "color": "#2a3f5f" }, "line": { "color": "rgb(17,17,17)" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#f2f5fa", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#f2f5fa" }, "geo": { "bgcolor": "rgb(17,17,17)", "lakecolor": "rgb(17,17,17)", "landcolor": "rgb(17,17,17)", "showlakes": true, "showland": true, "subunitcolor": "#506784" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "dark" }, "paper_bgcolor": "rgb(17,17,17)", "plot_bgcolor": "rgb(17,17,17)", "polar": { "angularaxis": { "gridcolor": "#506784", "linecolor": "#506784", "ticks": "" }, "bgcolor": "rgb(17,17,17)", "radialaxis": { "gridcolor": "#506784", "linecolor": "#506784", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "rgb(17,17,17)", "gridcolor": "#506784", "gridwidth": 2, "linecolor": "#506784", "showbackground": true, "ticks": "", "zerolinecolor": "#C8D4E3" }, "yaxis": { "backgroundcolor": "rgb(17,17,17)", "gridcolor": "#506784", "gridwidth": 2, "linecolor": "#506784", "showbackground": true, "ticks": "", "zerolinecolor": "#C8D4E3" }, "zaxis": { "backgroundcolor": "rgb(17,17,17)", "gridcolor": "#506784", "gridwidth": 2, "linecolor": "#506784", "showbackground": true, "ticks": "", "zerolinecolor": "#C8D4E3" } }, "shapedefaults": { "line": { "color": "#f2f5fa" } }, "sliderdefaults": { "bgcolor": "#C8D4E3", "bordercolor": "rgb(17,17,17)", "borderwidth": 1, "tickwidth": 0 }, "ternary": { "aaxis": { "gridcolor": "#506784", "linecolor": "#506784", "ticks": "" }, "baxis": { "gridcolor": "#506784", "linecolor": "#506784", "ticks": "" }, "bgcolor": "rgb(17,17,17)", "caxis": { "gridcolor": "#506784", "linecolor": "#506784", "ticks": "" } }, "title": { "x": 0.05 }, "updatemenudefaults": { "bgcolor": "#506784", "borderwidth": 0 }, "xaxis": { "automargin": true, "gridcolor": "#283442", "linecolor": "#506784", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "#283442", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "#283442", "linecolor": "#506784", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "#283442", "zerolinewidth": 2 } } }, "xaxis": { "anchor": "y", "domain": [ 0, 1 ], "title": { "text": "length" } }, "yaxis": { "anchor": "x", "domain": [ 0, 1 ], "title": { "text": "width" } } } }, "text/html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "df = ps.DataFrame([[5.1, 3.5, 0], [4.9, 3.0, 0], [7.0, 3.2, 1],\n", " [6.4, 3.2, 1], [5.9, 3.0, 2]],\n", " columns=['length', 'width', 'species'])\n", "fig = df.plot.scatter(x='length', y='width')\n", "fig.update_layout(template=\"plotly_dark\") " ] }, { "cell_type": "markdown", "id": "5ca9c39c", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## What else can we do?" ] }, { "cell_type": "code", "execution_count": 11, "id": "afa73109", "metadata": { "slideshow": { "slide_type": "slide" } }, "outputs": [ { "data": { "application/vnd.plotly.v1+json": { "config": { "plotlyServerURL": "https://plot.ly" }, "data": [ { "domain": { "x": [ 0, 1 ], "y": [ 0, 1 ] }, "hovertemplate": "index=%{label}
mass=%{value}", "labels": [ "Mercury", "Venus", "Earth" ], "legendgroup": "", "name": "", "showlegend": true, "type": "pie", "values": [ 0.33, 4.87, 5.97 ] } ], "layout": { "legend": { "tracegroupgap": 0 }, "margin": { "t": 60 }, "template": { "data": { "bar": [ { "error_x": { "color": "#2a3f5f" }, "error_y": { "color": "#2a3f5f" }, "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "bar" } ], "barpolar": [ { "marker": { "line": { "color": "#E5ECF6", "width": 0.5 }, "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "barpolar" } ], "carpet": [ { "aaxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "baxis": { "endlinecolor": "#2a3f5f", "gridcolor": "white", "linecolor": "white", "minorgridcolor": "white", "startlinecolor": "#2a3f5f" }, "type": "carpet" } ], "choropleth": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "choropleth" } ], "contour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "contour" } ], "contourcarpet": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "contourcarpet" } ], "heatmap": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmap" } ], "heatmapgl": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "heatmapgl" } ], "histogram": [ { "marker": { "pattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 } }, "type": "histogram" } ], "histogram2d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2d" } ], "histogram2dcontour": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "histogram2dcontour" } ], "mesh3d": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "type": "mesh3d" } ], "parcoords": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "parcoords" } ], "pie": [ { "automargin": true, "type": "pie" } ], "scatter": [ { "fillpattern": { "fillmode": "overlay", "size": 10, "solidity": 0.2 }, "type": "scatter" } ], "scatter3d": [ { "line": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatter3d" } ], "scattercarpet": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattercarpet" } ], "scattergeo": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergeo" } ], "scattergl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattergl" } ], "scattermapbox": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scattermapbox" } ], "scatterpolar": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolar" } ], "scatterpolargl": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterpolargl" } ], "scatterternary": [ { "marker": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "type": "scatterternary" } ], "surface": [ { "colorbar": { "outlinewidth": 0, "ticks": "" }, "colorscale": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "type": "surface" } ], "table": [ { "cells": { "fill": { "color": "#EBF0F8" }, "line": { "color": "white" } }, "header": { "fill": { "color": "#C8D4E3" }, "line": { "color": "white" } }, "type": "table" } ] }, "layout": { "annotationdefaults": { "arrowcolor": "#2a3f5f", "arrowhead": 0, "arrowwidth": 1 }, "autotypenumbers": "strict", "coloraxis": { "colorbar": { "outlinewidth": 0, "ticks": "" } }, "colorscale": { "diverging": [ [ 0, "#8e0152" ], [ 0.1, "#c51b7d" ], [ 0.2, "#de77ae" ], [ 0.3, "#f1b6da" ], [ 0.4, "#fde0ef" ], [ 0.5, "#f7f7f7" ], [ 0.6, "#e6f5d0" ], [ 0.7, "#b8e186" ], [ 0.8, "#7fbc41" ], [ 0.9, "#4d9221" ], [ 1, "#276419" ] ], "sequential": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ], "sequentialminus": [ [ 0, "#0d0887" ], [ 0.1111111111111111, "#46039f" ], [ 0.2222222222222222, "#7201a8" ], [ 0.3333333333333333, "#9c179e" ], [ 0.4444444444444444, "#bd3786" ], [ 0.5555555555555556, "#d8576b" ], [ 0.6666666666666666, "#ed7953" ], [ 0.7777777777777778, "#fb9f3a" ], [ 0.8888888888888888, "#fdca26" ], [ 1, "#f0f921" ] ] }, "colorway": [ "#636efa", "#EF553B", "#00cc96", "#ab63fa", "#FFA15A", "#19d3f3", "#FF6692", "#B6E880", "#FF97FF", "#FECB52" ], "font": { "color": "#2a3f5f" }, "geo": { "bgcolor": "white", "lakecolor": "white", "landcolor": "#E5ECF6", "showlakes": true, "showland": true, "subunitcolor": "white" }, "hoverlabel": { "align": "left" }, "hovermode": "closest", "mapbox": { "style": "light" }, "paper_bgcolor": "white", "plot_bgcolor": "#E5ECF6", "polar": { "angularaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "radialaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "scene": { "xaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "yaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" }, "zaxis": { "backgroundcolor": "#E5ECF6", "gridcolor": "white", "gridwidth": 2, "linecolor": "white", "showbackground": true, "ticks": "", "zerolinecolor": "white" } }, "shapedefaults": { "line": { "color": "#2a3f5f" } }, "ternary": { "aaxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "baxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" }, "bgcolor": "#E5ECF6", "caxis": { "gridcolor": "white", "linecolor": "white", "ticks": "" } }, "title": { "x": 0.05 }, "xaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 }, "yaxis": { "automargin": true, "gridcolor": "white", "linecolor": "white", "ticks": "", "title": { "standoff": 15 }, "zerolinecolor": "white", "zerolinewidth": 2 } } } } }, "text/html": [ "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "df = ps.DataFrame({'mass': [0.330, 4.87, 5.97],\n", " 'radius': [2439.7, 6051.8, 6378.1]},\n", " index=['Mercury', 'Venus', 'Earth'])\n", "df.plot.pie(y='mass') " ] }, { "cell_type": "markdown", "id": "48684122", "metadata": { "slideshow": { "slide_type": "slide" } }, "source": [ "## Lab\n", "\n", "- Use the `airdelay_small.csv` data to visualize the delay trend." ] } ], "metadata": { "celltoolbar": "Slideshow", "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.9.16" } }, "nbformat": 4, "nbformat_minor": 5 }