From e3ebe167e826e79621783395cbe63ffef114881d Mon Sep 17 00:00:00 2001 From: Scott Lawson Date: Tue, 3 Jan 2017 16:48:18 -0800 Subject: [PATCH] PEP8 formatting --- python/visualization.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/python/visualization.py b/python/visualization.py index 348e793..0058719 100644 --- a/python/visualization.py +++ b/python/visualization.py @@ -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()