def test_SymmetricalLogLocator_set_params():
 sym = mticker.SymmetricalLogLocator(base=10, linthresh=1)
 sym.set_params(subs=[2.0], numticks=8)
 assert (sym._subs == [2.0])
 assert (sym.numticks == 8)

def test_SymmetricalLogLocator_set_params ( ) : sym = mticker . SymmetricalLogLocator ( base = 10 , linthresh = 1 ) sym . set_params ( subs = [ 2.0 ] , numticks = 8 ) assert ( sym . _subs == [ 2.0 ] ) assert ( sym . numticks == 8 )
create symmetrical log locator with default subs =[1 .