Skip to content
Snippets Groups Projects
Commit 4d50aa1d authored by Kien Le's avatar Kien Le
Browse files

Make points for Event DS plots show up

parent ead31f32
No related branches found
No related tags found
1 merge request!298Make points for Event DS plots show up
......@@ -266,8 +266,12 @@ class Plotting:
:param ax: axes to plot channel
:return ax: axes of the channel
"""
# Set the color to white by default
color = '#000000'
# Set the default color to black or white depending on the background
# color of the plot
if self.main_window.color_mode == 'B':
color = '#FFFFFF'
elif self.main_window.color_mode == 'W':
color = '#000000'
if chan_db_info['valueColors'] not in [None, 'None', '']:
color = chan_db_info['valueColors'].strip()[6:]
x_list = c_data['times']
......
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