You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using ipython on Fedora Linux 13. They recently updated from 0.10 to 0.10.1 and interactive matplotlib plotting no longer works when using the -pylab option. I posted an issue on Fedora's bug tracker as well at https://bugzilla.redhat.com/show_bug.cgi?id=663823.
Here is how to reproduce it:
$ ipython -pylab
In [1]: import pylab
In [2]: pylab.plot([0,1],[1,0])
Out[2]: [<matplotlib.lines.Line2D object at 0x255d390>]
Historically after running this command a matplotlib plot would have popped up,
but it no longer does. So if you then run pylab.show(), it will pop up, but it
blocks and is not interactive as before. Then when you close the plot that
popped up, it continues to block. It is hung. After waiting a long time, I hit
Ctrl-C, and I get the following message:
In [3]: pylab.show()
^CERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (332, 0))
I am using ipython on Fedora Linux 13. They recently updated from 0.10 to 0.10.1 and interactive matplotlib plotting no longer works when using the -pylab option. I posted an issue on Fedora's bug tracker as well at https://bugzilla.redhat.com/show_bug.cgi?id=663823.
Here is how to reproduce it:
$ ipython -pylab
In [1]: import pylab
In [2]: pylab.plot([0,1],[1,0])
Out[2]: [<matplotlib.lines.Line2D object at 0x255d390>]
Historically after running this command a matplotlib plot would have popped up,
but it no longer does. So if you then run pylab.show(), it will pop up, but it
blocks and is not interactive as before. Then when you close the plot that
popped up, it continues to block. It is hung. After waiting a long time, I hit
Ctrl-C, and I get the following message:
In [3]: pylab.show()
^CERROR: An unexpected error occurred while tokenizing input
The following traceback may be corrupted or invalid
The error message is: ('EOF in multi-line statement', (332, 0))
KeyboardInterrupt Traceback (most recent call last)
/home/lane/ in ()
/usr/lib64/python2.6/site-packages/matplotlib/backends/backend_gtk.pyc in
show(mainloop)
76 if mainloop and gtk.main_level() == 0 and
77 len(Gcf.get_all_fig_managers())>0:
---> 78 gtk.main()
79
80 def new_figure_manager(num, _args, *_kwargs):
KeyboardInterrupt:
In [4]:
When I revert back to 0.10, it works as expected.
The text was updated successfully, but these errors were encountered: