Skip to content

Commit ced3b9f

Browse files
committed
changed to notebook connected, it should work
also put in a runtimeerror, we can not use iframes because we have some ipynb in the same folder. And the names are not unique.
1 parent 688768f commit ced3b9f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/conf.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,14 @@
8989
# This can be a pure HTML (for interaction), but that tends
9090
# to blow up file-sizes which isn't really suitable for
9191
# RTD.
92-
plotly_renderer = "iframe_connected"
92+
plotly_renderer = "notebook_connected"
9393
if on_rtd:
9494
plotly_renderer = "png"
9595
plotly_renderer = os.environ.get("_SISL_DOC_PLOTLY", plotly_renderer)
9696

97+
if "iframe" in plotly_renderer:
98+
raise RuntimeError("sisl: is not compatible with plotly renderering in iframes")
99+
97100
# Store the renderer
98101
import plotly.io as pio
99102

0 commit comments

Comments
 (0)