##// END OF EJS Templates
Add an option (`ipython_warning_is_error`) to not stop on error....
Add an option (`ipython_warning_is_error`) to not stop on error. The behavior pre-6.5 was to keep on going even if unexpected exceptions or warnings were shown, on 7.x the default is to abort the build. For compat reasons (and convenience), you can now set back the behavior to the original one to just log to stderr and move on.

File last commit:

r20278:8f4dcac7
r24714:ac578800
Show More
Matplotlib Switching.ipynb
654 lines | 48.5 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>]