You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve got a Jupyter notebook with Deno kernel in VSCode that displays an SVG. The SVG has a forced white background which doesn’t play well with dark mode.
Digging through the dev tools shows it’s caused by the following rule targeting the wrapping div. So, it isn't caused by the SVG itself. Not sure if this is caused by Deno, VSCode Jupyter extension or VSCode itself.
It's from VS Code, probably from whatever handles SVG rendering. The white background does not appear when rendering the image in JupyterLab.
As for this issue, you should be able to change the presentation of the output by clicking the ... button besides the output pane and changing the presentation:
On my VS Code installation, there are two renderers for image/svg+xml. The "built-in" renderer doesn't seem to add the white background. You may notice that it also lists which plugin handles the rendering.
Description
I’ve got a Jupyter notebook with Deno kernel in VSCode that displays an SVG. The SVG has a forced white background which doesn’t play well with dark mode.
Digging through the dev tools shows it’s caused by the following rule targeting the wrapping div. So, it isn't caused by the SVG itself. Not sure if this is caused by Deno, VSCode Jupyter extension or VSCode itself.
How can I unset the background color of the SVG?
Steps To Reproduce
Expected Result
Actual Result
Additional Information
VSCode extensions
The text was updated successfully, but these errors were encountered: