matplot plot hangs

Wolfgang Maier wolfgang.maier at biologie.uni-freiburg.de
Wed Nov 1 05:43:42 EDT 2017


On 01.11.2017 00:40, Andrew Z wrote:
> hello,
>   learning python's plotting by using matplotlib with python35 on fedora 24
> x86.
> 
> Installed matplotlib into user's directory.
> tk, seemed to work -
> http://www.tkdocs.com/tutorial/install.html#installlinux - the window shows
> up just fine.
> but when trying to run the simple plot (
> https://matplotlib.org/examples/pylab_examples/simple_plot.html) the script
> is hanging on;
> 
> plt.plot(t, s)
> 
> attempts to
> matplotlib.interactive(True) didn't bring anything,
> 

Hi Andrew,

 From which environment are you trying to run the example? In the 
terminal, from within some IDE, inside a jupyter notebook?

Are you sure the script "is hanging on plt.plot(t, s)" and not after that?

Best,
Wolfgang




More information about the Python-list mailing list