PEP8 formatting

This commit is contained in:
Scott Lawson 2017-01-03 16:48:18 -08:00
parent 5c5300ba7f
commit e3ebe167e8

View File

@ -254,11 +254,12 @@ if __name__ == '__main__':
GUI.curve[0][2].setData(x=range(config.N_PIXELS))
# Add ComboBox for effect selection
effect_list = {
'Scroll effect': visualize_scroll,
'Scroll effect': visualize_scroll,
'Spectrum effect': visualize_spectrum,
'Energy effect': visualize_energy
}
}
effect_combobox = pg.ComboBox(items=effect_list)
def effect_change():
global visualization_effect
visualization_effect = effect_combobox.value()