|
From: <pki...@us...> - 2008-07-24 19:36:37
|
Revision: 5847
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5847&view=rev
Author: pkienzle
Date: 2008-07-24 19:36:34 +0000 (Thu, 24 Jul 2008)
Log Message:
-----------
nx is no longer a pylab symbol
Modified Paths:
--------------
trunk/matplotlib/examples/widgets/multicursor.py
Modified: trunk/matplotlib/examples/widgets/multicursor.py
===================================================================
--- trunk/matplotlib/examples/widgets/multicursor.py 2008-07-24 19:27:11 UTC (rev 5846)
+++ trunk/matplotlib/examples/widgets/multicursor.py 2008-07-24 19:36:34 UTC (rev 5847)
@@ -1,9 +1,9 @@
from matplotlib.widgets import MultiCursor
-from pylab import figure, show, nx
+from pylab import figure, show, pi, arange, sin
-t = nx.arange(0.0, 2.0, 0.01)
-s1 = nx.sin(2*nx.pi*t)
-s2 = nx.sin(4*nx.pi*t)
+t = arange(0.0, 2.0, 0.01)
+s1 = sin(2*pi*t)
+s2 = sin(4*pi*t)
fig = figure()
ax1 = fig.add_subplot(211)
ax1.plot(t, s1)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|