Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 369a15c

Browse files
committed
minor tweaks to the image tut
svn path=/branches/v0_99_maint/; revision=7583
1 parent cee6fe1 commit 369a15c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

doc/users/image_tutorial.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ Startup commands
1212

1313
At the very least, you'll need to have access to the :func:`~matplotlib.pyplot.imshow` function. There are a couple of ways to do it. The easy way for an interactive environment::
1414

15-
$ipython -pylab -wthread
15+
$ipython -pylab
1616
1717
The imshow function is now directly accessible (it's in your
1818
`namespace <http://bytebaker.com/2008/07/30/python-namespaces/>`_).
1919
See also :ref:`pyplot-tutorial`.
2020

21-
The more expressive, easier to understand later method (use this in your scripts to make it easier for others (including your future self) to read)::
21+
The more expressive, easier to understand later method (use this in
22+
your scripts to make it easier for others (including your future self)
23+
to read) is to use the matplotlib API (see :ref:`artist-tutorial`) where you use explicit namespaces and control object creation, etc...
2224

23-
$ipython -wthread
24-
2525
.. sourcecode:: ipython
2626

2727
In [1]: import matplotlib.pyplot as plt

0 commit comments

Comments
 (0)