matplotlib / matplotlib/ipympl

Question: should I use `%matplotlib widget` or `%matplotlib ipympl`

未关闭
#529 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
Jupyter Notebook
星标
1.7k
派生
234
PR 合并指标
30 天内没有已合并 PR

描述

the README suggests to use
%matplotlib widget

however based on a small experiment that I described also here
https://discourse.jupyter.org/t/interactive-matplotlib-in-jupyterlab-no-longer-working/20017/3?u=parmentelat

it seems like using
%matplotlib ipympl

works too, and even better in the sense that it works also in vs-code
so, which is best ?

(I have several hundreds of notebooks written with
%matplotlib notebook
and that now must be changed for jlab4/nb7 at least, so as far as possible Id like to change them only once ;-)

and thank you for the awesome tool 👍

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

从 README 中关于 %matplotlib widget 的指导开始,并将其与 JupyterLab 和 VS Code 中报告的 %matplotlib ipympl 行为进行比较。查看链接的 Discourse 实验,并确定文档应针对现有的 %matplotlib notebook notebook 给出什么建议。当 README 清楚说明应使用哪个 backend 以及其在哪些环境中有效时,即可视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
jupyter-notebook, matplotlib
领域
documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。