From: <mme...@us...> - 2008-09-24 09:21:45
|
Revision: 6120 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6120&view=rev Author: mmetz_bn Date: 2008-09-24 09:21:41 +0000 (Wed, 24 Sep 2008) Log Message: ----------- minor typo Modified Paths: -------------- trunk/matplotlib/doc/users/pyplot_tutorial.rst Modified: trunk/matplotlib/doc/users/pyplot_tutorial.rst =================================================================== --- trunk/matplotlib/doc/users/pyplot_tutorial.rst 2008-09-24 08:58:16 UTC (rev 6119) +++ trunk/matplotlib/doc/users/pyplot_tutorial.rst 2008-09-24 09:21:41 UTC (rev 6120) @@ -71,7 +71,7 @@ * Use the setter methods of the ``Line2D`` instance. ``plot`` returns a list of lines; eg ``line1, line2 = plot(x1,y1,x2,x2)``. Below I have only - one line so it is a list of7 length 1. I use tuple unpacking in the + one line so it is a list of length 1. I use tuple unpacking in the ``line, = plot(x, y, 'o')`` to get the first element of the list:: line, = plt.plot(x, y, 'o') @@ -134,9 +134,9 @@ .. sourcecode:: ipython - In [69]: lines = plot([1,2,3]) + In [69]: lines = plt.plot([1,2,3]) - In [70]: setp(lines) + In [70]: plt.setp(lines) alpha: float animated: [True | False] antialiased or aa: [True | False] This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |