@@ -1789,28 +1789,28 @@ def _get_tick_boxes_siblings(self, xdir, renderer):
17891789 def _update_label_position (self , renderer ):
17901790 """
17911791 Update the label position based on the bounding box enclosing
1792- all the ticklabels and axis spine
1792+ all the ticklabels and axis spine.
17931793 """
17941794 raise NotImplementedError ('Derived must override' )
17951795
17961796 def _update_offset_text_position (self , bboxes , bboxes2 ):
17971797 """
1798- Update the label position based on the sequence of bounding
1799- boxes of all the ticklabels
1798+ Update the offset text position based on the sequence of bounding
1799+ boxes of all the ticklabels.
18001800 """
18011801 raise NotImplementedError ('Derived must override' )
18021802
18031803 def pan (self , numsteps ):
1804- ' Pan *numsteps* (can be positive or negative)'
1804+ """ Pan by *numsteps* (can be positive or negative)."""
18051805 self .major .locator .pan (numsteps )
18061806
18071807 def zoom (self , direction ):
1808- "Zoom in/out on axis; if *direction* is >0 zoom in, else zoom out"
1808+ """ Zoom in/out on axis; if *direction* is >0 zoom in, else zoom out."" "
18091809 self .major .locator .zoom (direction )
18101810
18111811 def axis_date (self , tz = None ):
18121812 """
1813- Sets up x- axis ticks and labels that treat the x data as dates.
1813+ Sets up axis ticks and labels treating data along this axis as dates.
18141814
18151815 Parameters
18161816 ----------
@@ -1826,9 +1826,7 @@ def axis_date(self, tz=None):
18261826 self .update_units (datetime .datetime (2009 , 1 , 1 , 0 , 0 , 0 , 0 , tz ))
18271827
18281828 def get_tick_space (self ):
1829- """
1830- Return the estimated number of ticks that can fit on the axis.
1831- """
1829+ """Return the estimated number of ticks that can fit on the axis."""
18321830 # Must be overridden in the subclass
18331831 raise NotImplementedError ()
18341832
0 commit comments