File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -325,32 +325,15 @@ def create_and_save_plots_seaborn_optimized(
325325 friendly_name : metric_data
326326 })
327327
328- # --- Smartly determine marker settings to avoid clutter ---
329- if num_points <= 100 :
330- # For small datasets, show all markers
331- marker_style = "o"
332- mark_every = 1
333- marker_size = 5
334- else :
335- # For large datasets, decimate markers
336- marker_style = "o"
337- # Aim for around 50-100 markers spread across the plot
338- mark_every = max (1 , num_points // 75 )
339- marker_size = 6 # Make markers slightly larger to be visible
340-
341328 # Create the plot
342329 fig , ax = plt .subplots (figsize = (14 , 7 ))
343330
344- # 1. Plot the original data with decimated markers
331+ # 1. Plot the original data with no markers
345332 sns .lineplot (
346333 data = df ,
347334 x = "Sample Index" ,
348335 y = friendly_name ,
349336 ax = ax ,
350- marker = marker_style ,
351- markevery = mark_every ,
352- markersize = marker_size ,
353- linestyle = "-" ,
354337 label = "Original Data" ,
355338 color = sns .color_palette ("muted" )[0 ]
356339 )
You can’t perform that action at this time.
0 commit comments