Skip to content
Snippets Groups Projects
Commit 74066a92 authored by Lan Dam's avatar Lan Dam
Browse files

simplify condition to check show key

parent ad2e7654
No related branches found
No related tags found
1 merge request!261Feature for users to hide/show and reorder channels
...@@ -187,8 +187,7 @@ class MultiThreadedPlottingWidget(PlottingWidget): ...@@ -187,8 +187,7 @@ class MultiThreadedPlottingWidget(PlottingWidget):
for chan_id in chan_order: for chan_id in chan_order:
if 'chan_db_info' not in plotting_data[chan_id]: if 'chan_db_info' not in plotting_data[chan_id]:
continue continue
if ('show' in plotting_data[chan_id] and if not plotting_data[chan_id].get('show'):
not plotting_data[chan_id]['show']):
continue continue
channel_processor = PlottingChannelProcessor( channel_processor = PlottingChannelProcessor(
plotting_data[chan_id], chan_id, plotting_data[chan_id], chan_id,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment