Open remingtonsexton opened 4 years ago
+1 for this! This bug is a blocking item for use of Plotly in publication materials.
Now that that firefox issue workaround was implemented ( https://github.com/plotly/plotly.js/pull/5993 ), maybe it'll be easier to debug this?
Just wanted to bump this as I make my own plot for publication. Here with html. I can render LaTeX in the title or as axes titles, but if I try the colorbar the color axis tick values are reset. The LaTeX does display though incorrectly oriented. With Latex:
Any updates?
This might be associated, When trying to add a Latex formatted colorbar title to a Scattermapbox marker, passing mathjax=True impedes the colorbar to be displayed. The same string shows normally with dcc.Markdown
I have posted this issue on plotly.py (here) however, someone on the plotly community forum said I should post it here as well.
I am trying to implement a LaTeX math title for my colorbar and plotly is having some trouble rendering it. I am using Python 2.7, Plotly 4.5.2. My code:
Which produces the output:
As you can see, the LaTeX title seems to be rotated 90 deg, and ignoring side='top'. I have tried to increase the width of the colorbar and increase the plot's margins to no avail. Is there a workaround or solution for this problem?
Update: I have found a workaround but not a solution. This is definitely a bug as far as I cant tell.
One option, if you do not require Greek alphabet, is to simply use HTML code, simply using italics, superscripts or subscripts.
If one wants to use Greek letters, HTML entities don't work, but a few decimal and hexadecimal codes do work.
This issue should be addressed, especially if Plotly is to be used for publishing purposes. Otherwise, Matplotlib is the alternative that does work.