diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2024-03-27 12:50:08 -0600 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2024-03-27 12:50:08 -0600 |
commit | 846581f84a95a299119c686306ddf4302a3a2a5b (patch) | |
tree | 06494ea9c767d298a78d4a28fa8eae71353853a5 | |
parent | ca78e6ed40d6fc97ea88ce2126cc227c35b60534 (diff) |
variable length and spacing
-rw-r--r-- | api.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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+2,idx+2) , color=color, label=name) + h = ax.axhline(y=val, linestyle='dashed', dashes=(idx,idx*2) , color=color, label=name) handles.append(h) ax.grid(True,linestyle=(0,(1,5))) # enable_grid) |