{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "73e02d32-c536-4992-81a2-7739aa24395e",
   "metadata": {
    "execution": {
     "iopub.execute_input": "2026-11-04T11:50:00.181239Z",
     "iopub.status.busy": "2026-11-04T11:50:00.181123Z",
     "iopub.status.idle": "2026-11-04T11:50:03.192969Z",
     "shell.execute_reply": "2026-11-04T11:50:03.192488Z"
    }
   },
   "outputs": [
    {
     "data": {
      "application/vnd.plotly.v1+json": {
       "data": [
        {
         "colorscale": [
          [
           0.0,
           "rgb(5,48,97)"
          ],
          [
           0.1,
           "rgb(33,102,172)"
          ],
          [
           0.2,
           "rgb(67,147,195)"
          ],
          [
           0.3,
           "rgb(146,197,222)"
          ],
          [
           0.4,
           "rgb(209,229,240)"
          ],
          [
           0.5,
           "rgb(247,247,247)"
          ],
          [
           0.6,
           "rgb(253,219,199)"
          ],
          [
           0.7,
           "rgb(244,165,130)"
          ],
          [
           0.8,
           "rgb(214,96,77)"
          ],
          [
           0.9,
           "rgb(178,24,43)"
          ],
          [
           1.0,
           "rgb(103,0,31)"
          ]
         ],
         "hovertemplate": "Variable X: %{x}<br>Variable Y: %{y}<br>Correlation: %{z:.2f}<br><extra></extra>",
         "showscale": false,
         "text": {
          "bdata": "AAAAAAAA8D+amZmZmZnJPzMzMzMzM9O/mpmZmZmZyb+amZmZmZm5PwAAAAAAAAAAmpmZmZmZuT+amZmZmZm5vwAAAAAAAAAAMzMzMzMz078zMzMzMzPTP5qZmZmZmbm/mpmZmZmZyT8AAAAAAADwPwAAAAAAAACAMzMzMzMz47+amZmZmZnpP5qZmZmZmek/zczMzMzM7D+amZmZmZnZP2ZmZmZmZuY/AAAAAAAA8L+amZmZmZnZP5qZmZmZmem/MzMzMzMz078AAAAAAAAAgAAAAAAAAPA/mpmZmZmZ2T+amZmZmZnJvwAAAAAAAACAmpmZmZmZub+amZmZmZm5P5qZmZmZmcm/AAAAAAAAAACamZmZmZnpv5qZmZmZmbk/mpmZmZmZyb8zMzM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zMzMzMzsvwAAAAAAAPC/AAAAAAAA8L9mZmZmZmbmvwAAAAAAAPC/mpmZmZmZ6T+amZmZmZnZvwAAAAAAAPA/",
          "dtype": "f8",
          "shape": "12, 12"
         },
         "textfont": {
          "size": 8
         },
         "texttemplate": "%{text}",
         "type": "heatmap",
         "x": [
          "A4B2",
          "M1",
          "D1",
          "D2",
          "5HT1a",
          "5HT1b",
          "5HT2a",
          "5HT4",
          "5HT6",
          "VAChT",
          "DAT",
          "5HTT"
         ],
         "xaxis": "x",
         "y": [
          "A4B2",
          "M1",
          "D1",
          "D2",
          "5HT1a",
          "5HT1b",
          "5HT2a",
          "5HT4",
          "5HT6",
          "VAChT",
          "DAT",
          "5HTT"
         ],
         "yaxis": "y",
         "z": [
          [
           1.0,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null
          ],
          [
           null,
           1.0,
           null,
           -0.6146,
           0.7579,
           0.8415,
           0.851,
           0.4237,
           0.7239,
           -0.981,
           0.4093,
           -0.7887
          ],
          [
           null,
           null,
           1.0,
           0.4354,
           null,
           null,
           null,
           null,
           null,
           null,
           -0.8192,
           null
          ],
          [
           null,
           -0.6146,
           0.4354,
           1.0,
           -0.5486,
           -0.6322,
           -0.6571,
           null,
           -0.6423,
           0.6352,
           -0.8237,
           0.5765
          ],
          [
           null,
           0.7579,
           null,
           -0.5486,
           1.0,
           0.8538,
           0.9304,
           0.7036,
           0.9095,
           -0.7296,
           0.4209,
           -0.9451
          ],
          [
           null,
           0.8415,
           null,
           -0.6322,
           0.8538,
           1.0,
           0.9591,
           0.5083,
           0.9196,
           -0.8105,
           0.3953,
           -0.9504
          ],
          [
           null,
           0.851,
           null,
           -0.6571,
           0.9304,
           0.9591,
           1.0,
           0.6593,
           0.9468,
           -0.8314,
           0.4488,
           -0.9773
          ],
          [
           null,
           0.4237,
           null,
           null,
           0.7036,
           0.5083,
           0.6593,
           1.0,
           0.6591,
           -0.3874,
           null,
           -0.7372
          ],
          [
           null,
           0.7239,
           null,
           -0.6423,
           0.9095,
           0.9196,
           0.9468,
           0.6591,
           1.0,
           -0.6992,
           0.4763,
           -0.9678
          ],
          [
           null,
           -0.981,
           null,
           0.6352,
           -0.7296,
           -0.8105,
           -0.8314,
           -0.3874,
           -0.6992,
           1.0,
           -0.4142,
           0.7609
          ],
          [
           null,
           0.4093,
           -0.8192,
           -0.8237,
           0.4209,
           0.3953,
           0.4488,
           null,
           0.4763,
           -0.4142,
           1.0,
           -0.3796
          ],
          [
           null,
           -0.7887,
           null,
           0.5765,
           -0.9451,
           -0.9504,
           -0.9773,
           -0.7372,
           -0.9678,
           0.7609,
           -0.3796,
           1.0
          ]
         ],
         "zmax": 1,
         "zmin": -1
        },
        {
         "colorscale": [
          [
           0.0,
           "rgb(5,48,97)"
          ],
          [
           0.1,
           "rgb(33,102,172)"
          ],
          [
           0.2,
           "rgb(67,147,195)"
          ],
          [
           0.3,
           "rgb(146,197,222)"
          ],
          [
           0.4,
           "rgb(209,229,240)"
          ],
          [
           0.5,
           "rgb(247,247,247)"
          ],
          [
           0.6,
           "rgb(253,219,199)"
          ],
          [
           0.7,
           "rgb(244,165,130)"
          ],
          [
           0.8,
           "rgb(214,96,77)"
          ],
          [
           0.9,
           "rgb(178,24,43)"
          ],
          [
           1.0,
           "rgb(103,0,31)"
          ]
         ],
         "hovertemplate": "Variable X: %{x}<br>Variable Y: %{y}<br>Correlation: %{z:.2f}<br><extra></extra>",
         "showscale": false,
         "text": {
          "bdata": "AAAAAAAA8D+amZmZmZnJP5qZmZmZmbm/mpmZmZmZyb8AAAAAAAAAgJqZmZmZmck/mpmZmZmZuT+amZmZmZm5vwAAAAAAAAAAmpmZmZmZ2b+amZmZmZm5P5qZmZmZmbm/mpmZmZmZyT8AAAAAAADwP5qZmZmZmck/MzMzMzMz07+amZmZmZnpP5qZmZmZmek/zczMzMzM7D8AAAAAAADgP2ZmZmZmZuY/AAAAAAAA8L8AAAAAAAAAAJqZmZmZmem/mpmZmZmZub+amZmZ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7L+amZmZmZnJP5qZmZmZmck/mpmZmZmZyT+amZmZmZm5vzMzMzMzM9M/AAAAAAAAAIAAAAAAAADwP5qZmZmZmcm/mpmZmZmZub+amZmZmZnpv5qZmZmZmbm/AAAAAAAA4D/NzMzMzMzsvwAAAAAAAPC/AAAAAAAA8L9mZmZmZmbmv83MzMzMzOy/mpmZmZmZ6T+amZmZmZnJvwAAAAAAAPA/",
          "dtype": "f8",
          "shape": "12, 12"
         },
         "textfont": {
          "size": 8
         },
         "texttemplate": "%{text}",
         "type": "heatmap",
         "x": [
          "A4B2",
          "M1",
          "D1",
          "D2",
          "5HT1a",
          "5HT1b",
          "5HT2a",
          "5HT4",
          "5HT6",
          "VAChT",
          "DAT",
          "5HTT"
         ],
         "xaxis": "x2",
         "y": [
          "A4B2",
          "M1",
          "D1",
          "D2",
          "5HT1a",
          "5HT1b",
          "5HT2a",
          "5HT4",
          "5HT6",
          "VAChT",
          "DAT",
          "5HTT"
         ],
         "yaxis": "y2",
         "z": [
          [
           1.0,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null
          ],
          [
           null,
           1.0,
           null,
           null,
           0.7737,
           0.8498,
           0.8528,
           0.5188,
           0.7263,
           -0.9743,
           null,
           -0.836
          ],
          [
           null,
           null,
           1.0,
           0.7226,
           null,
           null,
           null,
           null,
           null,
           null,
           -0.9426,
           null
          ],
          [
           null,
           null,
           0.7226,
           1.0,
           null,
           null,
           -0.504,
           null,
           -0.5632,
           null,
           -0.9115,
           0.4704
          ],
          [
           null,
           0.7737,
           null,
           null,
           1.0,
           0.8518,
           0.916,
           0.7638,
           0.8982,
           -0.7105,
           null,
           -0.9466
          ],
          [
           null,
           0.8498,
           null,
           null,
           0.8518,
           1.0,
           0.9713,
           null,
           0.8992,
           -0.836,
           null,
           -0.9565
          ],
          [
           null,
           0.8528,
           null,
           -0.504,
           0.916,
           0.9713,
           1.0,
           0.6966,
           0.9259,
           -0.8271,
           null,
           -0.9872
          ],
          [
           null,
           0.5188,
           null,
           null,
           0.7638,
           null,
           0.6966,
           1.0,
           0.6097,
           null,
           null,
           -0.7243
          ],
          [
           null,
           0.7263,
           null,
           -0.5632,
           0.8982,
           0.8992,
           0.9259,
           0.6097,
           1.0,
           -0.6887,
           null,
           -0.9466
          ],
          [
           null,
           -0.9743,
           null,
           null,
           -0.7105,
           -0.836,
           -0.8271,
           null,
           -0.6887,
           1.0,
           null,
           0.7974
          ],
          [
           null,
           null,
           -0.9426,
           -0.9115,
           null,
           null,
           null,
           null,
           null,
           null,
           1.0,
           null
          ],
          [
           null,
           -0.836,
           null,
           0.4704,
           -0.9466,
           -0.9565,
           -0.9872,
           -0.7243,
           -0.9466,
           0.7974,
           null,
           1.0
          ]
         ],
         "zmax": 1,
         "zmin": -1
        },
        {
         "colorscale": [
          [
           0.0,
           "rgb(5,48,97)"
          ],
          [
           0.1,
           "rgb(33,102,172)"
          ],
          [
           0.2,
           "rgb(67,147,195)"
          ],
          [
           0.3,
           "rgb(146,197,222)"
          ],
          [
           0.4,
           "rgb(209,229,240)"
          ],
          [
           0.5,
           "rgb(247,247,247)"
          ],
          [
           0.6,
           "rgb(253,219,199)"
          ],
          [
           0.7,
           "rgb(244,165,130)"
          ],
          [
           0.8,
           "rgb(214,96,77)"
          ],
          [
           0.9,
           "rgb(178,24,43)"
          ],
          [
           1.0,
           "rgb(103,0,31)"
          ]
         ],
         "hovertemplate": "Variable X: %{x}<br>Variable Y: %{y}<br>Correlation: %{z:.2f}<br><extra></extra>",
         "showscale": true,
         "text": {
          "bdata": "AAAAAAAA8D8zMzMzMzPTP5qZmZmZmem/MzMzMzMz078zMzMzMzPTPwAAAAAAAACAmpmZmZmZuT+amZmZmZm5v5qZmZmZmbk/mpmZmZmZ2b8AAAAAAADgP5qZmZmZmbm/MzMzMzMz0z8AAAAAAADwPzMzMzMzM9O/zczMzMzM7L/NzMzMzMzsP83MzMzMzOw/mpmZmZmZ6T+amZmZmZnJP5qZmZmZmek/AAAAAAAA8L+am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ZmZmZmZuY/AAAAAAAA4D+amZmZmZnpP2ZmZmZmZua/zczMzMzM7L+amZmZmZnpP2ZmZmZmZuY/mpmZmZmZ6T8zMzMzMzPTP2ZmZmZmZuY/mpmZmZmZ6b8AAAAAAADwP2ZmZmZmZua/mpmZmZmZub+amZmZmZnpv5qZmZmZmdk/ZmZmZmZm5j8AAAAAAADwvwAAAAAAAPC/zczMzMzM7L9mZmZmZmbmvwAAAAAAAPC/ZmZmZmZm5j9mZmZmZmbmvwAAAAAAAPA/",
          "dtype": "f8",
          "shape": "12, 12"
         },
         "textfont": {
          "size": 8
         },
         "texttemplate": "%{text}",
         "type": "heatmap",
         "x": [
          "A4B2",
          "M1",
          "D1",
          "D2",
          "5HT1a",
          "5HT1b",
          "5HT2a",
          "5HT4",
          "5HT6",
          "VAChT",
          "DAT",
          "5HTT"
         ],
         "xaxis": "x3",
         "y": [
          "A4B2",
          "M1",
          "D1",
          "D2",
          "5HT1a",
          "5HT1b",
          "5HT2a",
          "5HT4",
          "5HT6",
          "VAChT",
          "DAT",
          "5HTT"
         ],
         "yaxis": "y3",
         "z": [
          [
           1.0,
           null,
           -0.7714,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           null
          ],
          [
           null,
           1.0,
           null,
           -0.9378,
           0.881,
           0.8546,
           0.8357,
           null,
           0.8436,
           -0.9929,
           0.8393,
           -0.8144
          ],
          [
           -0.7714,
           null,
           1.0,
           null,
           null,
           null,
           null,
           null,
           null,
           null,
           -0.675,
           null
          ],
          [
           null,
           -0.9378,
           null,
           1.0,
           -0.7543,
           -0.7376,
           -0.8071,
           null,
           -0.7053,
           0.9464,
           -0.9071,
           0.671
          ],
          [
           null,
           0.881,
           null,
           -0.7543,
           1.0,
           0.9064,
           0.9536,
           0.5612,
           0.9607,
           -0.7857,
           0.7571,
           -0.9508
          ],
          [
           null,
           0.8546,
           null,
           -0.7376,
           0.9064,
           1.0,
           0.9464,
           0.6067,
           0.9748,
           -0.8321,
           0.7393,
           -0.9733
          ],
          [
           null,
           0.8357,
           null,
           -0.8071,
           0.9536,
           0.9464,
           1.0,
           0.65,
           0.9643,
           -0.8321,
           0.775,
           -0.9464
          ],
          [
           null,
           null,
           null,
           null,
           0.5612,
           0.6067,
           0.65,
           1.0,
           0.6652,
           null,
           null,
           -0.716
          ],
          [
           null,
           0.8436,
           null,
           -0.7053,
           0.9607,
           0.9748,
           0.9643,
           0.6652,
           1.0,
           -0.7893,
           0.6964,
           -0.9948
          ],
          [
           null,
           -0.9929,
           null,
           0.9464,
           -0.7857,
           -0.8321,
           -0.8321,
           null,
           -0.7893,
           1.0,
           -0.8429,
           0.7429
          ],
          [
           null,
           0.8393,
           -0.675,
           -0.9071,
           0.7571,
           0.7393,
           0.775,
           null,
           0.6964,
           -0.8429,
           1.0,
           -0.6643
          ],
          [
           null,
           -0.8144,
           null,
           0.671,
           -0.9508,
           -0.9733,
           -0.9464,
           -0.716,
           -0.9948,
           0.7429,
           -0.6643,
           1.0
          ]
         ],
         "zmax": 1,
         "zmin": -1
        }
       ],
       "layout": {
        "annotations": [
         {
          "font": {
           "size": 16
          },
          "showarrow": false,
          "text": "All Subjects",
          "x": 0.16333333333333333,
          "xanchor": "center",
          "xref": "paper",
          "y": 1.0,
          "yanchor": "bottom",
          "yref": "paper"
         },
         {
          "font": {
           "size": 16
          },
          "showarrow": false,
          "text": "Men Only",
          "x": 0.5,
          "xanchor": "center",
          "xref": "paper",
          "y": 1.0,
          "yanchor": "bottom",
          "yref": "paper"
         },
         {
          "font": {
           "size": 16
          },
          "showarrow": false,
          "text": "Women Only",
          "x": 0.8366666666666667,
          "xanchor": "center",
          "xref": "paper",
          "y": 1.0,
          "yanchor": "bottom",
          "yref": "paper"
         }
        ],
        "height": 375,
        "margin": {
         "b": 80,
         "l": 30,
         "r": 40,
         "t": 80
        },
        "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.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"
           }
          ],
          "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": [
           {
            "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"
           }
          ],
          "scattermap": [
           {
            "marker": {
             "colorbar": {
              "outlinewidth": 0,
              "ticks": ""
             }
            },
            "type": "scattermap"
           }
          ],
          "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",
          "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
          }
         }
        },
        "title": {
         "font": {
          "size": 14
         },
         "text": "Session V1 - Synaptic ratio<br>",
         "x": 0.5,
         "xanchor": "center"
        },
        "width": 900,
        "xaxis": {
         "anchor": "y",
         "automargin": false,
         "domain": [
          0.0,
          0.32666666666666666
         ],
         "showgrid": false,
         "side": "bottom",
         "tickangle": -45,
         "tickfont": {
          "size": 8
         }
        },
        "xaxis2": {
         "anchor": "y2",
         "automargin": false,
         "domain": [
          0.33666666666666667,
          0.6633333333333333
         ],
         "showgrid": false,
         "side": "bottom",
         "tickangle": -45,
         "tickfont": {
          "size": 8
         }
        },
        "xaxis3": {
         "anchor": "y3",
         "automargin": false,
         "domain": [
          0.6733333333333333,
          1.0
         ],
         "showgrid": false,
         "side": "bottom",
         "tickangle": -45,
         "tickfont": {
          "size": 8
         }
        },
        "yaxis": {
         "anchor": "x",
         "autorange": "reversed",
         "domain": [
          0.0,
          1.0
         ],
         "showgrid": false,
         "showticklabels": true,
         "tickfont": {
          "size": 8
         }
        },
        "yaxis2": {
         "anchor": "x2",
         "autorange": "reversed",
         "domain": [
          0.0,
          1.0
         ],
         "showgrid": false,
         "showticklabels": false,
         "tickfont": {
          "size": 8
         }
        },
        "yaxis3": {
         "anchor": "x3",
         "autorange": "reversed",
         "domain": [
          0.0,
          1.0
         ],
         "showgrid": false,
         "showticklabels": false,
         "tickfont": {
          "size": 8
         }
        }
       }
      }
     },
     "metadata": {},
     "output_type": "display_data"
    },
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "65f66ed351fb4097a706c8987ab7c156",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "VBox(children=(Checkbox(value=True, description='Show correlation values on heatmap', indent=False, style=Chec…"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "#| label: fig3cell\n",
    "from Dash_client import DashNeuroTmapClient\n",
    "import plotly.io as pio\n",
    "pio.renderers.default = \"plotly_mimetype\"\n",
    "\n",
    "client = DashNeuroTmapClient(dash_url=\"https://stroke-dashboard.db.neurolibre.org/\") #https://stroke-dashboard-bcrr.onrender.com/\") \n",
    "client.create_interactive_correlation_viewer(\n",
    "    session='V1',\n",
    "    system_type='Synaptic ratio'\n",
    ")\n",
    "\n",
    "\n",
    "#The following line enables the dropdown options.\n",
    "#client.create_correlation_interface()"
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "base",
   "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.14.7"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
