@cleanup
def test_remove_from_figure_no_gridspec():
 _test_remove_from_figure(False)

@ cleanup def test_remove_from_figure_no_gridspec ( ) : _test_remove_from_figure ( False )
make sure that remove_from_figure removes a colorbar that was created without modifying the gridspec .