{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "id": "73e02d32-c536-4992-81a2-7739aa24395e",
   "metadata": {},
   "outputs": [
    {
     "data": {
      "application/vnd.jupyter.widget-view+json": {
       "model_id": "aa926588f1d841fc8ce18a8e828b50fe",
       "version_major": 2,
       "version_minor": 0
      },
      "text/plain": [
       "VBox(children=(Checkbox(value=True, description='Show correlation values on heatmap', indent=False, style=Desc…"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "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.11.7"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 5
}
