Revision: 5735
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5735&view=rev
Author:   dsdale
Date:     2008-07-11 05:18:43 -0700 (Fri, 11 Jul 2008)

Log Message:
-----------
fixed a couple typos in artists.rst

Modified Paths:
--------------
    trunk/matplotlib/doc/users/artists.rst

Modified: trunk/matplotlib/doc/users/artists.rst
===================================================================
--- trunk/matplotlib/doc/users/artists.rst      2008-07-10 18:59:18 UTC (rev 
5734)
+++ trunk/matplotlib/doc/users/artists.rst      2008-07-11 12:18:43 UTC (rev 
5735)
@@ -68,19 +68,20 @@
 of ``[left, bottom, width, height]`` values in 0-1 relative figure
 coordinates::
 
-    ax2 = fig.add_axes([0.15, 0.1, 0.7, 0.3])
+    fig2 = plt.figure()
+    ax2 = fig2.add_axes([0.15, 0.1, 0.7, 0.3])
 
 Continuing with our example::
 
     import numpy as np
     t = np.arange(0.0, 1.0, 0.01)
     s = np.sin(2*np.pi*t)
-    line, = ax1.plot(t, s, color='blue', lw=2)
+    line, = ax.plot(t, s, color='blue', lw=2)
 
 In this example, ``ax`` is the ``Axes`` instance created by the
 ``fig.add_subplot`` call above (remember ``Subplot`` is just a
-subclass of ``Axes``) and when you call ``ax.plot``, it creates a
-``Line2D`` instance and adds it the the :attr:`Axes.lines
+subclass of ``Axes``) and when you call ``ax.plot``, it createsa
+``Line2D`` instance and adds it the :attr:`Axes.lines
 <matplotlib.axes.Axes.lines>` list.  In the interactive `ipython
 <http://ipython.scipy.org/>`_ session below, you can see that
 ``Axes.lines`` list is length one and contains the same line that was


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to