matplotlib / matplotlib/ipympl

VSCode renderer background not changing with style

Offen
#503 2 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
Jupyter Notebook
Sterne
1.7k
Forks
234
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, das Problem im VS Code-Renderer mit einem dunklen Plot-Stil zu reproduzieren, und lies dann das zugehörige matplotlib/ipympl-Issue zum Kontext. Die Arbeit ist abgeschlossen, wenn der Hintergrund des Renderers konsistent entweder dem normalen VS Code-Hintergrund oder dem ausgewählten Plot-Stil entspricht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
jupyter-notebook, vscode
Bereich
data-visualization, frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
42/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.