diff options
Diffstat (limited to 'numpy/doc/example.py')
-rw-r--r-- | numpy/doc/example.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/numpy/doc/example.py b/numpy/doc/example.py index bfc0cf338..635e75d53 100644 --- a/numpy/doc/example.py +++ b/numpy/doc/example.py @@ -12,11 +12,12 @@ a line by itself, preferably preceeded by a blank line. # 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. |