MyST-NB icon indicating copy to clipboard operation
MyST-NB copied to clipboard

Plotly plot is not shown in docs

Open enryH opened this issue 11 months ago • 1 comments

Describe the bug

See: https://myst-nb.readthedocs.io/en/latest/render/interactive.html#plotly context On the built documentation.

expectation The plotly plot is rendered in the browser.

bug Instead I see a white, empty space.

problem The problem is related to plotly. I see it also failing with other projects. I here just want to report that the docs are affected.

Reproduce the bug

Go to https://myst-nb.readthedocs.io/en/latest/render/interactive.html#plotly

List your environment

No response

enryH avatar Feb 18 '25 11:02 enryH

It's related to the latest plotly 6.0 release. Downgrading to 5 would fix the issue, also see: https://github.com/plotly/plotly.py/issues/5027

enryH avatar Feb 18 '25 12:02 enryH