From f713f963310ecd30d62941ce3b1dab0f09daea43 Mon Sep 17 00:00:00 2001 From: Gavin Macaulay Date: Sat, 14 Dec 2024 21:37:10 +1300 Subject: [PATCH] Remove coloured bar, use non inverting rate format for progress bar --- src/echosms/scattermodelbase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/echosms/scattermodelbase.py b/src/echosms/scattermodelbase.py index f64486d..bd4534d 100644 --- a/src/echosms/scattermodelbase.py +++ b/src/echosms/scattermodelbase.py @@ -137,8 +137,8 @@ def calculate_ts(self, data, expand=False, inplace=False, multiprocess=False, pr else: # this uses just one CPU if progress: tqdm.pandas(desc=self.short_name, - bar_format='{l_bar}{bar} [{n_fmt}/{total_fmt}; {rate_fmt}]', - unit='model', colour='#ff9124') + bar_format='{l_bar}{bar} [{n_fmt}/{total_fmt}; {rate_noinv_fmt}]', + unit='model') ts = data_df.progress_apply(self.__ts_helper, args=(p,), axis=1) else: ts = data_df.apply(self.__ts_helper, args=(p,), axis=1)