matplotlib / matplotlib/ipympl

VSCode renderer background not changing with style

未关闭
#503 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

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

描述

## Describe the issue

switched to dark plot style, background isn't changing. Ideally it would just match the normal vscode background, but copying the plot style would work too

![image](https://user-images.githubusercontent.com/9356891/207477387-440d9952-7899-43f0-9752-a46bf2659f1d.png)

![image](https://user-images.githubusercontent.com/9356891/207477803-f1489d04-957e-40c4-9aa4-be8d4d40e9b6.png)

## Versions

```
3.9.12 (main, Apr 4 2022, 05:22:27) [MSC v.1916 64 bit (AMD64)]
ipympl version: 0.9.2

Selected Jupyter core packages...
IPython : 7.30.1
ipykernel : 6.6.1
ipywidgets : 7.7.0
jupyter_client : 7.1.0
jupyter_core : 4.9.1
jupyter_server : not installed
jupyterlab : not installed
nbclient : 0.6.4
nbconvert : 6.5.0
nbformat : 5.4.0
notebook : 6.4.12
qtconsole : not installed
traitlets : 5.5.0

Known nbextensions:
config dir: C:\Users\TeamD\.jupyter\nbconfig
notebook section
jupyter-js-widgets/extension enabled
config dir: C:\Users\TeamD\.conda\envs\subgame\etc\jupyter\nbconfig
notebook section
jupyter-matplotlib/extension enabled
jupyter-js-widgets/extension enabled
- Validating: ok
- Validating: ok
- Validating: ok

Jupyter command `jupyter-labextension` not found.
```

Maybe related?

https://github.com/matplotlib/ipympl/issues/25

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先,在使用深色绘图样式的 VS Code renderer 中复现该问题,然后阅读相关的 matplotlib/ipympl issue 以了解背景。当 renderer 的背景始终与正常的 VS Code 背景或所选绘图样式匹配时,工作就完成了。

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

评估

技术栈
jupyter-notebook, vscode
领域
data-visualization, frontend
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
42/100

把新 issue 发到你的邮箱

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