offline "notebook" renderer with LaTeX requires an internet connection
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
When using pio.renderers.default = "notebook" and exporting to HTML via nbconvert, the resulting HTML includes a MathJax import from a CDN:
"https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_SVG"
This behavior appears to contradict the documentation for the notebook interactive renderer, which suggests that all required assets should be self-contained: https://plotly.com/python/renderers/
Could you clarify whether this is expected behavior or a bug?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
pio.renderers.default = "notebook" で問題を再現し、オフラインで nbconvert を使用して notebook をエクスポートします。生成された HTML と notebook renderer のドキュメントを調査し、MathJax をバンドルすべきか、またはドキュメントで CDN 依存関係を説明すべきかを判断します。動作とドキュメントが一致していれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- jupyter-notebook, latex, python
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100