plotly / plotly/plotly.py

Titles with LATEX strings doesn't appear in firefox

未关闭
#2,887 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug P3
主要语言
Python
星标
18.8k
派生
2.8k
平均合并
16 小时 26 分钟
30 天内合并 PR
21

描述

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!

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

使用 Firefox 在 notebook 中重现缺失的 LaTeX 图或坐标轴标题,并将结果与 Chrome 进行比较。检查 Firefox 控制台错误以及与 MathJax 相关的渲染行为;当 LaTeX 标题在 Firefox 中的渲染效果与 Chrome 中相同时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
jupyter-notebook, plotly, python
领域
data-visualization, frontend
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。