plotly / plotly/plotly.py

Titles with LATEX strings doesn't appear in firefox

Open
#2,887 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P3
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

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!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the missing LaTeX figure or axis titles in a notebook using Firefox and compare the result with Chrome. Inspect the Firefox console error and the MathJax-related rendering behavior; done means LaTeX titles render in Firefox as they do in Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, plotly, python
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.