Skip to content

Commit 4cd7e9b

Browse files
committed
🎨 ensure plotly plots are rendered on readthedocs
1 parent d0b98ec commit 4cd7e9b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎docs/conf.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
html_js_files = [
5050
"https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.4/require.min.js"
5151
]
52+
os.environ["PLOTLY_RENDERER"] = "notebook" # compatibility with plotly6
5253

5354
# https://myst-nb.readthedocs.io/en/latest/configuration.html
5455
# Execution

0 commit comments

Comments
 (0)