@@ -718,7 +718,7 @@ def test_removal():
718
718
fig .canvas .draw ()
719
719
720
720
721
- @image_comparison (['anchored_locator_base_call.png' ], style = "mpl20" , remove_text = True )
721
+ @image_comparison (['anchored_locator_base_call.png' ], style = "mpl20" )
722
722
def test_anchored_locator_base_call ():
723
723
fig = plt .figure (figsize = (3 , 3 ))
724
724
fig1 , fig2 = fig .subfigures (
@@ -727,6 +727,7 @@ def test_anchored_locator_base_call():
727
727
728
728
ax = fig1 .subplots ()
729
729
ax .set (aspect = 1 , xlim = (- 15 , 15 ), ylim = (- 20 , 5 ))
730
+ ax .set (xticks = [], yticks = [])
730
731
731
732
Z = cbook .get_sample_data (
732
733
"axes_grid/bivariate_normal.npy" , np_load = True
@@ -735,6 +736,7 @@ def test_anchored_locator_base_call():
735
736
736
737
axins = zoomed_inset_axes (ax , zoom = 2 , loc = "upper left" )
737
738
axins .set (xticks = [], yticks = [])
739
+
738
740
im = axins .imshow (Z , extent = extent , origin = "lower" )
739
741
740
742
# colorbar
@@ -748,4 +750,4 @@ def test_anchored_locator_base_call():
748
750
borderpad = 0 ,
749
751
)
750
752
751
- fig .colorbar (im , cax = cax )
753
+ fig .colorbar (im , cax = cax , ticks = [] )
0 commit comments