From 659aa6eb3cc6978645703b6ac1e727e5306222f9 Mon Sep 17 00:00:00 2001 From: munechika-koyo Date: Thu, 25 Jun 2026 16:46:07 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Fix=20notebook=20to=20select=20p?= =?UTF-8?q?lotly=20renderer=20at=20the=20`fig.show()`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/notebooks/radiation/grid_3d.ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/notebooks/radiation/grid_3d.ipynb b/docs/notebooks/radiation/grid_3d.ipynb index 4e8dc8a..330d71b 100644 --- a/docs/notebooks/radiation/grid_3d.ipynb +++ b/docs/notebooks/radiation/grid_3d.ipynb @@ -236,10 +236,7 @@ "metadata": {}, "outputs": [], "source": [ - "import plotly.graph_objects as go\n", - "from plotly import io\n", - "\n", - "io.renderers.default = \"png\"" + "import plotly.graph_objects as go" ] }, { @@ -335,6 +332,9 @@ " eye=dict(x=0.0, y=-2.0, z=0.25),\n", " ),\n", " template=\"plotly_dark\",\n", + ")\n", + "fig.show(\n", + " renderer=\"png\",\n", ")" ] }