plotly/plotly.js

Slow restyle when using Latex/Mathjax legend names

epkRichi opened this issue · 1 comments

I've created an application where moving a slider will update the plot using Plotly.restyle. Initially, this was all very smooth, but when I used Latex for the legend names, it became very sluggish. Seems like updates using restyle (or also other functions) will rerender the legend, even if no name attribute was specified.

Here is a small example.

Is this is a known issue and is there a workaround?

Hi - we are trying to keep the issues and PRs in Plotly's public repositories tidy so that we can focus on bugs that are most important to our community. For tech support and "how-to" questions, please post in our community forum https://community.plotly.com/. Thank you - @gvwilson