@@ -718,7 +718,7 @@ def test_removal():
718718 fig .canvas .draw ()
719719
720720
721- @image_comparison (['anchored_locator_base_call.png' ], style = "mpl20" , remove_text = True )
721+ @image_comparison (['anchored_locator_base_call.png' ], style = "mpl20" )
722722def test_anchored_locator_base_call ():
723723 fig = plt .figure (figsize = (3 , 3 ))
724724 fig1 , fig2 = fig .subfigures (
@@ -727,6 +727,7 @@ def test_anchored_locator_base_call():
727727
728728 ax = fig1 .subplots ()
729729 ax .set (aspect = 1 , xlim = (- 15 , 15 ), ylim = (- 20 , 5 ))
730+ ax .set (xticks = [], yticks = [])
730731
731732 Z = cbook .get_sample_data (
732733 "axes_grid/bivariate_normal.npy" , np_load = True
@@ -735,6 +736,7 @@ def test_anchored_locator_base_call():
735736
736737 axins = zoomed_inset_axes (ax , zoom = 2 , loc = "upper left" )
737738 axins .set (xticks = [], yticks = [])
739+
738740 im = axins .imshow (Z , extent = extent , origin = "lower" )
739741
740742 # colorbar
@@ -748,4 +750,4 @@ def test_anchored_locator_base_call():
748750 borderpad = 0 ,
749751 )
750752
751- fig .colorbar (im , cax = cax )
753+ fig .colorbar (im , cax = cax , ticks = [] )
0 commit comments