diff options
Diffstat (limited to 'numpy')
| -rw-r--r-- | numpy/__init__.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/numpy/__init__.py b/numpy/__init__.py index 3260046d6..22c90677e 100644 --- a/numpy/__init__.py +++ b/numpy/__init__.py @@ -85,10 +85,11 @@ __version__ Viewing documentation using IPython ----------------------------------- -Start IPython with the NumPy profile (``ipython -p numpy``), which will -import `numpy` under the alias ``np``. Then, use the ``cpaste`` command to -paste examples into the shell. To see which functions are available in -`numpy`, type ``np.<TAB>`` (where ``<TAB>`` refers to the TAB key), or use + +Start IPython and import `numpy` usually under the alias ``np``: `import +numpy as np`. Then, directly past or use the ``%cpaste`` magic to paste +examples into the shell. To see which functions are available in `numpy`, +type ``np.<TAB>`` (where ``<TAB>`` refers to the TAB key), or use ``np.*cos*?<ENTER>`` (where ``<ENTER>`` refers to the ENTER key) to narrow down the list. To view the docstring for a function, use ``np.cos?<ENTER>`` (to view the docstring) and ``np.cos??<ENTER>`` (to view |
