From a53b663dcf8528aaa548b44b5b42b94d2a615d8f Mon Sep 17 00:00:00 2001 From: Vitor Shen <17490173+shenvitor@users.noreply.github.com> Date: Mon, 26 Aug 2024 16:20:17 +0200 Subject: [PATCH] static filename --- docs/eta-pi-p/automated.ipynb | 7 ++----- docs/eta-pi-p/manual.ipynb | 10 +++++++--- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/docs/eta-pi-p/automated.ipynb b/docs/eta-pi-p/automated.ipynb index b861d25..1398fb4 100644 --- a/docs/eta-pi-p/automated.ipynb +++ b/docs/eta-pi-p/automated.ipynb @@ -18,9 +18,6 @@ "cell_type": "code", "execution_count": null, "metadata": { - "jupyter": { - "source_hidden": true - }, "mystnb": { "code_prompt_show": "Import Python libraries" }, @@ -489,7 +486,7 @@ "fig_2d.colorbar(mesh, ax=ax_2d)\n", "\n", "if STATIC_PAGE:\n", - " filename = \"dalitz-plot.png\"\n", + " filename = \"dalitz-plot-auto.png\"\n", " fig_2d.savefig(filename)\n", " plt.close(fig_2d)\n", " display(UI, Image(filename))\n", @@ -580,7 +577,7 @@ "fig.tight_layout()\n", "\n", "if STATIC_PAGE:\n", - " filename = \"1d-histograms.svg\"\n", + " filename = \"1d-histograms-auto.svg\"\n", " fig.savefig(filename)\n", " plt.close(fig)\n", " display(UI, SVG(filename))\n", diff --git a/docs/eta-pi-p/manual.ipynb b/docs/eta-pi-p/manual.ipynb index 82a1bec..af59a82 100644 --- a/docs/eta-pi-p/manual.ipynb +++ b/docs/eta-pi-p/manual.ipynb @@ -867,7 +867,7 @@ "fig_2d.colorbar(mesh, ax=ax_2d)\n", "\n", "if STATIC_PAGE:\n", - " filename = \"dalitz-plot.png\"\n", + " filename = \"dalitz-plot-man.png\"\n", " fig_2d.savefig(filename)\n", " plt.close(fig_2d)\n", " display(UI, Image(filename))\n", @@ -957,7 +957,11 @@ { "cell_type": "code", "execution_count": null, - "metadata": {}, + "metadata": { + "jupyter": { + "source_hidden": true + } + }, "outputs": [], "source": [ "%matplotlib widget\n", @@ -1019,7 +1023,7 @@ "fig.tight_layout()\n", "\n", "if STATIC_PAGE:\n", - " filename = \"1d-histograms.svg\"\n", + " filename = \"1d-histograms-man.svg\"\n", " fig.savefig(filename)\n", " plt.close(fig)\n", " display(UI, SVG(filename))\n",