ipympl changes MPL backend on import
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
调研方向
检查 issue 和链接的 mne-python pull request review 中描述的导入时行为,重点关注导入 ipympl 会在何处改变 Matplotlib backend。使用 sys_info 风格的导入序列重现这一情况,并验证导入 ipympl 不再改变 backend,也不会导致报告中的 plot 生命周期问题。
由索引模型根据 Issue 内容生成。
描述
In mne-python (see above), we have a functionality called sys_info, which gives us (among other things) the versions of all sorts of installed packages.
For this reason, we also import ipympl.
At import time, ipympl actually changes the MPL backend.
Is this something that could be avoided? This change in backend was very surprising to us and it took an in-depth profiling to identify it as the cause of a massive memory leak in a pipeline that produced several plots on each iteration, never closing them due to the backend change.
- 主要语言
- Jupyter Notebook
- 星标
- 1.7k
- 派生
- 234
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
matplotlib/ipympl 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 35/100
matplotlib/ipympl#622 · 13 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
matplotlib/ipympl#612 ·
-
难度 3/5 1-2 天 新手友好度 45/100
matplotlib/ipympl#611 · 4 条评论 ·
-
难度 4/5 3-5 天 新手友好度 42/100
matplotlib/ipympl#609 · 7 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
matplotlib/ipympl#602 · 1 条评论 ·
查看 matplotlib/ipympl 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
-
external-issue to-triage
难度 2/5 1-3 小时 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 78/100
googleapis/google-cloud-swift#1151 ·
-
external
难度 2/5 1-3 小时 新手友好度 65/100
langchain-ai/langgraph#9074 · 1 条评论 ·
-
documentation specification
难度 1/5 1 小时以内 新手友好度 90/100
openai/openai-openapi#584 ·