matplotlib / matplotlib/ipympl

VSCode renderer background not changing with style

Open
#503 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
1.7k
Forks
234
PR merge metrics
No merged PRs in 30d

Description

## 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

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the VS Code renderer with a dark plot style, then read the related matplotlib/ipympl issue for context. The work is done when the renderer background matches the normal VS Code background or the selected plot style consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, vscode
Domain
data-visualization, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.