mirror of
https://github.com/gsi-upm/sitc
synced 2024-11-18 04:22:28 +00:00
3193 lines
229 KiB
Plaintext
3193 lines
229 KiB
Plaintext
|
{
|
||
|
"cells": [
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "skip"
|
||
|
}
|
||
|
},
|
||
|
"source": [
|
||
|
"![](images/EscUpmPolit_p.gif \"UPM\")"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "skip"
|
||
|
}
|
||
|
},
|
||
|
"source": [
|
||
|
"# Course Notes for Learning Intelligent Systems"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "skip"
|
||
|
}
|
||
|
},
|
||
|
"source": [
|
||
|
"Department of Telematic Engineering Systems, Universidad Politécnica de Madrid, © Carlos A. Iglesias"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "skip"
|
||
|
}
|
||
|
},
|
||
|
"source": [
|
||
|
"## [Introduction to Visualization](00_Intro_Visualization.ipynb)"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "subslide"
|
||
|
}
|
||
|
},
|
||
|
"source": [
|
||
|
"# More Comparison Charts\n",
|
||
|
"\n",
|
||
|
"Other charts can be created with libraries such as **dash plotly**.\n",
|
||
|
"\n",
|
||
|
"First, you should install dash:\n",
|
||
|
"\n",
|
||
|
"**conda install -c plotly plotly**"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 1,
|
||
|
"metadata": {},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"import warnings\n",
|
||
|
"warnings.simplefilter(action='ignore', category=FutureWarning)"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "slide"
|
||
|
}
|
||
|
},
|
||
|
"source": [
|
||
|
"## Radar Charts"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 2,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "slide"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"import pandas as pd\n",
|
||
|
"from matplotlib import pyplot as plt\n",
|
||
|
"import seaborn as sns\n",
|
||
|
"\n",
|
||
|
"df = sns.load_dataset('tips')"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "slide"
|
||
|
}
|
||
|
},
|
||
|
"source": [
|
||
|
"Calculate the average tip per day."
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 3,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "fragment"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"day\n",
|
||
|
"Thur 2.771452\n",
|
||
|
"Fri 2.734737\n",
|
||
|
"Sat 2.993103\n",
|
||
|
"Sun 3.255132\n",
|
||
|
"Name: tip, dtype: float64"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 3,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"#Get a Pandas Series\n",
|
||
|
"avg_tip = df.groupby('day')['tip'].mean()\n",
|
||
|
"avg_tip"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 4,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "subslide"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"['Thur', 'Fri', 'Sat', 'Sun']"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 4,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"days = list(avg_tip.keys())\n",
|
||
|
"days"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 5,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "fragment"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"[2.7714516129032254, 2.734736842105263, 2.993103448275862, 3.2551315789473683]"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 5,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"avg_tips = avg_tip.to_list()\n",
|
||
|
"avg_tips"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 6,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "fragment"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"name": "stdout",
|
||
|
"output_type": "stream",
|
||
|
"text": [
|
||
|
"['Thur', 'Fri', 'Sat', 'Sun']\n",
|
||
|
"[2.7714516129032254, 2.734736842105263, 2.993103448275862, 3.2551315789473683]\n"
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"#A simpler alternative\n",
|
||
|
"days = list(avg_tip.index)\n",
|
||
|
"avg_tips = list(avg_tip.values)\n",
|
||
|
"print(days)\n",
|
||
|
"print(avg_tips)"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 14,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "slide"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [],
|
||
|
"source": [
|
||
|
"df_avg = pd.DataFrame(dict(\n",
|
||
|
" r=avg_tips,\n",
|
||
|
" theta=days))"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 15,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "fragment"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"application/vnd.plotly.v1+json": {
|
||
|
"config": {
|
||
|
"plotlyServerURL": "https://plot.ly"
|
||
|
},
|
||
|
"data": [
|
||
|
{
|
||
|
"hovertemplate": "r=%{r}<br>theta=%{theta}<extra></extra>",
|
||
|
"legendgroup": "",
|
||
|
"line": {
|
||
|
"color": "#636efa",
|
||
|
"dash": "solid"
|
||
|
},
|
||
|
"marker": {
|
||
|
"symbol": "circle"
|
||
|
},
|
||
|
"mode": "lines",
|
||
|
"name": "",
|
||
|
"r": [
|
||
|
2.7714516129032254,
|
||
|
2.734736842105263,
|
||
|
2.993103448275862,
|
||
|
3.2551315789473683,
|
||
|
2.7714516129032254
|
||
|
],
|
||
|
"showlegend": false,
|
||
|
"subplot": "polar",
|
||
|
"theta": [
|
||
|
"Thur",
|
||
|
"Fri",
|
||
|
"Sat",
|
||
|
"Sun",
|
||
|
"Thur"
|
||
|
],
|
||
|
"type": "scatterpolar"
|
||
|
}
|
||
|
],
|
||
|
"layout": {
|
||
|
"autosize": true,
|
||
|
"legend": {
|
||
|
"tracegroupgap": 0
|
||
|
},
|
||
|
"margin": {
|
||
|
"t": 60
|
||
|
},
|
||
|
"polar": {
|
||
|
"angularaxis": {
|
||
|
"direction": "clockwise",
|
||
|
"rotation": 90,
|
||
|
"type": "category"
|
||
|
},
|
||
|
"domain": {
|
||
|
"x": [
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
"y": [
|
||
|
0,
|
||
|
1
|
||
|
]
|
||
|
},
|
||
|
"radialaxis": {
|
||
|
"autorange": true,
|
||
|
"range": [
|
||
|
0,
|
||
|
3.2551315789473683
|
||
|
],
|
||
|
"type": "linear"
|
||
|
}
|
||
|
},
|
||
|
"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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAABE8AAAFoCAYAAACmM9U+AAAAAXNSR0IArs4c6QAAIABJREFUeF7s3Qm8HFWZPv6nqve++725WQggq4KCKAyIijqKIIosggRCdnZEGB0Y1Bnh7zo66jiiiLJkISEhrIIgiyjiBoqIsiMCYQtZb+7ee1f9/m9VOunb6e46XVV9c2/3U59PBkyqq099T13mU0/OeV/NNE0TPChAAQpQgAIUoAAFKEABClCAAhSgAAXKCmgMT/hkUIACFKAABShAAQpQg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uxMSkaC52dnhS/FhInZRYJGCFKbIiRVbk8KAABShAAQpQoPkEGJ4035zzjilAAQpQoIkFrNa+W4u9yiqTZCY/4TQmUnhSjBMLBxCPBqxuPlIHhtt6JtyjwwFRgAIUoAAF6ibA8KRutLwwBShAAQpQYOIIFNoHp7N5a2tOoYXveIxQFmsEAzp0HQhs3QIjAY6m2e2EZbtQ8f8OBXRk84Y1xkJ3H9k+M/Z/2y2RJQzK5Q3I1qPxOmSssqUnErKDFK5GGS95fg8FKEABClBg5wkwPNl59vxmClCAAhSgQN0FJFyQIGI4kUOmjoVMCm2BJSSx2wNrVmAi/y6hhwQcsi1IghQJOqoFI1O7otjYnxoTqJQGLHIduYa0HpbvkUBDWiXL99itk7f/ez1zlXBQR3s8aG1/YohS98eZX0ABClCAAhTYaQIMT3YaPb+YAhSgAAUoUB8BCQtMw7TCkuFEti5thSUokOB
|
||
|
"text/html": [
|
||
|
"<div> <div id=\"518149a2-b43d-49cc-8dfe-0caf0b63c37a\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"518149a2-b43d-49cc-8dfe-0caf0b63c37a\")) { Plotly.newPlot( \"518149a2-b43d-49cc-8dfe-0caf0b63c37a\", [{\"hovertemplate\":\"r=%{r}\\u003cbr\\u003etheta=%{theta}\\u003cextra\\u003e\\u003c\\u002fextra\\u003e\",\"legendgroup\":\"\",\"line\":{\"color\":\"#636efa\",\"dash\":\"solid\"},\"marker\":{\"symbol\":\"circle\"},\"mode\":\"lines\",\"name\":\"\",\"r\":[2.7714516129032254,2.734736842105263,2.993103448275862,3.2551315789473683,2.7714516129032254],\"showlegend\":false,\"subplot\":\"polar\",\"theta\":[\"Thur\",\"Fri\",\"Sat\",\"Sun\",\"Thur\"],\"type\":\"scatterpolar\"}], {\"template\":{\"data\":{\"histogram2dcontour\":[{\"type\":\"histogram2dcontour\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"choropleth\":[{\"type\":\"choropleth\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"histogram2d\":[{\"type\":\"histogram2d\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"heatmap\":[{\"type\":\"heatmap\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"heatmapgl\":[{\"type\":\"heatmapgl\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"contourcarpet\":[{\"type\":\"contourcarpet\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"contour\":[{\"type\":\"contour\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"surface\":[{\"type\":\"surface\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"mesh3d\":[{\"type\":\"mesh3d\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"parcoords\":[{\"type\":\"parcoords\",\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"scatterpolargl\":[{\"type\":\"scatterpolargl\",\"marker\":{\"colorbar\":{\"outlinew
|
||
|
" \n",
|
||
|
"var gd = document.getElementById('518149a2-b43d-49cc-8dfe-0caf0b63c37a');\n",
|
||
|
"var x = new MutationObserver(function (mutations, observer) {{\n",
|
||
|
" var display = window.getComputedStyle(gd).display;\n",
|
||
|
" if (!display || display === 'none') {{\n",
|
||
|
" console.log([gd, 'removed!']);\n",
|
||
|
" Plotly.purge(gd);\n",
|
||
|
" observer.disconnect();\n",
|
||
|
" }}\n",
|
||
|
"}});\n",
|
||
|
"\n",
|
||
|
"// Listen for the removal of the full notebook cells\n",
|
||
|
"var notebookContainer = gd.closest('#notebook-container');\n",
|
||
|
"if (notebookContainer) {{\n",
|
||
|
" x.observe(notebookContainer, {childList: true});\n",
|
||
|
"}}\n",
|
||
|
"\n",
|
||
|
"// Listen for the clearing of the current output cell\n",
|
||
|
"var outputEl = gd.closest('.output');\n",
|
||
|
"if (outputEl) {{\n",
|
||
|
" x.observe(outputEl, {childList: true});\n",
|
||
|
"}}\n",
|
||
|
"\n",
|
||
|
" }) }; }); </script> </div>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"import plotly.express as px\n",
|
||
|
"\n",
|
||
|
"fig = px.line_polar(df_avg, r='r', theta='theta', line_close=True)\n",
|
||
|
"fig.show()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 9,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "subslide"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"application/vnd.plotly.v1+json": {
|
||
|
"config": {
|
||
|
"plotlyServerURL": "https://plot.ly"
|
||
|
},
|
||
|
"data": [
|
||
|
{
|
||
|
"fill": "toself",
|
||
|
"hovertemplate": "r=%{r}<br>theta=%{theta}<extra></extra>",
|
||
|
"legendgroup": "",
|
||
|
"line": {
|
||
|
"color": "#636efa",
|
||
|
"dash": "solid"
|
||
|
},
|
||
|
"marker": {
|
||
|
"symbol": "circle"
|
||
|
},
|
||
|
"mode": "lines",
|
||
|
"name": "",
|
||
|
"r": [
|
||
|
2.7714516129032254,
|
||
|
2.734736842105263,
|
||
|
2.993103448275862,
|
||
|
3.2551315789473683,
|
||
|
2.7714516129032254
|
||
|
],
|
||
|
"showlegend": false,
|
||
|
"subplot": "polar",
|
||
|
"theta": [
|
||
|
"Thur",
|
||
|
"Fri",
|
||
|
"Sat",
|
||
|
"Sun",
|
||
|
"Thur"
|
||
|
],
|
||
|
"type": "scatterpolar"
|
||
|
}
|
||
|
],
|
||
|
"layout": {
|
||
|
"autosize": true,
|
||
|
"legend": {
|
||
|
"tracegroupgap": 0
|
||
|
},
|
||
|
"margin": {
|
||
|
"t": 60
|
||
|
},
|
||
|
"polar": {
|
||
|
"angularaxis": {
|
||
|
"direction": "clockwise",
|
||
|
"rotation": 90,
|
||
|
"type": "category"
|
||
|
},
|
||
|
"domain": {
|
||
|
"x": [
|
||
|
0,
|
||
|
1
|
||
|
],
|
||
|
"y": [
|
||
|
0,
|
||
|
1
|
||
|
]
|
||
|
},
|
||
|
"radialaxis": {
|
||
|
"autorange": true,
|
||
|
"range": [
|
||
|
0,
|
||
|
3.2551315789473683
|
||
|
],
|
||
|
"type": "linear"
|
||
|
}
|
||
|
},
|
||
|
"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
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAABE8AAAFoCAYAAACmM9U+AAAAAXNSR0IArs4c6QAAIABJREFUeF7s3QecHFeZLvynquPk0YyihYMcsGUlGy4s0bCEJS3YGGzwArLlhMkscNndu8BvF+7usoRdWNKSnOWIfW0MxiTjNQZjg2QFJ5yTskaaPB2rvu85pZZ6Rh2qu6pHM93P+dafsVVdXfU/Nf7deuY977Fc13WhIQEJSEACEpCABCQgAQlIQAISkIAEJFBSwFJ4oidDAhKQgAQkIAEJSEACEpCABCQgAQmUF1B4oqdDAhKQgAQkIAEJSEACEpCABCQgAQlUEFB4osdDAhKQgAQkIAEJSEACEpCABCQgAQkoPNEzIAEJSEACEpCABCQgAQlIQAISkIAE6hNQ5Ul9bvqUBCQgAQlIQAISkIAEJCABCUhAAi0ioPCkRSZatykBCUhAAhKQgAQkIAEJSEACEpBAfQIKT+pz06ckIAEJSEACEpCABCQgAQlIQAISaBEBhSctMtG6TQlIQAISkIAEJCABCUhAAhKQgATqE1B4Up+bPiUBCUhAAhKQgAQkIAEJSEACEpBAiwgoPGmRidZtSkACEpCABCQgAQlIQAISkIAEJFCfgMKT+tz0KQlIQAISkIAEJCABCUhAAhKQgARaREDhSYtMtG5TAhKQgAQkIAEJSEACEpCABCQggfoEFJ7U56ZPSUACEpCABCQgAQlIQAISkIAEJNAiAgpPWmSidZsSkIAEJCABCUhAAhKQgAQkIAEJ1Ceg8KQ+N31KAhKQgAQkIAEJSEACEpCABCQggRYRUHjSIhOt25SABCQgAQlIQAISkIAEJCABCUigPgGFJ/W56VMSkIAEJCABCUhAAhKQgAQkIAEJtIiAwpMWmWjdpgQkIAEJSEACEpCABCQgAQlIQAL1CSg8qc9Nn5KABCQgAQlIQAISkIAEJCABCUigRQQUnrTIROs2JSABCUhAAhKQgAQk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FrURsb2gZd+l7Q9efJ9UB0pAAhKQgAQkIIEiAYUnehwkIAEJSEACEvAtwKCEgQSDiUzWQTrnmGDEhCR511SVBB21hiflvo9VKAxWGKowXEnEbMRjtheoWDAVLRoSkIAEJCABCUjAj4DCEz9KOkYCEpCABCTQogJcTsNEpBCWpLIOMtm8qSpp1AgrPCl3faxOicciSCpMadQU6rwSkIAEJCCBphNQeNJ0U6obkoAEJCABCdQvwB4iDEy47IWVJdMRlky92kaHJ1O/b2qYwmVHps/Kvl4q9WvqkxKQgAQkIAEJNIuAwpNmmUndhwQkIAEJSKBOATZpdRzHBAbj6TzGU1nknDpPFsLHpjs8mXrJXOrTnoiiPRExQZJt26ZhrYYEJCABCUhAAq0roPCkdededy4BCUhAAi0uwD4l7Acyns5hIp1HOnsIE5OiuTjU4UnxY8E+KW2JiAlTWJHCihwNCUhAAhKQgARaT0DhSevNue5YAhKQgARaWMBs7buv2SurTCYy+RmnMZPCk2KctngE7cmI2c2HfWC0rGfGPTq6IAlIQAISkEDDBBSeNIxWJ5aABCQgAQnMHIHC9sHpbN4szSls4TsdV8hijWjEhm0DkX1LYBjgWJa3nTCXCxX/cyxiI5t3zDUWdvfh8pnJ/+xticwwKJd3wKVH0zV4rVzSk4h5QYqqUaZLXt8jAQlIQAISOHQCCk8Onb2+WQISkIAEJNBwAYYLDCJGxnPINLCRSWFbYIYk3vbAlglM+L8ZejDg4LIgBikMOioFI/PnJLFzb2pSoDI1YOF5eA5uPczvYaDBrZL5Pd7WyQf+dyNzlXjURnd71Cx/UojS8MdZXyABCUhAAhI4ZAIKTw4Zvb5YAhKQgAQk0BgBhgWu45q
|
||
|
"text/html": [
|
||
|
"<div> <div id=\"d9357c5b-3b91-4f92-beb7-97b0f7b534ac\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"d9357c5b-3b91-4f92-beb7-97b0f7b534ac\")) { Plotly.newPlot( \"d9357c5b-3b91-4f92-beb7-97b0f7b534ac\", [{\"hovertemplate\":\"r=%{r}\\u003cbr\\u003etheta=%{theta}\\u003cextra\\u003e\\u003c\\u002fextra\\u003e\",\"legendgroup\":\"\",\"line\":{\"color\":\"#636efa\",\"dash\":\"solid\"},\"marker\":{\"symbol\":\"circle\"},\"mode\":\"lines\",\"name\":\"\",\"r\":[2.7714516129032254,2.734736842105263,2.993103448275862,3.2551315789473683,2.7714516129032254],\"showlegend\":false,\"subplot\":\"polar\",\"theta\":[\"Thur\",\"Fri\",\"Sat\",\"Sun\",\"Thur\"],\"type\":\"scatterpolar\",\"fill\":\"toself\"}], {\"template\":{\"data\":{\"histogram2dcontour\":[{\"type\":\"histogram2dcontour\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"choropleth\":[{\"type\":\"choropleth\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"histogram2d\":[{\"type\":\"histogram2d\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"heatmap\":[{\"type\":\"heatmap\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"heatmapgl\":[{\"type\":\"heatmapgl\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"contourcarpet\":[{\"type\":\"contourcarpet\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"contour\":[{\"type\":\"contour\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"surface\":[{\"type\":\"surface\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"mesh3d\":[{\"type\":\"mesh3d\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"parcoords\":[{\"type\":\"parcoords\",\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"scatterpolargl\":[{\"type\":\"scatterpolargl\",\"marker\":{\"co
|
||
|
" \n",
|
||
|
"var gd = document.getElementById('d9357c5b-3b91-4f92-beb7-97b0f7b534ac');\n",
|
||
|
"var x = new MutationObserver(function (mutations, observer) {{\n",
|
||
|
" var display = window.getComputedStyle(gd).display;\n",
|
||
|
" if (!display || display === 'none') {{\n",
|
||
|
" console.log([gd, 'removed!']);\n",
|
||
|
" Plotly.purge(gd);\n",
|
||
|
" observer.disconnect();\n",
|
||
|
" }}\n",
|
||
|
"}});\n",
|
||
|
"\n",
|
||
|
"// Listen for the removal of the full notebook cells\n",
|
||
|
"var notebookContainer = gd.closest('#notebook-container');\n",
|
||
|
"if (notebookContainer) {{\n",
|
||
|
" x.observe(notebookContainer, {childList: true});\n",
|
||
|
"}}\n",
|
||
|
"\n",
|
||
|
"// Listen for the clearing of the current output cell\n",
|
||
|
"var outputEl = gd.closest('.output');\n",
|
||
|
"if (outputEl) {{\n",
|
||
|
" x.observe(outputEl, {childList: true});\n",
|
||
|
"}}\n",
|
||
|
"\n",
|
||
|
" }) }; }); </script> </div>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"fig = px.line_polar(df_avg, r='r', theta='theta', line_close=True)\n",
|
||
|
"fig.update_traces(fill='toself')\n",
|
||
|
"fig.show()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 10,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "slide"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"day\n",
|
||
|
"Thur 17.682742\n",
|
||
|
"Fri 17.151579\n",
|
||
|
"Sat 20.441379\n",
|
||
|
"Sun 21.410000\n",
|
||
|
"Name: total_bill, dtype: float64"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 10,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"#Get a Pandas Series\n",
|
||
|
"avg_bill = df.groupby('day')['total_bill'].mean()\n",
|
||
|
"avg_bill"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 11,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "fragment"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"text/plain": [
|
||
|
"[17.682741935483868, 17.15157894736842, 20.44137931034483, 21.41]"
|
||
|
]
|
||
|
},
|
||
|
"execution_count": 11,
|
||
|
"metadata": {},
|
||
|
"output_type": "execute_result"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"avg_bills = avg_bill.to_list()\n",
|
||
|
"avg_bills"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "code",
|
||
|
"execution_count": 12,
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "subslide"
|
||
|
}
|
||
|
},
|
||
|
"outputs": [
|
||
|
{
|
||
|
"data": {
|
||
|
"application/vnd.plotly.v1+json": {
|
||
|
"config": {
|
||
|
"plotlyServerURL": "https://plot.ly"
|
||
|
},
|
||
|
"data": [
|
||
|
{
|
||
|
"fill": "toself",
|
||
|
"name": "Bills",
|
||
|
"r": [
|
||
|
17.682741935483868,
|
||
|
17.15157894736842,
|
||
|
20.44137931034483,
|
||
|
21.41
|
||
|
],
|
||
|
"theta": [
|
||
|
"Thur",
|
||
|
"Fri",
|
||
|
"Sat",
|
||
|
"Sun"
|
||
|
],
|
||
|
"type": "scatterpolar"
|
||
|
},
|
||
|
{
|
||
|
"fill": "toself",
|
||
|
"name": "Tips",
|
||
|
"r": [
|
||
|
2.7714516129032254,
|
||
|
2.734736842105263,
|
||
|
2.993103448275862,
|
||
|
3.2551315789473683
|
||
|
],
|
||
|
"theta": [
|
||
|
"Thur",
|
||
|
"Fri",
|
||
|
"Sat",
|
||
|
"Sun"
|
||
|
],
|
||
|
"type": "scatterpolar"
|
||
|
}
|
||
|
],
|
||
|
"layout": {
|
||
|
"autosize": true,
|
||
|
"polar": {
|
||
|
"angularaxis": {
|
||
|
"type": "category"
|
||
|
},
|
||
|
"radialaxis": {
|
||
|
"autorange": false,
|
||
|
"range": [
|
||
|
0,
|
||
|
25
|
||
|
],
|
||
|
"type": "linear",
|
||
|
"visible": true
|
||
|
}
|
||
|
},
|
||
|
"showlegend": false,
|
||
|
"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": 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AAQQQQAABBBBAAAEEEGgSAcKTJploHhMBBBBAAIG5JHCob0DPO/MvJwzpPW89U+9922sn/Ptt9zyss97zL9p244WKRiJz6VEYCwIIIIAAAgg0gQDhSRNMMo+IAAIIIIDAXBMohSc/+MZn1NnRdnh4iXhM9mf8MZLO6rEdu3XcuiPm2qMwHgQQQAABBBBoAgHCkyaYZB4RAQQQQACBuSZQCk9+ed0X1d3ZPmZ4Dz6yQ2e/75P64J+/QRdd+X0Nj2R00b9/WG9418f0+x98Za49CuNBAAEEEEAAgSYQIDxpgknmERFAAAEEEJhrAuXCk9e87aN67cufrze++nSlkgm5EZfwZK5NIuNBAAEEEECgiQQIT5posnlUBBBAAAEE5opAKTxpbUnKcZxgWMsWL9C3L/pfKlWe3HzD+YeHu/3xXYQnc2XyGAcCCCCAAAJNKEB40oSTziMjgAACCCAw2wKl8OTqCz6hjvbWYDiRiKuli3oIT2Z7crg/AggggAACCEwQIDzhpUAAAQQQQACBGRcot2zHep5QeTLj08INEUAAAQQQQGAKAcITXg0EEEAAAQQQmHEBwpMZJ+eGCCCAAAIIIFCHAOFJHXicigACCCCAAAK1CRCe1ObGWQgggAACCCAwOwKEJ7Pjzl0RQAABBBBAAAEEEEAAAQQQQGCeCBCezJOJYpgIIIAAAggggAACCCCAAAIIIDA7AoQns+POXRFAAAEEEEAAAQQQQAABBBBAYJ4IEJ7Mk4limAgggAACCCCAAAIIIIAAAgggMDsChCez485dEUAAAQQQQAABBBBAAAEEEEBgnggQnsyTiWKYCCCAAAIIzFcBX5Lv+3IkFTxfruOo9O98X/J8X6W/Pc9XWyqmwZGcXNcJPus4Ovy
|
||
|
"text/html": [
|
||
|
"<div> <div id=\"11a57ff7-ce41-4e3e-8a15-9cbdc72fedf0\" class=\"plotly-graph-div\" style=\"height:525px; width:100%;\"></div> <script type=\"text/javascript\"> require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {}; if (document.getElementById(\"11a57ff7-ce41-4e3e-8a15-9cbdc72fedf0\")) { Plotly.newPlot( \"11a57ff7-ce41-4e3e-8a15-9cbdc72fedf0\", [{\"fill\":\"toself\",\"name\":\"Bills\",\"r\":[17.682741935483868,17.15157894736842,20.44137931034483,21.41],\"theta\":[\"Thur\",\"Fri\",\"Sat\",\"Sun\"],\"type\":\"scatterpolar\"},{\"fill\":\"toself\",\"name\":\"Tips\",\"r\":[2.7714516129032254,2.734736842105263,2.993103448275862,3.2551315789473683],\"theta\":[\"Thur\",\"Fri\",\"Sat\",\"Sun\"],\"type\":\"scatterpolar\"}], {\"template\":{\"data\":{\"histogram2dcontour\":[{\"type\":\"histogram2dcontour\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"choropleth\":[{\"type\":\"choropleth\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"histogram2d\":[{\"type\":\"histogram2d\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"heatmap\":[{\"type\":\"heatmap\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"heatmapgl\":[{\"type\":\"heatmapgl\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"contourcarpet\":[{\"type\":\"contourcarpet\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"contour\":[{\"type\":\"contour\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"surface\":[{\"type\":\"surface\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"colorscale\":[[0.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.0,\"#f0f921\"]]}],\"mesh3d\":[{\"type\":\"mesh3d\",\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}],\"scatter\":[{\"fillpattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2},\"type\":\"scatter\"}],\"parcoords\":[{\"type\":\"parcoords\",\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"scatterpolargl\":[{\"type\":\"scatterpolargl\",\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}}}],\"bar\":[{\"error_x\":{\"color\":\"#2a3f5f\"},\"error_y\":{\"color\":
|
||
|
" \n",
|
||
|
"var gd = document.getElementById('11a57ff7-ce41-4e3e-8a15-9cbdc72fedf0');\n",
|
||
|
"var x = new MutationObserver(function (mutations, observer) {{\n",
|
||
|
" var display = window.getComputedStyle(gd).display;\n",
|
||
|
" if (!display || display === 'none') {{\n",
|
||
|
" console.log([gd, 'removed!']);\n",
|
||
|
" Plotly.purge(gd);\n",
|
||
|
" observer.disconnect();\n",
|
||
|
" }}\n",
|
||
|
"}});\n",
|
||
|
"\n",
|
||
|
"// Listen for the removal of the full notebook cells\n",
|
||
|
"var notebookContainer = gd.closest('#notebook-container');\n",
|
||
|
"if (notebookContainer) {{\n",
|
||
|
" x.observe(notebookContainer, {childList: true});\n",
|
||
|
"}}\n",
|
||
|
"\n",
|
||
|
"// Listen for the clearing of the current output cell\n",
|
||
|
"var outputEl = gd.closest('.output');\n",
|
||
|
"if (outputEl) {{\n",
|
||
|
" x.observe(outputEl, {childList: true});\n",
|
||
|
"}}\n",
|
||
|
"\n",
|
||
|
" }) }; }); </script> </div>"
|
||
|
]
|
||
|
},
|
||
|
"metadata": {},
|
||
|
"output_type": "display_data"
|
||
|
}
|
||
|
],
|
||
|
"source": [
|
||
|
"import plotly.graph_objects as go\n",
|
||
|
"\n",
|
||
|
"fig = go.Figure()\n",
|
||
|
"\n",
|
||
|
"fig.add_trace(go.Scatterpolar(\n",
|
||
|
" r=avg_bills,\n",
|
||
|
" theta=days,\n",
|
||
|
" fill='toself',\n",
|
||
|
" name='Bills'\n",
|
||
|
"))\n",
|
||
|
"fig.add_trace(go.Scatterpolar(\n",
|
||
|
" r=avg_tips,\n",
|
||
|
" theta=days,\n",
|
||
|
" fill='toself',\n",
|
||
|
" name='Tips'\n",
|
||
|
"))\n",
|
||
|
"\n",
|
||
|
"fig.update_layout(\n",
|
||
|
" polar=dict(\n",
|
||
|
" radialaxis=dict(\n",
|
||
|
" visible=True,\n",
|
||
|
" range=[0, 25]\n",
|
||
|
" )),\n",
|
||
|
" showlegend=False\n",
|
||
|
")\n",
|
||
|
"\n",
|
||
|
"fig.show()"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "skip"
|
||
|
}
|
||
|
},
|
||
|
"source": [
|
||
|
"# References\n",
|
||
|
"* [Seaborn](http://seaborn.pydata.org/index.html) documentation\n",
|
||
|
"\n",
|
||
|
"* [plotly](https://plot.ly/) documentation"
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"cell_type": "markdown",
|
||
|
"metadata": {
|
||
|
"slideshow": {
|
||
|
"slide_type": "skip"
|
||
|
}
|
||
|
},
|
||
|
"source": [
|
||
|
"## Licence\n",
|
||
|
"The notebook is freely licensed under under the [Creative Commons Attribution Share-Alike license](https://creativecommons.org/licenses/by/2.0/). \n",
|
||
|
"\n",
|
||
|
"© Carlos A. Iglesias, Universidad Politécnica de Madrid."
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"metadata": {
|
||
|
"datacleaner": {
|
||
|
"position": {
|
||
|
"top": "50px"
|
||
|
},
|
||
|
"python": {
|
||
|
"varRefreshCmd": "try:\n print(_datacleaner.dataframe_metadata())\nexcept:\n print([])"
|
||
|
},
|
||
|
"window_display": false
|
||
|
},
|
||
|
"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.11.7"
|
||
|
},
|
||
|
"latex_envs": {
|
||
|
"LaTeX_envs_menu_present": true,
|
||
|
"autocomplete": true,
|
||
|
"bibliofile": "biblio.bib",
|
||
|
"cite_by": "apalike",
|
||
|
"current_citInitial": 1,
|
||
|
"eqLabelWithNumbers": true,
|
||
|
"eqNumInitial": 1,
|
||
|
"hotkeys": {
|
||
|
"equation": "Ctrl-E",
|
||
|
"itemize": "Ctrl-I"
|
||
|
},
|
||
|
"labels_anchors": false,
|
||
|
"latex_user_defs": false,
|
||
|
"report_style_numbering": false,
|
||
|
"user_envs_cfg": false
|
||
|
}
|
||
|
},
|
||
|
"nbformat": 4,
|
||
|
"nbformat_minor": 4
|
||
|
}
|