Skip to content

Commit fee8218

Browse files
author
pkienzle
committed
nx is no longer a pylab symbol
svn path=/trunk/matplotlib/; revision=5847
1 parent 8f42ab1 commit fee8218

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/widgets/multicursor.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from matplotlib.widgets import MultiCursor
2-
from pylab import figure, show, nx
2+
from pylab import figure, show, pi, arange, sin
33

4-
t = nx.arange(0.0, 2.0, 0.01)
5-
s1 = nx.sin(2*nx.pi*t)
6-
s2 = nx.sin(4*nx.pi*t)
4+
t = arange(0.0, 2.0, 0.01)
5+
s1 = sin(2*pi*t)
6+
s2 = sin(4*pi*t)
77
fig = figure()
88
ax1 = fig.add_subplot(211)
99
ax1.plot(t, s1)

0 commit comments

Comments
 (0)