Matplotlib not working in Spyder IPython but works in Spyder console

576 views
Skip to first unread message

Chet Seligman

unread,
May 17, 2016, 3:50:46 PM5/17/16
to spyder
Python 3.5.1 |Anaconda 2.5.0 (64-bit)

The attached script works well and plots when used in the Spyder console
But when used with Spyder IPython 4.0.3 the plot hangs.

When I try to run the script directly in IPython, I get the figure and labels, but without any graph

What am I doing wrong?
EulerRats1.py

Big Stone

unread,
May 19, 2016, 1:14:23 PM5/19/16
to spyder
maybe add first in your notebook a

%matplotlib inline

Big Stone

unread,
May 19, 2016, 1:16:09 PM5/19/16
to spyder
or a
%matplotlib qt
or a
%matplotlib qt5

depending of your taste

Big Stone

unread,
May 19, 2016, 1:30:01 PM5/19/16
to spyder
I'm running on Spyder dev and Qt5, so maybe it doesn't apply for you.
Reply all
Reply to author
Forward
0 new messages