@@ -865,10 +865,10 @@ def set_position(self, pos, which='both'):
865865
866866 def _set_position (self , pos , which = 'both' ):
867867 """
868- private version of set_position. Call this internally
869- to get the same functionality of `get_position`, but not
870- to take the axis out of the constrained_layout
871- hierarchy.
868+ Private version of set_position.
869+
870+ Call this internally to get the same functionality of `get_position`,
871+ but not to take the axis out of the constrained_layout hierarchy.
872872 """
873873 if not isinstance (pos , mtransforms .BboxBase ):
874874 pos = mtransforms .Bbox .from_bounds (* pos )
@@ -908,7 +908,7 @@ def get_axes_locator(self):
908908 return self ._axes_locator
909909
910910 def _set_artist_props (self , a ):
911- """set the boilerplate props for artists added to axes"""
911+ """Set the boilerplate props for artists added to axes. """
912912 a .set_figure (self .figure )
913913 if not a .is_transform_set ():
914914 a .set_transform (self .transData )
@@ -1750,11 +1750,11 @@ def get_legend(self):
17501750 return self .legend_
17511751
17521752 def get_images (self ):
1753- """return a list of Axes images contained by the Axes"""
1753+ r """Return a list of `.AxesImage`\s contained by the Axes. """
17541754 return cbook .silent_list ('AxesImage' , self .images )
17551755
17561756 def get_lines (self ):
1757- """Return a list of lines contained by the Axes"""
1757+ """Return a list of lines contained by the Axes. """
17581758 return cbook .silent_list ('Line2D' , self .lines )
17591759
17601760 def get_xaxis (self ):
@@ -1978,7 +1978,7 @@ def add_patch(self, p):
19781978 return p
19791979
19801980 def _update_patch_limits (self , patch ):
1981- """update the data limits for patch *p* """
1981+ """Update the data limits for the given patch. """
19821982 # hist can add zero height Rectangles, which is useful to keep
19831983 # the bins, counts and patches lined up, but it throws off log
19841984 # scaling. We'll ignore rects with zero height or width in
0 commit comments