File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -348,38 +348,16 @@ def main(args):
348348 np .where (agg_x_vals == 0 )[0 ][0 ] if 0 in agg_x_vals else None
349349 )
350350
351- if agg_zero_index is not None :
352- ax .plot (
353- agg_x_vals [: agg_zero_index + 1 ],
354- agg_y_vals [: agg_zero_index + 1 ],
355- "s--" ,
356- color = color ,
357- label = f"{ folder_name } (aggregated)" ,
358- linewidth = 2 ,
359- markersize = 6 ,
360- alpha = 0.7 ,
361- )
362- ax .plot (
363- agg_x_vals [agg_zero_index :],
364- agg_y_vals [agg_zero_index :],
365- "s--" ,
366- color = color ,
367- linewidth = 2 ,
368- markersize = 6 ,
369- drawstyle = "steps-post" ,
370- alpha = 0.7 ,
371- )
372- else :
373- ax .plot (
374- agg_x_vals ,
375- agg_y_vals ,
376- "s--" ,
377- color = color ,
378- label = f"{ folder_name } (aggregated)" ,
379- linewidth = 2 ,
380- markersize = 6 ,
381- alpha = 0.7 ,
382- )
351+ ax .plot (
352+ agg_x_vals [agg_zero_index :],
353+ agg_y_vals [agg_zero_index :],
354+ "s--" ,
355+ color = color ,
356+ linewidth = 2 ,
357+ markersize = 6 ,
358+ drawstyle = "steps-post" ,
359+ alpha = 0.7 ,
360+ )
383361
384362 # Update x-axis range if needed
385363 if all_x_coords :
You can’t perform that action at this time.
0 commit comments