Skip to content

Commit

Permalink
fix display issue in notebook for dynamic totals
Browse files Browse the repository at this point in the history
Fixes tqdm#1145
  • Loading branch information
prohde committed Jul 5, 2023
1 parent 0bb9185 commit 820e266
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tqdm/notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def display(self, msg=None, pos=None,
msg = self.format_meter(**d)

ltext, pbar, rtext = self.container.children
pbar.max = self.total
pbar.value = self.n

if msg:
Expand Down

0 comments on commit 820e266

Please sign in to comment.