File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -997,6 +997,7 @@ def cla(self):
997997 self .xaxis .set_minor_locator (minl )
998998 else :
999999 self .xaxis ._set_scale ('linear' )
1000+ self .viewLim .intervalx = (0 , 1 )
10001001
10011002 if self ._sharey is not None :
10021003 self .yaxis .major = self ._sharey .yaxis .major
@@ -1020,6 +1021,7 @@ def cla(self):
10201021 self .yaxis .set_minor_locator (minl )
10211022 else :
10221023 self .yaxis ._set_scale ('linear' )
1024+ self .viewLim .intervaly = (0 , 1 )
10231025
10241026 # update the minor locator for x and y axis based on rcParams
10251027 if (rcParams ['xtick.minor.visible' ]):
@@ -1110,6 +1112,7 @@ def cla(self):
11101112 if self ._sharey :
11111113 self .yaxis .set_visible (yaxis_visible )
11121114 self .patch .set_visible (patch_visible )
1115+
11131116 self .stale = True
11141117
11151118 @cbook .deprecated ("2.1" , alternative = "Axes.patch" )
You can’t perform that action at this time.
0 commit comments