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


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?



plotly.js interprets characters inside $$ as mathjax symbols. See for examples