PyCharm how to remove SciView
You can easily disable SciView in PyCharm and display the normal output of matplotlib by unchecking "Show plots in tool window" found in the following steps (My PyCharm version is 2019.3 Mac OS):
1- Go to "Preferences":
2- Go to "Tools" then "Python Scientific":
As a remark: the output images may close immediately with plt.show()
so you may add plt.hold(True)
to hold the output in Python.
Your test code might be:
import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4, 5])
plt.ylabel('random test numbers')
plt.show()
plt.hold(True)
If you want to generally keep SciView and only disable it for a specific project, you can also force the default backend:
import matplotlib
matplotlib.use('Qt5Agg')
This can also be useful to force the backend on collaborators if specific functionality is needed.
Under Settings => Tools => Python Scientific Uncheck the (only) box
"Show plots in toolwindow"
. Future plots should appear "normally" and not in SciView.To remove from the side panel entirely, right click on the SciView tab, and select "Remove from Sidebar".
You either get out of Scientific mode by unchecking it:
or click to close the panel on top right (->|) if you want to remove just the panel.