@@ -378,7 +378,7 @@ def get_tick_iterators(self, axes):
378378 angle_normal , angle_tangent = 90 , 0
379379 else :
380380 angle_normal , angle_tangent = 0 , 90
381-
381+
382382 #angle = 90 - 90 * self.nth_coord
383383
384384 major = self .axis .major
@@ -459,7 +459,7 @@ def new_fixed_axis(self, loc,
459459 offset = None ,
460460 axes = None ,
461461 ):
462-
462+
463463 if axes is None :
464464 warnings .warn ("'new_fixed_axis' explicitly requires the axes keyword." )
465465 axes = self .axes
@@ -733,9 +733,9 @@ def draw(self, renderer, inframe=False):
733733 self .artists = orig_artists
734734
735735
736- def get_tightbbox (self , renderer ):
736+ def get_tightbbox (self , renderer , call_axes_locator = True ):
737737
738- bb0 = super (Axes , self ).get_tightbbox (renderer )
738+ bb0 = super (Axes , self ).get_tightbbox (renderer , call_axes_locator )
739739
740740 if not self ._axisline_on :
741741 return bb0
@@ -777,13 +777,13 @@ def set_xlim(self, left=None, right=None, emit=True, auto=False,
777777
778778 if not swap_axis :
779779 return
780-
780+
781781 if (x1o > x2o and x1 < x2 ) or (x1o < x2o and x1 > x2 ):
782- self .axis ["right" ], self .axis ["left" ] = self .axis ["left" ], self .axis ["right" ]
782+ self .axis ["right" ], self .axis ["left" ] = self .axis ["left" ], self .axis ["right" ]
783783
784784 self .axis ["left" ].set_axis_direction ("left" )
785785 self .axis ["right" ].set_axis_direction ("right" )
786-
786+
787787
788788 def set_ylim (self , bottom = None , top = None , emit = True , auto = False ,
789789 swap_axis = True , ** kw ):
@@ -794,11 +794,11 @@ def set_ylim(self, bottom=None, top=None, emit=True, auto=False,
794794 y1 , y2 = self .get_ylim ()
795795
796796 if y1o > y2o and y1 < y2 or (y1o < y2o and y1 > y2 ):
797- self .axis ["top" ], self .axis ["bottom" ] = self .axis ["bottom" ], self .axis ["top" ]
797+ self .axis ["top" ], self .axis ["bottom" ] = self .axis ["bottom" ], self .axis ["top" ]
798798
799799 self .axis ["top" ].set_axis_direction ("top" )
800800 self .axis ["bottom" ].set_axis_direction ("bottom" )
801-
801+
802802
803803
804804Subplot = maxes .subplot_class_factory (Axes )
0 commit comments