@cleanup
def test_SymLogNorm_colorbar():
 norm = mcolors.SymLogNorm(0.1, vmin=(-1), vmax=1, linscale=1)
 fig = plt.figure()
 cbar = mcolorbar.ColorbarBase(fig.add_subplot(111), norm=norm)
 plt.close(fig)

@ cleanup def test_SymLogNorm_colorbar ( ) : norm = mcolors . SymLogNorm ( 0.1 , vmin = ( - 1 ) , vmax = 1 , linscale = 1 ) fig = plt . figure ( ) cbar = mcolorbar . ColorbarBase ( fig . add_subplot ( 111 ) , norm = norm ) plt . close ( fig )
test un-called symlognorm in a colorbar .