[Numpy-svn] r5028 - trunk/numpy/doc

numpy-svn@scip... numpy-svn@scip...
Sun Apr 13 05:04:17 CDT 2008


Author: jarrod.millman
Date: 2008-04-13 05:04:14 -0500 (Sun, 13 Apr 2008)
New Revision: 5028

Modified:
   trunk/numpy/doc/example.py
Log:
adding abreviation for pyplot


Modified: trunk/numpy/doc/example.py
===================================================================
--- trunk/numpy/doc/example.py	2008-04-13 06:05:28 UTC (rev 5027)
+++ trunk/numpy/doc/example.py	2008-04-13 10:04:14 UTC (rev 5028)
@@ -12,11 +12,12 @@
 # auto-generated documentation.
 __docformat__ = "restructuredtext en"
 
-import os                      # standard library imports first
+import os                        # standard library imports first
 
-import numpy as np             # related third party imports next
-import scipy as sp             # imports should be at the top of the module
-import matplotlib as mpl       # imports should usually be on separate lines
+import numpy as np               # related third party imports next
+import scipy as sp               # imports should be at the top of the module
+import matplotlib as mpl         # imports should usually be on separate lines
+import matplotlib.pyplot as plt
 
 def foo(var1, var2, long_var_name='hi') :
     """One-line summary or signature.



More information about the Numpy-svn mailing list