Vscode-jupyter: ignoreVsCodeTheme setting isn't working anymore

Created on 25 Apr 2019  路  10Comments  路  Source: microsoft/vscode-jupyter

IgnoreVSCodeTheme should force the python interactive window to always be white.

It's not working.

All 10 comments

In the meantime, a workaround for the global setting:

sns.set_style(rc={'figure.facecolor':'white'})

image

Sorry about that. Ignorevscode theme will be fixed in our next insider's build

It seems like currently set ignoreVsCodeTheme to true will also affect the color of the code in the interactive windows. Is this expected?

Yes that's the intent. It should behave entirely like you have the default theme selected.

It's busted in the current release, but the insider's build should fix it that way.

Here's a screenshot of it working:
image

The release bits are only sort of working, not sure if that's what you were referring to or not.

oh...ok.I thought it just makes the plots white like the style of the plot you will get by default in the Jupyter while keeping everything match the dark theme you're using.

@StevenLi-DS how did you get the facecolor to be white rather than transparent? It seems like the default is full transparency, but I don't know what/where the setting for the alpha is.

I just used a seaborn function like shown in the screenshot above. If it doesn't work, take a look at the following issue:
https://github.com/Microsoft/vscode-python/issues/3773

I just used a seaborn function like shown in the screenshot above. If it doesn't work, take a look at the following issue:
microsoft/vscode-python#3773

Huh, I did exactly that, but the facecolor for my figure is still transparent. I wonder if there's another setting somewhere that I'm missing. What backend are you using for matplotlib?

Never mind, I was running some line magic that apparently was overriding that particular setting. Thanks for your quick response!

Was this page helpful?
0 / 5 - 0 ratings