Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use the Plots pane in Spyder 4

Tags:

spyder

I want to use the Plots Pane to look at earlier plots, but nothing ever shows up. I tried changing the graphics backend, but that didn't do anything. I can't find any documentation on the plots pane either.

Current Version: Python 3.7.6 64-bit | Qt 5.12.5 | PyQt5 5.12.3 | Windows 10

like image 310
BurnNote Avatar asked Jan 17 '20 07:01

BurnNote


People also ask

How do I change the Spyder panes?

In the Spyder 4.0+ version, go to View menu, unselect "lock panes and toolbars" then you can drag the top area of each pane and move them freely.


2 Answers

(Spyder maintainer here) You need to be sure that the Inline backend is selected in our Preferences:

Inline backend selected

Then create some plots on any IPython console:

Plots in the IPython console

and you'll see the history of plots in our Plots pane:

Plots pane

  • Verify the plot plane is visible with ctrl + shift + g or View + Panes + Plots
  • A reboot may be necessary if changes are made.
like image 112
Carlos Cordoba Avatar answered Nov 03 '22 01:11

Carlos Cordoba


enter image description here

As you can see plot can be seen inline as well as plot option.

like image 20
Sushant Avatar answered Nov 03 '22 01:11

Sushant