Double dollar ($$) causes a string to not display in charts


#1

If I have a chart with an axis label with two consecutive dollar signs ($$) in the string, it causes a “display: None” to be added to the CSS, so that single label is then not displayed (yet the hover text is shown fine, with the $$). I tried unescaping them, but that didn’t help. It’s not a big issue, I can remove the $$ from the labels without affecting the chart, but just wondering why this happens?

Thanks.


#2

plotly.js interprets characters inside $$ as mathjax symbols. See https://plot.ly/javascript/LaTeX/ for examples