diff --git a/atlas-analysis.ipynb b/atlas-analysis.ipynb new file mode 100644 index 0000000000000000000000000000000000000000..469929b793365de20b25e6562714bc23307e5a76 --- /dev/null +++ b/atlas-analysis.ipynb @@ -0,0 +1,1827 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": 27, + "id": "f6ebd680", + "metadata": {}, + "outputs": [], + "source": [ + "import pandas as pd\n", + "import plotly.express as px\n" + ] + }, + { + "cell_type": "markdown", + "id": "085ecf02", + "metadata": {}, + "source": [ + "There is currently a bug in imaris:\n", + "intensity values are rounded after the 6th digit, but the allen brain atlas contains higher values then this, at least 9 digits. There are several different 9 digit values in the atlas, which would all get rounded to the same 6 digit value...\n", + "hence, we remapped the atlas label image and need to undo said remapping again now." + ] + }, + { + "cell_type": "code", + "execution_count": 28, + "id": "31cef6ca", + "metadata": {}, + "outputs": [], + "source": [ + "# There is a \"0\" label in the original atlas, and it gets lost when remapping in ImageJ.\n", + "# However, it labels \"outside\" the atlas, so we could also just ignor it.\n", + "# Could also be added manually to the dataframe or in IJ." + ] + }, + { + "cell_type": "code", + "execution_count": 29, + "id": "689bbcf3", + "metadata": {}, + "outputs": [], + "source": [ + "# read the relevant files\n", + "\n", + "imaris_result = \"./DOE020951_RC_Tile0_Ch561_Sh0_downsampled_32bit_atlaschannel_remapped_Detailed.csv\"\n", + "atlas_remapping = \"./registered_atlas_original_orientation_rotated_labelmap.csv\" # Imaris bug workaround\n", + "atlas_structures = \"./structures.csv\"\n", + "\n", + "df_imaris_result = pd.read_csv(imaris_result, header=2)\n", + "df_atlas_remapping = pd.read_csv(atlas_remapping, header=0)\n", + "df_atlas_structures = pd.read_csv(atlas_structures, header=0)" + ] + }, + { + "cell_type": "code", + "execution_count": 31, + "id": "346f07ee", + "metadata": {}, + "outputs": [ + { + "data": { + "text/html": [ + "<div>\n", + "<style scoped>\n", + " .dataframe tbody tr th:only-of-type {\n", + " vertical-align: middle;\n", + " }\n", + "\n", + " .dataframe tbody tr th {\n", + " vertical-align: top;\n", + " }\n", + "\n", + " .dataframe thead th {\n", + " text-align: right;\n", + " }\n", + "</style>\n", + "<table border=\"1\" class=\"dataframe\">\n", + " <thead>\n", + " <tr style=\"text-align: right;\">\n", + " <th></th>\n", + " <th>Intensity Center</th>\n", + " <th>Unit</th>\n", + " <th>Category</th>\n", + " <th>Channel</th>\n", + " <th>Image</th>\n", + " <th>Time</th>\n", + " <th>ID</th>\n", + " <th>Unnamed: 7</th>\n", + " <th>original labels</th>\n", + " <th>remapped labels</th>\n", + " <th>acronym</th>\n", + " <th>id</th>\n", + " <th>name</th>\n", + " <th>structure_id_path</th>\n", + " <th>parent_structure_id</th>\n", + " </tr>\n", + " </thead>\n", + " <tbody>\n", + " <tr>\n", + " <th>0</th>\n", + " <td>419</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>36</td>\n", + " <td>NaN</td>\n", + " <td>844.0</td>\n", + " <td>419.0</td>\n", + " <td>MOp6a</td>\n", + " <td>844.0</td>\n", + " <td>Primary motor area, Layer 6a</td>\n", + " <td>/997/8/567/688/695/315/500/985/844/</td>\n", + " <td>985.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>1</th>\n", + " <td>419</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>168</td>\n", + " <td>NaN</td>\n", + " <td>844.0</td>\n", + " <td>419.0</td>\n", + " <td>MOp6a</td>\n", + " <td>844.0</td>\n", + " <td>Primary motor area, Layer 6a</td>\n", + " <td>/997/8/567/688/695/315/500/985/844/</td>\n", + " <td>985.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>2</th>\n", + " <td>419</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>371</td>\n", + " <td>NaN</td>\n", + " <td>844.0</td>\n", + " <td>419.0</td>\n", + " <td>MOp6a</td>\n", + " <td>844.0</td>\n", + " <td>Primary motor area, Layer 6a</td>\n", + " <td>/997/8/567/688/695/315/500/985/844/</td>\n", + " <td>985.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>3</th>\n", + " <td>419</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>495</td>\n", + " <td>NaN</td>\n", + " <td>844.0</td>\n", + " <td>419.0</td>\n", + " <td>MOp6a</td>\n", + " <td>844.0</td>\n", + " <td>Primary motor area, Layer 6a</td>\n", + " <td>/997/8/567/688/695/315/500/985/844/</td>\n", + " <td>985.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>4</th>\n", + " <td>468</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>808</td>\n", + " <td>NaN</td>\n", + " <td>940.0</td>\n", + " <td>468.0</td>\n", + " <td>cing</td>\n", + " <td>940.0</td>\n", + " <td>cingulum bundle</td>\n", + " <td>/997/1009/991/768/940/</td>\n", + " <td>768.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>...</th>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " <td>...</td>\n", + " </tr>\n", + " <tr>\n", + " <th>13604</th>\n", + " <td>38</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>1518152</td>\n", + " <td>NaN</td>\n", + " <td>78.0</td>\n", + " <td>38.0</td>\n", + " <td>mcp</td>\n", + " <td>78.0</td>\n", + " <td>middle cerebellar peduncle</td>\n", + " <td>/997/1009/960/752/78/</td>\n", + " <td>752.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>13605</th>\n", + " <td>38</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>1518156</td>\n", + " <td>NaN</td>\n", + " <td>78.0</td>\n", + " <td>38.0</td>\n", + " <td>mcp</td>\n", + " <td>78.0</td>\n", + " <td>middle cerebellar peduncle</td>\n", + " <td>/997/1009/960/752/78/</td>\n", + " <td>752.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>13606</th>\n", + " <td>38</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>1518261</td>\n", + " <td>NaN</td>\n", + " <td>78.0</td>\n", + " <td>38.0</td>\n", + " <td>mcp</td>\n", + " <td>78.0</td>\n", + " <td>middle cerebellar peduncle</td>\n", + " <td>/997/1009/960/752/78/</td>\n", + " <td>752.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>13607</th>\n", + " <td>117</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>1518478</td>\n", + " <td>NaN</td>\n", + " <td>229.0</td>\n", + " <td>117.0</td>\n", + " <td>sV</td>\n", + " <td>229.0</td>\n", + " <td>sensory root of the trigeminal nerve</td>\n", + " <td>/997/1009/967/901/229/</td>\n", + " <td>901.0</td>\n", + " </tr>\n", + " <tr>\n", + " <th>13608</th>\n", + " <td>117</td>\n", + " <td>NaN</td>\n", + " <td>Spot</td>\n", + " <td>3</td>\n", + " <td>Image 1</td>\n", + " <td>1</td>\n", + " <td>1518488</td>\n", + " <td>NaN</td>\n", + " <td>229.0</td>\n", + " <td>117.0</td>\n", + " <td>sV</td>\n", + " <td>229.0</td>\n", + " <td>sensory root of the trigeminal nerve</td>\n", + " <td>/997/1009/967/901/229/</td>\n", + " <td>901.0</td>\n", + " </tr>\n", + " </tbody>\n", + "</table>\n", + "<p>13609 rows × 15 columns</p>\n", + "</div>" + ], + "text/plain": [ + " Intensity Center Unit Category Channel Image Time ID \\\n", + "0 419 NaN Spot 3 Image 1 1 36 \n", + "1 419 NaN Spot 3 Image 1 1 168 \n", + "2 419 NaN Spot 3 Image 1 1 371 \n", + "3 419 NaN Spot 3 Image 1 1 495 \n", + "4 468 NaN Spot 3 Image 1 1 808 \n", + "... ... ... ... ... ... ... ... \n", + "13604 38 NaN Spot 3 Image 1 1 1518152 \n", + "13605 38 NaN Spot 3 Image 1 1 1518156 \n", + "13606 38 NaN Spot 3 Image 1 1 1518261 \n", + "13607 117 NaN Spot 3 Image 1 1 1518478 \n", + "13608 117 NaN Spot 3 Image 1 1 1518488 \n", + "\n", + " Unnamed: 7 original labels remapped labels acronym id \\\n", + "0 NaN 844.0 419.0 MOp6a 844.0 \n", + "1 NaN 844.0 419.0 MOp6a 844.0 \n", + "2 NaN 844.0 419.0 MOp6a 844.0 \n", + "3 NaN 844.0 419.0 MOp6a 844.0 \n", + "4 NaN 940.0 468.0 cing 940.0 \n", + "... ... ... ... ... ... \n", + "13604 NaN 78.0 38.0 mcp 78.0 \n", + "13605 NaN 78.0 38.0 mcp 78.0 \n", + "13606 NaN 78.0 38.0 mcp 78.0 \n", + "13607 NaN 229.0 117.0 sV 229.0 \n", + "13608 NaN 229.0 117.0 sV 229.0 \n", + "\n", + " name \\\n", + "0 Primary motor area, Layer 6a \n", + "1 Primary motor area, Layer 6a \n", + "2 Primary motor area, Layer 6a \n", + "3 Primary motor area, Layer 6a \n", + "4 cingulum bundle \n", + "... ... \n", + "13604 middle cerebellar peduncle \n", + "13605 middle cerebellar peduncle \n", + "13606 middle cerebellar peduncle \n", + "13607 sensory root of the trigeminal nerve \n", + "13608 sensory root of the trigeminal nerve \n", + "\n", + " structure_id_path parent_structure_id \n", + "0 /997/8/567/688/695/315/500/985/844/ 985.0 \n", + "1 /997/8/567/688/695/315/500/985/844/ 985.0 \n", + "2 /997/8/567/688/695/315/500/985/844/ 985.0 \n", + "3 /997/8/567/688/695/315/500/985/844/ 985.0 \n", + "4 /997/1009/991/768/940/ 768.0 \n", + "... ... ... \n", + "13604 /997/1009/960/752/78/ 752.0 \n", + "13605 /997/1009/960/752/78/ 752.0 \n", + "13606 /997/1009/960/752/78/ 752.0 \n", + "13607 /997/1009/967/901/229/ 901.0 \n", + "13608 /997/1009/967/901/229/ 901.0 \n", + "\n", + "[13609 rows x 15 columns]" + ] + }, + "execution_count": 31, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# merge tables / remap to work around the Imaris bug\n", + "# \"ID\" refers to imaris spots , \"id\" refers to the allen atlas\n", + "\n", + "df_temp = pd.merge(df_imaris_result, df_atlas_remapping, left_on=\"Intensity Center\", right_on=\"remapped labels\", how = \"left\")\n", + "combined_results = pd.merge(df_temp, df_atlas_structures, left_on=\"original labels\", right_on=\"id\", how = \"left\")\n", + "combined_results" + ] + }, + { + "cell_type": "code", + "execution_count": 33, + "id": "e081270f", + "metadata": { + "scrolled": true + }, + "outputs": [ + { + "data": { + "text/plain": [ + "VL 2307\n", + "CP 2011\n", + "stc 1862\n", + "SEZ 517\n", + "ccg 322\n", + "DG-sg 291\n", + "root 289\n", + "fi 225\n", + "STR 223\n", + "SI 213\n", + "fp 174\n", + "LSr 166\n", + "HY 152\n", + "V3 149\n", + "DG-po 146\n", + "LHA 135\n", + "MB 128\n", + "BST 119\n", + "LSv 116\n", + "DG-mo 103\n", + "ACB 102\n", + "CA3 96\n", + "LSc 90\n", + "fiber tracts 90\n", + "aco 88\n", + "ccs 86\n", + "cpd 80\n", + "chpl 80\n", + "ZI 79\n", + "alv 78\n", + "Name: acronym, dtype: int64" + ] + }, + "execution_count": 33, + "metadata": {}, + "output_type": "execute_result" + } + ], + "source": [ + "# aggregate the occurence of a given label\n", + "\n", + "int_value_counts = combined_results[\"acronym\"].value_counts() # is ordered by highest occurance first\n", + "\n", + "index_values = int_value_counts.index.tolist()\n", + "counts = int_value_counts.values\n", + "\n", + "# show just the first 30 values.\n", + "int_value_counts.iloc[:30]\n" + ] + }, + { + "cell_type": "code", + "execution_count": 34, + "id": "219cbba2", + "metadata": {}, + "outputs": [ + { + "data": { + "application/vnd.plotly.v1+json": { + "config": { + "plotlyServerURL": "https://plot.ly" + }, + "data": [ + { + "hovertemplate": "x=%{x}<br>y=%{y}<extra></extra>", + "legendgroup": "", + "marker": { + "color": "#636efa", + "symbol": "circle" + }, + "mode": "markers", + "name": "", + "orientation": "v", + "showlegend": false, + "type": "scatter", + "x": [ + "VL", + "CP", + "stc", + "SEZ", + "ccg", + "DG-sg", + "root", + "fi", + "STR", + "SI", + "fp", + "LSr", + "HY", + "V3", + "DG-po", + "LHA", + "MB", + "BST", + "LSv", + "DG-mo", + "ACB", + "CA3", + "LSc", + "fiber tracts", + "aco", + "ccs", + "cpd", + "chpl", + "ZI", + "alv", + "MRN", + "CA1", + "PAL", + "int", + "dhc", + "SNr", + "act", + "VM", + "cing", + "LD", + "RT", + "sm", + "LPO", + "ACAv5", + "APN", + "MPO", + "AHN", + "LP", + "MOs6a", + "mcp", + "PRNr", + "sV", + "MOp6a", + "opt", + "och", + "GPe", + "SF", + "MD", + "CB", + "VMH", + "MEA", + "PA", + "SCig", + "MA", + "NDB", + "PVT", + "TH", + "AV", + "ACAd6a", + "VISp6b", + "VAL", + "P", + "OT", + "TRS", + "VPM", + "PO", + "fx", + "ACAv6a", + "ll", + "STN", + "SMT", + "MH", + "st", + "MPN", + "ACAv2/3", + "PAG", + "ACAv1", + "AD", + "mtt", + "VISp6a", + "MS", + "VPL", + "CL", + "PSTN", + "RE", + "nst", + "AMd", + "AAA", + "IIn", + "RSPv5", + "PF", + "NLL", + "PT", + "fr", + "ACAd5", + "PH", + "AMv", + "SNc", + "PR", + "SBPV", + "SCzo", + "bsc", + "SUB", + "RN", + "VLPO", + "SCiw", + "TMv", + "FF", + "SSp-ll6a", + "ml", + "RSPv1", + "IG", + "HPF", + "TU", + "PG", + "PPN", + "rust", + "hbc", + "VTA", + "AVPV", + "PRNc", + "pc", + "VPMpc", + "bic", + "ACAd1", + "IMD", + "PVHd", + "MOp5", + "LH", + "POST", + "RCH", + "ACAv6b", + "mp", + "VISp5", + "IF", + "COApm", + "CA2", + "PCN", + "VPLpc", + "DMH", + "SCsg", + "PS", + "FS", + "TRN", + "moV", + "PSV", + "SSp-ll6b", + "MOp6b", + "POL", + "CM", + "GPi", + "PVa", + "MT", + "SSp-ul6a", + "SUM", + "AVP", + "PVi", + "vhc", + "SPFm", + "sup", + "PVH", + "RSPd6a", + "SCH", + "ADP", + "NLOT3", + "ACAd2/3", + "NOT", + "SCdg", + "NPC", + "mtg", + "SPFp", + "PMv", + "SPA", + "MGv", + "MPT", + "CEAm", + "MOs6b", + "SSp-ul6b", + "IAM", + "RH", + "PRC", + "IAD", + "MGm", + "ARH", + "MEPO", + "RSPv2/3", + "BAC", + "CS", + "SCdw", + "VISpm6b", + "SOCl", + "FC", + "scp", + "SCop", + "RSPd2/3", + "PVpo", + "INC", + "PD", + "PVp", + "SFO", + "LM", + "PPT", + "ND", + "SO", + "ASO", + "OP", + "RR", + "mct", + "MOp2/3", + "ACAd6b", + "OLF", + "RSPv6a", + "PMd", + "V" + ], + "xaxis": "x", + "y": [ + 2307, + 2011, + 1862, + 517, + 322, + 291, + 289, + 225, + 223, + 213, + 174, + 166, + 152, + 149, + 146, + 135, + 128, + 119, + 116, + 103, + 102, + 96, + 90, + 90, + 88, + 86, + 80, + 80, + 79, + 78, + 70, + 69, + 66, + 65, + 59, + 56, + 56, + 54, + 53, + 43, + 41, + 39, + 39, + 38, + 37, + 36, + 36, + 35, + 33, + 33, + 31, + 31, + 31, + 30, + 29, + 29, + 28, + 28, + 28, + 26, + 26, + 26, + 26, + 26, + 24, + 24, + 24, + 24, + 23, + 23, + 23, + 22, + 22, + 22, + 21, + 21, + 20, + 19, + 18, + 18, + 17, + 17, + 17, + 15, + 15, + 15, + 14, + 14, + 14, + 14, + 14, + 13, + 13, + 13, + 13, + 12, + 12, + 12, + 12, + 12, + 12, + 12, + 11, + 11, + 11, + 11, + 11, + 11, + 11, + 10, + 10, + 10, + 9, + 9, + 9, + 9, + 9, + 9, + 9, + 8, + 8, + 8, + 8, + 8, + 7, + 7, + 7, + 7, + 7, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 6, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 5, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 4, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 3, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 2, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1, + 1 + ], + "yaxis": "y" + } + ], + "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": [ + { + "marker": { + "colorbar": { + "outlinewidth": 0, + "ticks": "" + } + }, + "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": "x" + } + }, + "yaxis": { + "anchor": "x", + "domain": [ + 0, + 1 + ], + "title": { + "text": "y" + } + } + } + }, + "text/html": [ + "<div> <div id=\"45f9df4f-22f5-434f-931d-8ed9bc9d3463\" 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(\"45f9df4f-22f5-434f-931d-8ed9bc9d3463\")) { Plotly.newPlot( \"45f9df4f-22f5-434f-931d-8ed9bc9d3463\", [{\"hovertemplate\":\"x=%{x}<br>y=%{y}<extra></extra>\",\"legendgroup\":\"\",\"marker\":{\"color\":\"#636efa\",\"symbol\":\"circle\"},\"mode\":\"markers\",\"name\":\"\",\"orientation\":\"v\",\"showlegend\":false,\"x\":[\"VL\",\"CP\",\"stc\",\"SEZ\",\"ccg\",\"DG-sg\",\"root\",\"fi\",\"STR\",\"SI\",\"fp\",\"LSr\",\"HY\",\"V3\",\"DG-po\",\"LHA\",\"MB\",\"BST\",\"LSv\",\"DG-mo\",\"ACB\",\"CA3\",\"LSc\",\"fiber tracts\",\"aco\",\"ccs\",\"cpd\",\"chpl\",\"ZI\",\"alv\",\"MRN\",\"CA1\",\"PAL\",\"int\",\"dhc\",\"SNr\",\"act\",\"VM\",\"cing\",\"LD\",\"RT\",\"sm\",\"LPO\",\"ACAv5\",\"APN\",\"MPO\",\"AHN\",\"LP\",\"MOs6a\",\"mcp\",\"PRNr\",\"sV\",\"MOp6a\",\"opt\",\"och\",\"GPe\",\"SF\",\"MD\",\"CB\",\"VMH\",\"MEA\",\"PA\",\"SCig\",\"MA\",\"NDB\",\"PVT\",\"TH\",\"AV\",\"ACAd6a\",\"VISp6b\",\"VAL\",\"P\",\"OT\",\"TRS\",\"VPM\",\"PO\",\"fx\",\"ACAv6a\",\"ll\",\"STN\",\"SMT\",\"MH\",\"st\",\"MPN\",\"ACAv2/3\",\"PAG\",\"ACAv1\",\"AD\",\"mtt\",\"VISp6a\",\"MS\",\"VPL\",\"CL\",\"PSTN\",\"RE\",\"nst\",\"AMd\",\"AAA\",\"IIn\",\"RSPv5\",\"PF\",\"NLL\",\"PT\",\"fr\",\"ACAd5\",\"PH\",\"AMv\",\"SNc\",\"PR\",\"SBPV\",\"SCzo\",\"bsc\",\"SUB\",\"RN\",\"VLPO\",\"SCiw\",\"TMv\",\"FF\",\"SSp-ll6a\",\"ml\",\"RSPv1\",\"IG\",\"HPF\",\"TU\",\"PG\",\"PPN\",\"rust\",\"hbc\",\"VTA\",\"AVPV\",\"PRNc\",\"pc\",\"VPMpc\",\"bic\",\"ACAd1\",\"IMD\",\"PVHd\",\"MOp5\",\"LH\",\"POST\",\"RCH\",\"ACAv6b\",\"mp\",\"VISp5\",\"IF\",\"COApm\",\"CA2\",\"PCN\",\"VPLpc\",\"DMH\",\"SCsg\",\"PS\",\"FS\",\"TRN\",\"moV\",\"PSV\",\"SSp-ll6b\",\"MOp6b\",\"POL\",\"CM\",\"GPi\",\"PVa\",\"MT\",\"SSp-ul6a\",\"SUM\",\"AVP\",\"PVi\",\"vhc\",\"SPFm\",\"sup\",\"PVH\",\"RSPd6a\",\"SCH\",\"ADP\",\"NLOT3\",\"ACAd2/3\",\"NOT\",\"SCdg\",\"NPC\",\"mtg\",\"SPFp\",\"PMv\",\"SPA\",\"MGv\",\"MPT\",\"CEAm\",\"MOs6b\",\"SSp-ul6b\",\"IAM\",\"RH\",\"PRC\",\"IAD\",\"MGm\",\"ARH\",\"MEPO\",\"RSPv2/3\",\"BAC\",\"CS\",\"SCdw\",\"VISpm6b\",\"SOCl\",\"FC\",\"scp\",\"SCop\",\"RSPd2/3\",\"PVpo\",\"INC\",\"PD\",\"PVp\",\"SFO\",\"LM\",\"PPT\",\"ND\",\"SO\",\"ASO\",\"OP\",\"RR\",\"mct\",\"MOp2/3\",\"ACAd6b\",\"OLF\",\"RSPv6a\",\"PMd\",\"V\"],\"xaxis\":\"x\",\"y\":[2307,2011,1862,517,322,291,289,225,223,213,174,166,152,149,146,135,128,119,116,103,102,96,90,90,88,86,80,80,79,78,70,69,66,65,59,56,56,54,53,43,41,39,39,38,37,36,36,35,33,33,31,31,31,30,29,29,28,28,28,26,26,26,26,26,24,24,24,24,23,23,23,22,22,22,21,21,20,19,18,18,17,17,17,15,15,15,14,14,14,14,14,13,13,13,13,12,12,12,12,12,12,12,11,11,11,11,11,11,11,10,10,10,9,9,9,9,9,9,9,8,8,8,8,8,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,4,4,4,4,4,4,4,4,4,4,4,4,3,3,3,3,3,3,3,3,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],\"yaxis\":\"y\",\"type\":\"scatter\"}], {\"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.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\"]],\"type\":\"contour\"}],\"contourcarpet\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"contourcarpet\"}],\"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\"]],\"type\":\"heatmap\"}],\"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\"]],\"type\":\"heatmapgl\"}],\"histogram\":[{\"marker\":{\"pattern\":{\"fillmode\":\"overlay\",\"size\":10,\"solidity\":0.2}},\"type\":\"histogram\"}],\"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\"]],\"type\":\"histogram2d\"}],\"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\"]],\"type\":\"histogram2dcontour\"}],\"mesh3d\":[{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"},\"type\":\"mesh3d\"}],\"parcoords\":[{\"line\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"type\":\"parcoords\"}],\"pie\":[{\"automargin\":true,\"type\":\"pie\"}],\"scatter\":[{\"marker\":{\"colorbar\":{\"outlinewidth\":0,\"ticks\":\"\"}},\"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.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\"]],\"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.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\"]],\"sequentialminus\":[[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\"]]},\"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.0,1.0],\"title\":{\"text\":\"x\"}},\"yaxis\":{\"anchor\":\"x\",\"domain\":[0.0,1.0],\"title\":{\"text\":\"y\"}},\"legend\":{\"tracegroupgap\":0},\"margin\":{\"t\":60}}, {\"responsive\": true} ).then(function(){\n", + " \n", + "var gd = document.getElementById('45f9df4f-22f5-434f-931d-8ed9bc9d3463');\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.scatter(x=index_values,y=counts)\n", + "fig.show()" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "7705a038", + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "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.12" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +}