@@ -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 ):
@@ -1310,8 +1310,10 @@ def _replace_path(self, source_class):
1310
1310
1311
1311
def get_setters (self ):
1312
1312
"""
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
+ ....]``.
1315
1317
"""
1316
1318
setters = []
1317
1319
for name in dir (self .o ):
@@ -1346,7 +1348,7 @@ def aliased_name(self, s):
1346
1348
def aliased_name_rest (self , s , target ):
1347
1349
"""
1348
1350
Return 'PROPNAME or alias' if *s* has an alias, else return 'PROPNAME',
1349
- formatted for ReST .
1351
+ formatted for reST .
1350
1352
1351
1353
e.g., for the line markerfacecolor property, which has an
1352
1354
alias, return 'markerfacecolor or mfc' and for the transform
@@ -1381,7 +1383,7 @@ def pprint_setters(self, prop=None, leadingspace=2):
1381
1383
1382
1384
def pprint_setters_rest (self , prop = None , leadingspace = 4 ):
1383
1385
"""
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
1385
1387
settable properties and their valid values.
1386
1388
1387
1389
If *prop* is not *None*, it is a valid property name and that
0 commit comments