#NEWLINE# def __init__( self , num_levels = 18 , zoom_factor = 2 , threshold = 1e-05 , force_endpoints = True ) : #NEWLINE# #INDENT# self . _num_levels = num_levels #NEWLINE# self . _zoom_factor = zoom_factor #NEWLINE# self . _threshold = threshold #NEWLINE# self . _force_endpoints = force_endpoints #NEWLINE# self . _zoom_level_breaks = [ ] #NEWLINE# for i in range ( num_levels ) : #NEWLINE# #INDENT# self . _zoom_level_breaks . append ( ( threshold * ( threshold ** ( ( num_levels - i ) - 1 ) ) ) )