VS Code Jupyter notebooks matplotlib WIDGETS OUTPUT CELL background colour change?

Viewed 28

LTDR: I want the fourth image to look like the second image.

When using VS_Code and jupyter notebooks, if I use matplotlib widgets, the colour of the OUTPUT CELL background is white. This is very inconvenient. This issue is not present when using regular output(only when using widgets). I need to use widgets to give me interactive plots.

What settings should I change in order to make it work the way I want?

I have searched GITHUB issues for the VS Code jupyter extension, I have searched StackExchange, but they do not deal with my issue. There are questions that deal with changing the cell colours, but I do not need to change the cell colours. I need to change the OUTPUT CELL Background colour. (Please see the last two images. I want to get rid of the white background.)

There is a similar but not exactly the same and less detailed question that has also gone unanswered for a while now.

When not using widgets, no changes to plt.style NO_Widgets, White

When not using widgets, but background set to black by calling plt.style.use("dark_background") NO_Widgets_Black

When using widgets by calling%matplotlib widget and no changes to plt.style Widgets_White

when using both, %matplotlib widget and plt.style.use("dark_background") Widgets_Black

Jupyter extension version: v2022.4.1021342353

Jupyter Notebook Renderers: v1.0.9

VS_Code Details:

Version: 1.67.2 (system setup)
Commit: c3511e6c69bb39013c4a4b7b9566ec1ca73fc4d5
Date: 2022-05-17T18:15:52.058Z
Electron: 17.4.1
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Windows_NT x64 10.0.18363
0 Answers
Related