@@ -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 ):
@@ -1317,8 +1317,10 @@ def _replace_path(self, source_class):
13171317
13181318 def get_setters (self ):
13191319 """
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+ ....]``.
13221324 """
13231325 setters = []
13241326 for name in dir (self .o ):
@@ -1353,7 +1355,7 @@ def aliased_name(self, s):
13531355 def aliased_name_rest (self , s , target ):
13541356 """
13551357 Return 'PROPNAME or alias' if *s* has an alias, else return 'PROPNAME',
1356- formatted for ReST .
1358+ formatted for reST .
13571359
13581360 e.g., for the line markerfacecolor property, which has an
13591361 alias, return 'markerfacecolor or mfc' and for the transform
@@ -1388,7 +1390,7 @@ def pprint_setters(self, prop=None, leadingspace=2):
13881390
13891391 def pprint_setters_rest (self , prop = None , leadingspace = 4 ):
13901392 """
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
13921394 settable properties and their valid values.
13931395
13941396 If *prop* is not *None*, it is a valid property name and that
0 commit comments