Why PyCharm jupyter notebooks give bad plots
I am using standard commands to plot but I am getting plots with black background and with grids which I did not ask for. Is this a bug with PyCharm new version? This was not the case before and I don't want to code unnecessarily to fix the plots with white background and black axis. I hope someone can help. Thank you.
Please sign in to leave a comment.
Rubin Dasgupta
This usually happens after a PyCharm update, but it’s not a matplotlib bug and not really a PyCharm “bug” either.
Easiest fix: turn off PyCharm’s Scientific plotting (Settings → Tools → Python Scientific), or reset the matplotlib style to default once. No need to rewrite all your plots.
Have a nice day!
Dashmetry
Thanks for the information. FYI for the version Pycharm 2025.3.1.1, Python Scientific or Scientific mode do not exist. However, the following commands used once works
Hi all!
Most probably the issue is caused by bug PY-86782. We’re already working on the fix. Please vote for the issue to receive updates on its status.