##// END OF EJS Templates
Depend on gnureadline when building binary wheel or setupext.check_for_readline() fails...
Depend on gnureadline when building binary wheel or setupext.check_for_readline() fails This is a follow up to 4d9f6f00a4f0798e41700c22a839eddff0881692 based on the discussion in pull request #7047 where we seem to have found a middle ground that should make everyone happy :-)

File last commit:

r16114:15cc5a8e
r19126:0903427e
Show More
Matplotlib Switching.ipynb
101 lines | 42.6 KiB | text/plain | TextLexer
/ tools / tests / mpl-switch / Matplotlib Switching.ipynb
In [1]:
# Should pop up a GUI window
%matplotlib
import matplotlib.pyplot as plt
plt.plot([1,2,3])
Using matplotlib backend: MacOSX
Out[1]:
[<matplotlib.lines.Line2D at 0x10ce05350>]
In [2]:
# Should make an inline figure
%matplotlib inline
plt.plot([1,2,3])
Out[2]:
[<matplotlib.lines.Line2D at 0x10cd5dfd0>]
No description has been provided for this image
In [3]:
# New GUI window--should *NOT* have the visual settings of inline
%matplotlib qt
plt.plot([1,2,3])
Out[3]:
[<matplotlib.lines.Line2D at 0x10cd9cb10>]