File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -334,12 +334,11 @@ def read_csv_cached(path, **kwargs):
334334
335335 # Detect fast_mode: skip expensive DataFrame access when processing all rows
336336 plot_list_lower = [p .lower () for p in plot_list ] if plot_list else []
337- fast_mode = (
338- (plot_range_in and isinstance (plot_range_in , list ) and any (str (p ).lower () == "all" for p in plot_range_in ))
339- or ("all" in plot_list_lower )
340- )
341- if fast_mode and verbose :
342- print ("[dataplot] Running in fast_mode (bypassing define_plot_parameters and Dataname scans)" )
337+
338+ # Toggle stays, but defaults to fast everywhere
339+ fast_mode = bool (kwargs .get ('fast_mode' , True ))
340+ if verbose :
341+ print (f"[dataplot] { 'Running in fast_mode (lightweight define_plot_parameters)' if fast_mode else 'Running in full mode' } " )
343342
344343 for pos , row in enumerate (C .itertuples (index = False , name = None )):
345344
You can’t perform that action at this time.
0 commit comments