File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5128,16 +5128,16 @@ def test_remove_shared_axes_relim():
51285128
51295129
51305130def test_shared_axes_autoscale ():
5131- l = np .arange (- 80 ,90 ,40 )
5132- t = np .random .random_sample ((l .size ,l .size ))
5131+ l = np .arange (- 80 , 90 , 40 )
5132+ t = np .random .random_sample ((l .size , l .size ))
51335133
51345134 ax1 = plt .subplot (211 )
5135- ax1 .set_xlim (- 1000 ,1000 )
5136- ax1 .set_ylim (- 1000 ,1000 )
5137- ax1 .contour (l ,l , t )
5135+ ax1 .set_xlim (- 1000 , 1000 )
5136+ ax1 .set_ylim (- 1000 , 1000 )
5137+ ax1 .contour (l , l , t )
51385138
5139- ax2 = plt .subplot (212 ,sharex = ax1 ,sharey = ax1 )
5140- ax2 .contour (l ,l , t )
5139+ ax2 = plt .subplot (212 , sharex = ax1 , sharey = ax1 )
5140+ ax2 .contour (l , l , t )
51415141 assert not ax1 .get_autoscalex_on () and not ax2 .get_autoscalex_on ()
51425142 assert not ax1 .get_autoscaley_on () and not ax2 .get_autoscaley_on ()
51435143 assert ax1 .get_xlim () == ax2 .get_xlim () == (- 1000 , 1000 )
You can’t perform that action at this time.
0 commit comments