Matplotlib Switching.ipynb
101 lines
| 42.6 KiB
| text/plain
|
TextLexer
In [1]:
# Should pop up a GUI window
%matplotlib
import matplotlib.pyplot as plt
plt.plot([1,2,3])
Out[1]:
In [2]:
# Should make an inline figure
%matplotlib inline
plt.plot([1,2,3])
Out[2]:
In [3]:
# New GUI window--should *NOT* have the visual settings of inline
%matplotlib qt
plt.plot([1,2,3])
Out[3]: