Nam G VU
Nam G VU

Reputation: 35394

PyCharm how to remove SciView

My google search and search in PyCharm plugins list results as little helpful

So I raise it here, how to remove SciView pane in PyCharm?

enter image description here

Upvotes: 19

Views: 30194

Answers (4)

runDOSrun
runDOSrun

Reputation: 10995

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.

Upvotes: 7

Dr. Waleed Aldhahi
Dr. Waleed Aldhahi

Reputation: 377

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":

Go to Preferences

2- Go to "Tools" then "Python Scientific":

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)

Upvotes: 5

Melvin
Melvin

Reputation: 1610

  1. Under Settings => Tools => Python Scientific Uncheck the (only) box "Show plots in toolwindow". Future plots should appear "normally" and not in SciView.

  2. To remove from the side panel entirely, right click on the SciView tab, and select "Remove from Sidebar".

Upvotes: 36

Claudiu Creanga
Claudiu Creanga

Reputation: 8366

You either get out of Scientific mode by unchecking it:

enter image description here

or click to close the panel on top right (->|) if you want to remove just the panel.

Upvotes: 6

Related Questions