plotly / plotly/plotly.py

Titles with LATEX strings doesn't appear in firefox

Offen
#2,887 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

bug P3
Vorherrschende Sprache
Python
Sterne
18.8k
Forks
2.8k
Ø Merge
16 Std. 26 Min.
Gemergte PRs (30 T.)
21

Beschreibung

Since last week, I'm observing that if figure or axis titles have LATEX string, they don't show up when using notebook from firefox. I can confirm this using the latest version i.e. 4.12, but same problem is there for earlier versions like 4.8 and 4.10 (I've tested them, not sure why they used to work before and not now):
image

Though the same works perfect in chrome.
image

So this problem is specific to firefox. And I must mention that LATEX strings render perfectly in firefox when displaying them using IPython.Math or simply in matplotlib as axis labels or title. So my guess is that this problem is specific to some MathJax configuration in plolty itself - this error message from firefox console may help:
image


Please let me know if I can provide more useful information.

Thanks for the great work!

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Reproduziere die fehlende LaTeX-Abbildung oder die fehlenden Achsentitel in einem Notebook mit Firefox und vergleiche das Ergebnis mit Chrome. Untersuche den Firefox-Konsolenfehler und das Rendering-Verhalten im Zusammenhang mit MathJax; abgeschlossen ist die Aufgabe, wenn LaTeX-Titel in Firefox genauso gerendert werden wie in Chrome.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
jupyter-notebook, plotly, python
Bereich
data-visualization, frontend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.