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

make get_index_from_data_picked() return the list of indexes that the data...

make get_index_from_data_picked() return the list of indexes that the data point clicked represent for
parent 78165eb1
No related branches found
No related tags found
1 merge request!165Fix SOH info not show for bottom of Jerk/DPS and display all info lines for the case data point clicked matches more than one SOH lines.
......@@ -24,9 +24,7 @@ def get_index_from_data_picked(
else:
real_indexes = np.where((chan_data['times'][0] == tm) &
(chan_data['data'][0] == val))[0]
if len(real_indexes) != 1:
return
return real_indexes[0]
return real_indexes
def get_total_miny_maxy(
......
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