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

Skip to content

Commit 851b3c3

Browse files
committed
Minor docstring fix.
svn path=/trunk/matplotlib/; revision=6371
1 parent fef11d2 commit 851b3c3

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

lib/matplotlib/artist.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -569,8 +569,8 @@ def findobj(self, match=None):
569569
pyplot signature:
570570
findobj(o=gcf(), match=None)
571571
572-
recursively find all :class:matplotlib.artist.Artist instances
573-
contained in self
572+
Recursively find all :class:matplotlib.artist.Artist instances
573+
contained in self.
574574
575575
*match* can be
576576
@@ -812,16 +812,16 @@ def pprint_getters(self):
812812

813813
def findobj(self, match=None):
814814
"""
815-
recursively find all :class:matplotlib.artist.Artist instances
816-
contained in self
815+
Recursively find all :class:`matplotlib.artist.Artist`
816+
instances contained in *self*.
817817
818-
if *match* is not None, it can be
818+
If *match* is not None, it can be
819819
820820
- function with signature ``boolean = match(artist)``
821821
822-
- class instance: eg Line2D
822+
- class instance: eg :class:`~matplotlib.lines.Line2D`
823823
824-
used to filter matches
824+
used to filter matches.
825825
"""
826826

827827
if match is None: # always return True
@@ -861,7 +861,6 @@ def getp(o, property=None):
861861
getp(o) # get all the object properties
862862
getp(o, 'linestyle') # get the linestyle property
863863
864-
865864
*o* is a :class:`Artist` instance, eg
866865
:class:`~matplotllib.lines.Line2D` or an instance of a
867866
:class:`~matplotlib.axes.Axes` or :class:`matplotlib.text.Text`.

0 commit comments

Comments
 (0)