ipython --pylab interactive mode problem.

Hi all,

I've update matplotlib to the git version of the software (1.4.x), after
updating it the interactive mode on ipython stopped working.

I'll briefly show what happens:

$ ipython -- pylab
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
Type "copyright", "credits" or "license" for more information.

IPython 0.12.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object', use 'object??' for extra details.

Welcome to pylab, a matplotlib-based Python environment [backend: GTKAgg].
For more information, type 'help(pylab)'

In [1]: plot(np.sin(np.arange(0,10,0.1)))
Out[1]: [<matplotlib.lines.Line2D at 0x42458d0>]

And it doesn't pop un anything until I enter command show().

I tried to change the backend from configuration file, but it doesn't affect

The only way to automatically show it is to enter after plot statement,
pause statement (I read it from the github discussions!).

Either commands like ion() and interactive(True) don't affect anything!!

Anyone knows how to solve this issue?

Thank you,


View this message in context: http://matplotlib.1069221.n5.nabble.com/ipython-pylab-interactive-mode-problem-tp43144.html
Sent from the matplotlib - users mailing list archive at Nabble.com.

0.12.1 is a “very” old version of ipython. I know there have been some changes to matplotlib to deal with changes that ipython has made over the past two years, but I did think that they were all backwards compatible.

@mdboom, do you think this could be related to that “fix” we made on detecting whether we were at the REPL or not?

Yes! It was ipython issue!

I was convinced that my version were the github one!!! I'm sorry!

Thank you for the quick response!


View this message in context: http://matplotlib.1069221.n5.nabble.com/ipython-pylab-interactive-mode-problem-tp43144p43149.html
Sent from the matplotlib - users mailing list archive at Nabble.com.