aboutsummaryrefslogtreecommitdiff
path: root/api.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2024-03-27 12:51:27 -0600
committerNavan Chauhan <navanchauhan@gmail.com>2024-03-27 12:51:27 -0600
commit836d196dc2cedbd6bcce1133eb596cb0c6bba021 (patch)
tree31777c15c45c119fb6e7c037ecfb369bf32f7089 /api.py
parent846581f84a95a299119c686306ddf4302a3a2a5b (diff)
variable length and spacing
Diffstat (limited to 'api.py')
-rw-r--r--api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api.py b/api.py
index c04f4a3..3b1237a 100644
--- a/api.py
+++ b/api.py
@@ -91,7 +91,7 @@ def plot_data(x_data, y_data, std_dev_data, color_picker, labels, df,
idx += 1
grey_shade = light_grey - (light_grey - dar_grey) * (idx / len(constant_line))
color = (grey_shade, grey_shade, grey_shade)
- h = ax.axhline(y=val, linestyle='dashed', dashes=(idx,idx*2) , color=color, label=name)
+ h = ax.axhline(y=val, linestyle='dashed', dashes=(idx,2) , color=color, label=name)
handles.append(h)
ax.grid(True,linestyle=(0,(1,5))) # enable_grid)