@@ -613,7 +613,7 @@ def test_mappable_2d_alpha():
613613 # the original alpha array
614614 assert cb .alpha is None
615615 assert pc .get_alpha () is x
616- fig .draw_no_output ()
616+ fig .draw_without_rendering ()
617617
618618
619619def test_colorbar_label ():
@@ -766,7 +766,7 @@ def test_inset_colorbar_layout():
766766 cax = ax .inset_axes ([1.02 , 0.1 , 0.03 , 0.8 ])
767767 cb = fig .colorbar (pc , cax = cax )
768768
769- fig .draw_no_output ()
769+ fig .draw_without_rendering ()
770770 # make sure this is in the figure. In the colorbar swapping
771771 # it was being dropped from the list of children...
772772 np .testing .assert_allclose (cb .ax .get_position ().bounds ,
@@ -806,7 +806,7 @@ def test_aspects():
806806 pc = ax [mm , nn ].pcolormesh (np .arange (100 ).reshape (10 , 10 ))
807807 cb [nn ][mm ] = fig .colorbar (pc , ax = ax [mm , nn ], orientation = orient ,
808808 aspect = aspect , extend = extend )
809- fig .draw_no_output ()
809+ fig .draw_without_rendering ()
810810 # check the extends are right ratio:
811811 np .testing .assert_almost_equal (cb [0 ][1 ].ax .get_position ().height ,
812812 cb [0 ][0 ].ax .get_position ().height * 0.9 ,
0 commit comments