From ca78e6ed40d6fc97ea88ce2126cc227c35b60534 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Wed, 27 Mar 2024 12:47:25 -0600 Subject: variable length and spacing --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api.py') diff --git a/api.py b/api.py index 46e8490..b095f69 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) , color=color, label=name) + h = ax.axhline(y=val, linestyle='dashed', dashes=(idx+2,idx+2) , color=color, label=name) handles.append(h) ax.grid(True,linestyle=(0,(1,5))) # enable_grid) -- cgit v1.2.3