skip to Main Content

screenshot of vscode

i didn’t try anything i am just looking for the answers
so first i have opened ipynb file in the vs code so when i try to use matplotlib to plot some graphs, it just showing the graphs in dark theme how can i change it to light theme as it is in the jupyter notebook file.

2

Answers


  1. Try adding this: plt.style.use('default').

    Login or Signup to reply.
  2. Modify your VS Code settings by preventing matplotlibs matching the editor’s theme on Jupyter interactive windows.

    Go to Settings (Ctrl + Mayus/Shift + Comma), find Jupyter: Matplotlib Plots option and uncheck it.

    Screenshot of settings

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search