Skip to content

Commit

Permalink
Remove coloured bar, use non inverting rate format for progress bar
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinmacaulay committed Dec 14, 2024
1 parent 6832b2a commit f713f96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/echosms/scattermodelbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f713f96

Please sign in to comment.