#NEWLINE# def test_feature_view( qtbot , gui ) : #NEWLINE# #INDENT# v = gui . controller . add_feature_view ( gui ) #NEWLINE# _select_clusters ( gui ) #NEWLINE# assert ( v . feature_scaling == 0.5 ) #NEWLINE# v . add_attribute ( 'sine' , np . sin ( np . linspace ( ( - 10.0 ) , 10.0 , gui . controller . n_spikes ) ) ) #NEWLINE# v . increase ( ) #NEWLINE# v . decrease ( ) #NEWLINE# v . on_channel_click ( channel_idx = 3 , button = 1 , key = 2 ) #NEWLINE# v . clear_channels ( ) #NEWLINE# v . toggle_automatic_channel_selection ( ) #NEWLINE# gui . close ( )