Skip to content
Snippets Groups Projects
Commit 2217979f authored by Austin Jennings's avatar Austin Jennings
Browse files

added equal to signs to the if loops to check if causing the return error

parent 9e37d511
No related branches found
No related tags found
No related merge requests found
......@@ -185,11 +185,11 @@ def set_ylims(saturations, xmax, buffer):
ymins.append(min(scaling_vals))
ymaxs.append(max(scaling_vals))
if max(ymaxs) > 0:
if max(ymaxs) >= 0:
ymax = 1.1*max(ymaxs)
elif max(ymaxs) < 0:
ymax = 0.9*max(ymaxs)
if min(ymins) < 0:
if min(ymins) <= 0:
ymin = 1.1*min(ymins)
elif min(ymins) > 0:
ymin = 0.9*min(ymins)
......
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