"notebook" renderer still requirering an internet connexion
When using pio.renderers.default = "notebook" and exporting to HTML via nbconvert, the resulting HTML includes a MathJax import from a CDN:
"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG"
This behavior appears to contradict the documentation for the notebook interactive renderer, which suggests that all required assets should be self-contained: https://plotly.com/python/renderers/
Could you clarify whether this is expected behavior or a bug?
Oh I believe this is a bug! I have to check the behavior from plotly<6 but this should be a quick fix.
Additional context: Found a note on the intended behavior for including mathjax in offline mode: https://github.com/plotly/plotly.py/blob/1ec864bbed58ee2834a879d323ade4b53bfde364/plotly/offline/offline.py#L522-L524