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

Skip to content

Commit 20cf6bb

Browse files
committed
minor typo
svn path=/trunk/matplotlib/; revision=6120
1 parent 01910ce commit 20cf6bb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

doc/users/pyplot_tutorial.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ several ways to set line properties
7171

7272
* Use the setter methods of the ``Line2D`` instance. ``plot`` returns a list
7373
of lines; eg ``line1, line2 = plot(x1,y1,x2,x2)``. Below I have only
74-
one line so it is a list of7 length 1. I use tuple unpacking in the
74+
one line so it is a list of length 1. I use tuple unpacking in the
7575
``line, = plot(x, y, 'o')`` to get the first element of the list::
7676

7777
line, = plt.plot(x, y, 'o')
@@ -134,9 +134,9 @@ as argument
134134

135135
.. sourcecode:: ipython
136136

137-
In [69]: lines = plot([1,2,3])
137+
In [69]: lines = plt.plot([1,2,3])
138138

139-
In [70]: setp(lines)
139+
In [70]: plt.setp(lines)
140140
alpha: float
141141
animated: [True | False]
142142
antialiased or aa: [True | False]

0 commit comments

Comments
 (0)