matplotlib / matplotlib/matplotlib
[Doc]: difference between pyplot.draw and fig.canvas.draw_idle
還沒有人認領這個 Issue。
- 主要語言
- Python
- 星號
- 23.2k
- 分支
- 8.5k
- 平均合併
- 1 天 6 小時
- 30 天內合併 PR
- 66
描述
### Documentation Link
https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.draw.html
### Problem
> This is equivalent to calling `fig.canvas.draw_idle()`, where `fig` is the current figure.
To me, `draw` sounds a synchronous behavior, whereas `draw_idle` sounds like an asynchronous behavior. I think this statement of equivalence is confusing, because it claims what sounds to me like two different behaviors, are actually the same.
Can we elaborate on the equivalence, perhaps making it more clear what `draw_idle` means?
Also, on that page, can we link to the docs for `draw_idle` (if there are docs on it)?
### Suggested improvement
I am not familiar with `matplotlib` enough to make a quality suggestion here.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
先從連結頁面上的 pyplot.draw 文件開始,接著找到並閱讀 fig.canvas.draw_idle 的文件,以了解所聲稱的等價性。在 draw 的描述中釐清同步或延遲行為,並新增指向 draw_idle 的連結;文件應毫無歧義地說明其中的差異。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100