Issue
At some point, python plot color (either using jupyter notebook or ipython #%% command) is synced with my vscode theme. It wasn't before that the plot had white background as default.
When I use darker theme (monokai or vscode dark theme), the plot background become black. However, when I change it to light theme, the default python color comes back (white background). I need white background as default. I can set plot color for every script but it's very nuisance when I run other person's code, especially during collaborative works.
Which setting in vscode should I deal with? I tried several options related to jupyter, but they didn't solve my problem.
If the setting related to ipython, how can I check the setup?
Solution
I figured it out. There was an option in vscode setting whether to set the ipython images to match with the background color or not.
It took me several months to find this option, and I cannot figure it out again right now. But if someone is suffering with this problem like me, scrutinize the vscode setting.
Answered By - leeway00
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.