diff options
author | Stefan van der Walt <stefan@sun.ac.za> | 2008-06-03 22:36:09 +0000 |
---|---|---|
committer | Stefan van der Walt <stefan@sun.ac.za> | 2008-06-03 22:36:09 +0000 |
commit | 4bf8efd1f026eb40bd55099bbb57725b51b31520 (patch) | |
tree | 972f61b83663a21478280fd6d18849a62a0ea938 /numpy | |
parent | b547bbfd9fa94b825bf982ff16977e757b71856b (diff) | |
download | numpy-4bf8efd1f026eb40bd55099bbb57725b51b31520.tar.gz |
Update examples section.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/doc/HOWTO_DOCUMENT.txt | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/numpy/doc/HOWTO_DOCUMENT.txt b/numpy/doc/HOWTO_DOCUMENT.txt index 212cada3b..55d7d51f4 100644 --- a/numpy/doc/HOWTO_DOCUMENT.txt +++ b/numpy/doc/HOWTO_DOCUMENT.txt @@ -309,9 +309,10 @@ The sections of the docstring are: <BLANKLINE> b - The examples may assume that ``import numpy`` is executed before - the example code in *numpy*, and ``import scipy`` in *scipy*, but - other modules used should be explicitly imported. + The examples may assume that ``import numpy as np`` is executed before + the example code in *numpy*, and ``import scipy as sp`` in *scipy*. + Additional examples may make use of *matplotlib* for plotting, but should + import it explicitly, e.g., ``import matplotlib.pyplot as plt``. 11. **Indexing tags*** |