matplot plot hangs

Andrew Z formisc at gmail.com
Wed Nov 1 08:49:25 EDT 2017


Wolfgang,
 I tried to ran from ide with no rwsults, so now im trying from a terminal
in xwindow.
The .plot is the last line in the script and it does hang trying to execute
it.


On Nov 1, 2017 05:44, "Wolfgang Maier" <
wolfgang.maier at biologie.uni-freiburg.de> wrote:

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

-- 
https://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list