You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out after hours of debugging, that my write_image() in plotly had become significant slower.
I realized that this was happening because I had added: pio.kaleido.scope.mathjax = with_mathjax at some point inside a for loop
i.e. every time this property is set, the plotly server gets shutdown. Which was causing my code to run about 10x slower.
It would be great if we could set this up so that the shutdown is only triggered if required
The text was updated successfully, but these errors were encountered:
I found out after hours of debugging, that my write_image() in plotly had become significant slower.
I realized that this was happening because I had added:
pio.kaleido.scope.mathjax = with_mathjax
at some point inside a for loopafter a bunch of debugging, I found:
https://github.com/plotly/Kaleido/blob/v0.1.0/repos/kaleido/py/kaleido/scopes/plotly.py#L150
i.e. every time this property is set, the plotly server gets shutdown. Which was causing my code to run about 10x slower.
It would be great if we could set this up so that the shutdown is only triggered if required
The text was updated successfully, but these errors were encountered: