My program works fine when I view it in scientific mode, but I found that I cannot edit the plot in scientific mode, while I remember I can do that when the plot is displayed in a separate window. So I just disable the Python Scientific -> Show plots in tool window, then my program still runs with no error, but no figure is displayed.
Because it can be displayed normally for the scientific mode, I don't think this is the problem of my program. It must be some setting for my PyCharm that went wrong. I have looked for the answers but most of those answers only address the problem of incorrect backend, apparently not applicable to my scenario.
I actually think PyCharm scientific view is more of a hindrance than a help. It reduces the original functionality for editing the plot and only leaves it with a rastered version of the plots.
In Scientific view it totally reduces the option to adjust the plot, while when I tried to disable the scientific view, nothing was displayed. This is quite annoying.
