Skip to content

Commit

Permalink
Figure names were adjusted.
Browse files Browse the repository at this point in the history
  • Loading branch information
Neuropharmacol committed Oct 13, 2021
1 parent 7bebc92 commit f755785
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 15 deletions.
File renamed without changes
File renamed without changes.
File renamed without changes.
27 changes: 12 additions & 15 deletions src/main_q_learning_sampling_results.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# 1_q-learning_sampling.ipynb\n",
"# Title(Should be replaced.)\n",
"This notebook is prepared for reproduction of q-learning results."
]
},
Expand All @@ -24,19 +24,16 @@
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting contextplt==0.1.6\n",
" Downloading contextplt-0.1.6-py3-none-any.whl (3.8 kB)\n",
"Requirement already satisfied: contextplt==0.1.6 in /opt/conda/lib/python3.8/site-packages (0.1.6)\n",
"Requirement already satisfied: matplotlib in /opt/conda/lib/python3.8/site-packages (from contextplt==0.1.6) (3.3.2)\n",
"Requirement already satisfied: pillow>=6.2.0 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (8.0.1)\n",
"Requirement already satisfied: numpy>=1.15 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (1.19.2)\n",
"Requirement already satisfied: cycler>=0.10 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (0.10.0)\n",
"Requirement already satisfied: python-dateutil>=2.1 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (2.8.1)\n",
"Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.3 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (2.4.7)\n",
"Requirement already satisfied: kiwisolver>=1.0.1 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (1.3.0)\n",
"Requirement already satisfied: pillow>=6.2.0 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (8.0.1)\n",
"Requirement already satisfied: certifi>=2020.06.20 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (2020.6.20)\n",
"Requirement already satisfied: cycler>=0.10 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (0.10.0)\n",
"Requirement already satisfied: numpy>=1.15 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (1.19.2)\n",
"Requirement already satisfied: python-dateutil>=2.1 in /opt/conda/lib/python3.8/site-packages (from matplotlib->contextplt==0.1.6) (2.8.1)\n",
"Requirement already satisfied: six in /opt/conda/lib/python3.8/site-packages (from cycler>=0.10->matplotlib->contextplt==0.1.6) (1.15.0)\n",
"Installing collected packages: contextplt\n",
"Successfully installed contextplt-0.1.6\n"
"Requirement already satisfied: six in /opt/conda/lib/python3.8/site-packages (from cycler>=0.10->matplotlib->contextplt==0.1.6) (1.15.0)\n"
]
}
],
Expand Down Expand Up @@ -730,7 +727,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Figure ?. Simulated distributions from estimated parameters."
"# Figure 5. Simulated distributions from estimated parameters."
]
},
{
Expand Down Expand Up @@ -849,7 +846,7 @@
"patches = visTools.create_patch_for_label(label_names = label_names, line=True)\n",
"\n",
"with cplt.Multiple(figsize=(9,6),grid=(2,2),dpi=300, label_outer=True, \n",
" save_path = \"../dt_figs/Figure2_estimated_params.png\",\n",
" save_path = \"../dt_figs/Fig5_estimated_params.png\",\n",
" savefig_kargs = dict(facecolor=\"white\"),\n",
" tight=True \n",
" ) as p:\n",
Expand Down Expand Up @@ -1342,7 +1339,7 @@
"#sns.set(context=\"paper\" , style =\"whitegrid\",rc={\"figure.facecolor\":\"white\"})\n",
"\n",
"with cplt.Multiple(figsize=(9,6),grid=(2,2),dpi=300, \n",
" save_path = \"../dt_figs/S_Fig1_champions.tiff\",\n",
" save_path = \"../dt_figs/S_Fig1_individual_fitting.tiff\",\n",
" savefig_kargs = dict(facecolor=\"white\",pil_kwargs={\"compression\": \"tiff_lzw\"}), \n",
" ) as p:\n",
" for i, (label, sub) in enumerate(champions.items()):\n",
Expand Down Expand Up @@ -1376,7 +1373,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Figure ??. Methodology"
"# Figure 8. Methodology"
]
},
{
Expand Down Expand Up @@ -1428,7 +1425,7 @@
"ax.tick_params(axis='both', which='major', labelsize=12)\n",
"lgd = plt.legend(title=\"Functions\", fontsize=11)\n",
"lgd.get_title().set_fontsize('11') \n",
"plt.savefig(\"../dt_figs/Fig1_methodology.tiff\", facecolor=\"white\", pil_kwargs={\"compression\": \"tiff_lzw\"})"
"plt.savefig(\"../dt_figs/Fig8_methodology.tiff\", facecolor=\"white\", pil_kwargs={\"compression\": \"tiff_lzw\"})"
]
},
{
Expand Down

0 comments on commit f755785

Please sign in to comment.