#NEWLINE# def __init__( self , record_wins , sliding_wins , similarities , example_labels , plot_rc = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , is_test = None ) : #NEWLINE# #INDENT# self . current = BasicTimeWindow ( 0.0 , 20.0 ) #NEWLINE# self . records = record_wins #NEWLINE# self . sliding = sliding_wins #NEWLINE# self . similarity = [ BasicTimeWindow ( w . absolute_start , w . absolute_end , similarities [ i , : ] ) for ( i , w ) in enumerate ( self . sliding ) ] #NEWLINE# ( self . fig , self . main_ax ) = plt . subplots ( ) #NEWLINE# self . example_labels = example_labels #NEWLINE# self . plot_rc = self . default_plot_rc . copy ( ) #NEWLINE# self . plot_rc . update ( plot_rc ) #NEWLINE# self . _is_test = is_test #NEWLINE# self . _y_annotation = None