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

Skip to content

Commit aa4565b

Browse files
committed
And some more fixes.
1 parent 6eca9c5 commit aa4565b

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

lib/matplotlib/artist.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ def _default_contains(self, mouseevent, figure=None):
396396
return inside, info
397397
# subclass-specific implementation follows
398398
399-
The *canvas* kwarg is provided for the implementation of
399+
The *figure* kwarg is provided for the implementation of
400400
`.Figure.contains`.
401401
"""
402402
if callable(self._contains):
@@ -1310,8 +1310,10 @@ def _replace_path(self, source_class):
13101310

13111311
def get_setters(self):
13121312
"""
1313-
Get the attribute strings with setters for object. e.g., for a line,
1314-
return ``['markerfacecolor', 'linewidth', ....]``.
1313+
Get the attribute strings with setters for object.
1314+
1315+
For example, for a line, return ``['markerfacecolor', 'linewidth',
1316+
....]``.
13151317
"""
13161318
setters = []
13171319
for name in dir(self.o):
@@ -1346,7 +1348,7 @@ def aliased_name(self, s):
13461348
def aliased_name_rest(self, s, target):
13471349
"""
13481350
Return 'PROPNAME or alias' if *s* has an alias, else return 'PROPNAME',
1349-
formatted for ReST.
1351+
formatted for reST.
13501352
13511353
e.g., for the line markerfacecolor property, which has an
13521354
alias, return 'markerfacecolor or mfc' and for the transform
@@ -1381,7 +1383,7 @@ def pprint_setters(self, prop=None, leadingspace=2):
13811383

13821384
def pprint_setters_rest(self, prop=None, leadingspace=4):
13831385
"""
1384-
If *prop* is *None*, return a list of ReST-formatted strings of all
1386+
If *prop* is *None*, return a list of reST-formatted strings of all
13851387
settable properties and their valid values.
13861388
13871389
If *prop* is not *None*, it is a valid property name and that

0 commit comments

Comments
 (0)