From b0d47227de1a85613b6311018e9825b354dd8d1f Mon Sep 17 00:00:00 2001 From: DetectiveKiwi Date: Mon, 7 Aug 2023 17:53:28 +0000 Subject: [PATCH] Added cell for getting colorbars of brain data --- examples/nsdmd_lfp_data.ipynb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/examples/nsdmd_lfp_data.ipynb b/examples/nsdmd_lfp_data.ipynb index 386f89a..3c23aca 100644 --- a/examples/nsdmd_lfp_data.ipynb +++ b/examples/nsdmd_lfp_data.ipynb @@ -723,6 +723,40 @@ "# fig.show()" ] }, + { + "attachments": {}, + "cell_type": "markdown", + "metadata": {}, + "source": [ + "### Getting colorbars" + ] + }, + { + "cell_type": "code", + "execution_count": 16, + "metadata": {}, + "outputs": [], + "source": [ + "# xyz = pd.DataFrame()\n", + "\n", + "# xyz['x'] = [0]\n", + "# xyz['y'] = [0]\n", + "# xyz['z'] = [0]\n", + "# xyz['a'] = [0]\n", + "\n", + "# fig = px.scatter_3d(\n", + "# xyz, \n", + "# x='x',\n", + "# y='y',\n", + "# z='z', \n", + "# range_color=[0,0.15],\n", + "# # range_color=[-np.pi,np.pi],\n", + "# color='a',\n", + "# # color_continuous_scale='twilight'\n", + "# )\n", + "# fig.show()" + ] + }, { "attachments": {}, "cell_type": "markdown",