@@ -396,7 +396,7 @@ def _default_contains(self, mouseevent, figure=None):
396
396
return inside, info
397
397
# subclass-specific implementation follows
398
398
399
- The *canvas * kwarg is provided for the implementation of
399
+ The *figure * kwarg is provided for the implementation of
400
400
`.Figure.contains`.
401
401
"""
402
402
if callable (self ._contains ):
@@ -1317,8 +1317,10 @@ def _replace_path(self, source_class):
1317
1317
1318
1318
def get_setters (self ):
1319
1319
"""
1320
- Get the attribute strings with setters for object. e.g., for a line,
1321
- return ``['markerfacecolor', 'linewidth', ....]``.
1320
+ Get the attribute strings with setters for object.
1321
+
1322
+ For example, for a line, return ``['markerfacecolor', 'linewidth',
1323
+ ....]``.
1322
1324
"""
1323
1325
setters = []
1324
1326
for name in dir (self .o ):
@@ -1353,7 +1355,7 @@ def aliased_name(self, s):
1353
1355
def aliased_name_rest (self , s , target ):
1354
1356
"""
1355
1357
Return 'PROPNAME or alias' if *s* has an alias, else return 'PROPNAME',
1356
- formatted for ReST .
1358
+ formatted for reST .
1357
1359
1358
1360
e.g., for the line markerfacecolor property, which has an
1359
1361
alias, return 'markerfacecolor or mfc' and for the transform
@@ -1388,7 +1390,7 @@ def pprint_setters(self, prop=None, leadingspace=2):
1388
1390
1389
1391
def pprint_setters_rest (self , prop = None , leadingspace = 4 ):
1390
1392
"""
1391
- If *prop* is *None*, return a list of ReST -formatted strings of all
1393
+ If *prop* is *None*, return a list of reST -formatted strings of all
1392
1394
settable properties and their valid values.
1393
1395
1394
1396
If *prop* is not *None*, it is a valid property name and that
0 commit comments