@@ -867,10 +867,10 @@ def set_position(self, pos, which='both'):
867867
868868 def _set_position (self , pos , which = 'both' ):
869869 """
870- private version of set_position. Call this internally
871- to get the same functionality of `get_position`, but not
872- to take the axis out of the constrained_layout
873- hierarchy.
870+ Private version of set_position.
871+
872+ Call this internally to get the same functionality of `get_position`,
873+ but not to take the axis out of the constrained_layout hierarchy.
874874 """
875875 if not isinstance (pos , mtransforms .BboxBase ):
876876 pos = mtransforms .Bbox .from_bounds (* pos )
@@ -910,7 +910,7 @@ def get_axes_locator(self):
910910 return self ._axes_locator
911911
912912 def _set_artist_props (self , a ):
913- """set the boilerplate props for artists added to axes"""
913+ """Set the boilerplate props for artists added to axes. """
914914 a .set_figure (self .figure )
915915 if not a .is_transform_set ():
916916 a .set_transform (self .transData )
@@ -1762,11 +1762,11 @@ def get_legend(self):
17621762 return self .legend_
17631763
17641764 def get_images (self ):
1765- """return a list of Axes images contained by the Axes"""
1765+ r """Return a list of `.AxesImage`\s contained by the Axes. """
17661766 return cbook .silent_list ('AxesImage' , self .images )
17671767
17681768 def get_lines (self ):
1769- """Return a list of lines contained by the Axes"""
1769+ """Return a list of lines contained by the Axes. """
17701770 return cbook .silent_list ('Line2D' , self .lines )
17711771
17721772 def get_xaxis (self ):
@@ -1989,7 +1989,7 @@ def add_patch(self, p):
19891989 return p
19901990
19911991 def _update_patch_limits (self , patch ):
1992- """update the data limits for patch *p* """
1992+ """Update the data limits for the given patch. """
19931993 # hist can add zero height Rectangles, which is useful to keep
19941994 # the bins, counts and patches lined up, but it throws off log
19951995 # scaling. We'll ignore rects with zero height or width in
0 commit comments