Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

Plotly figures are cropped in sphinx-gallery examples

未關閉
#4,828 1 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
python

研究方向

首先在 sphinx-gallery 範例中重現裁切現象,並比較調整視窗大小前後的顯示效果。以連結的 sphinx-gallery issue 為背景,調查影響 Plotly 圖形的 CSS。完成的標準是圖形能夠完整顯示,而不需要調整視窗大小。

由索引模型根據 Issue 內容生成。

描述

bug P2

Cross-post from https://github.com/sphinx-gallery/sphinx-gallery/issues/1394, as they asked me to post here.

TL;DR: Plotly figures in sphinx-gallery are cropped, but resizing the window makes them display correctly again. It appears to be a question of "CSS tweaks".

主要語言
Python
星號
18.8k
分支
2.8k
平均合併
13 小時 28 分鐘
30 天內合併 PR
20

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

plotly/plotly.py 的其他 Issue

查看 plotly/plotly.py 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。