Rendering LaTeX in Figure Not Working
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
Hello,
I've encountered a bug when trying to add LaTeX in a plot through annotation or title. Check out the screenshot below:
As you can see, I'm using JupyerLab so maybe it's a Jupyter specific problem (I still need to check this out). The problem appears in the current version, 6.2.0, as well as the current commit in the main branch, 4cd70adb576433db0f64a7c8883f199f4b6dc62a. The problem is not present in v6.0.1b0. I did a bit of git bisect to narrow down what commit caused the bug but couldn't arrive at one commit because some commits don't result in a successful build. More details from my investigation:
Last working commit: c8b38f41c504e142139f1146caa9ec934e9b5164
First documented broken commit: b4cd36cb476153db726ad8322005334cc8e3e5b1
Skipped commits from bisecting:
# possible first bad commit: [f51b3dc422e5e18f0bb248af941cc99518315c70] Add build file
# possible first bad commit: [525425823cd4cf382f8761165217d4420cd1ee71] Add build step to check for js build changes in CI
# possible first bad commit: [cbfddad7e7780f119d8ebfa83420e048a242df8e] Add CI to check for changes to js build files
# possible first bad commit: [b8cc069559ab1ae8217ae57a946fde56ca188472] Update build files included in output
# possible first bad commit: [4bcbd304c21bf482225a69ac767e313b40cc4457] Black
# possible first bad commit: [1db6c819efcc0759c9a563ca966806987b84d326] Add js build to CI
# possible first bad commit: [1260612f00cb69490939750f2dc6317960a8be19] Update node root path in commands.py
# possible first bad commit: [0859aef980c9cbdce805a47440942ab465ea7f95] Merge branch 'main' of github.com:plotly/plotly.py into notebook-connected-default
# possible first bad commit: [3a6f3ee217721b84d7b12354934756bc0e6bb767] Revert changes to requirements
# possible first bad commit: [62721e90236b66c3d2b4b32b4dbccaf572b98a33] Add js build to dev build
# possible first bad commit: [e3afcf7f89a534cf460e3a94aced0ce4f6372e68] Add version into package
# possible first bad commit: [c67cadac0ed78ee00e1d91c0815e7bf1360baeab] Add metadata about jupyterlab extension
# possible first bad commit: [b827f02795f2a874b434b8989afb4ae321b38425] Update path of js output
# possible first bad commit: [ca54548709c3ffd39c94f00581e0f693809add1b] Update js access to use new filepaths
# possible first bad commit: [18f70acc5e2d9c62a2138ffebbab4d8941a52991] AUpdate file structure and make package include jupyterlab files
# possible first bad commit: [4a2f699ac00f3a846eb9aa92a41f0ffd2fd4101e] Make default renderer in jupyterlab/notebook plotly_mimetype
Let me know if you have any questions or any way I can help with this issue.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
現在のバージョンを使用して、JupyterLab のプロット注釈またはタイトルで LaTeX のレンダリングを再現し、その後 v6.0.1b0 と比較します。最後に動作していたコミット c8b38f41c504e142139f1146caa9ec934e9b5164 と、最初に不具合が記録されたコミット b4cd36cb476153db726ad8322005334cc8e3e5b1 の間の変更を調査します。影響を受ける Figure コンテキストで LaTeX が正しくレンダリングされれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter-notebook, latex, python
- 領域
- data-visualization, frontend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100