PEP8 formatting
This commit is contained in:
parent
5c5300ba7f
commit
e3ebe167e8
@ -254,11 +254,12 @@ if __name__ == '__main__':
|
|||||||
GUI.curve[0][2].setData(x=range(config.N_PIXELS))
|
GUI.curve[0][2].setData(x=range(config.N_PIXELS))
|
||||||
# Add ComboBox for effect selection
|
# Add ComboBox for effect selection
|
||||||
effect_list = {
|
effect_list = {
|
||||||
'Scroll effect': visualize_scroll,
|
'Scroll effect': visualize_scroll,
|
||||||
'Spectrum effect': visualize_spectrum,
|
'Spectrum effect': visualize_spectrum,
|
||||||
'Energy effect': visualize_energy
|
'Energy effect': visualize_energy
|
||||||
}
|
}
|
||||||
effect_combobox = pg.ComboBox(items=effect_list)
|
effect_combobox = pg.ComboBox(items=effect_list)
|
||||||
|
|
||||||
def effect_change():
|
def effect_change():
|
||||||
global visualization_effect
|
global visualization_effect
|
||||||
visualization_effect = effect_combobox.value()
|
visualization_effect = effect_combobox.value()
|
||||||
|
Loading…
Reference in New Issue
Block a user