##// END OF EJS Templates
Don't reset the readline completer after each prompt...
Don't reset the readline completer after each prompt This makes it impossible to setup a custom completer. The comment says that "we must ensure that our completer is back in place," but I don't see why. All that does it make it impossible to use a different completer. One can trick IPython into not doing this by monkeypatching ip.has_readline to False, but then certain features like multiline editing are no longer enabled. See https://github.com/davidhalter/jedi/pull/321.

File last commit:

r9455:89fe4319
r12906:1363065e
Show More
Pylab Switching.ipynb
107 lines | 8.3 KiB | text/plain | TextLexer
In [3]:
# Should pop up a GUI window
%pylab qt
plot([1,2,3])
Welcome to pylab, a matplotlib-based Python environment [backend: Qt4Agg].
For more information, type 'help(pylab)'.
Out[3]:
[<matplotlib.lines.Line2D at 0x4566850>]
In [4]:
# Should make an inline figure
%pylab inline
plot([1,2,3])
Welcome to pylab, a matplotlib-based Python environment [backend: module://IPython.kernel.zmq.pylab.backend_inline].
For more information, type 'help(pylab)'.
Out[4]:
[<matplotlib.lines.Line2D at 0x4830ad0>]
No description has been provided for this image
In [11]:
# New GUI window--should *NOT* have the visual settings of inline
%pylab qt
plot([1,2,3])
Welcome to pylab, a matplotlib-based Python environment [backend: Qt4Agg].
For more information, type 'help(pylab)'.
Out[11]:
[<matplotlib.lines.Line2D at 0x5253850>]