Update progressbar with current value of process. Parameters ---------- cur_value : number Current value of process. Should be <= max_value (but this is not enforced). The percent of the progressbar will be computed as ``(cur_value / max
(self, cur_value)
| 112 | ) |
| 113 | |
| 114 | def update(self, cur_value): |
| 115 | """Update progressbar with current value of process. |
| 116 | |
| 117 | Parameters |
| 118 | ---------- |
| 119 | cur_value : number |
| 120 | Current value of process. Should be <= max_value (but this is not |
| 121 | enforced). The percent of the progressbar will be computed as |
| 122 | ``(cur_value / max_value) * 100``. |
| 123 | """ |
| 124 | self.update_with_increment_value(cur_value - self._tqdm.n) |
| 125 | |
| 126 | def update_with_increment_value(self, increment_value): |
| 127 | """Update progressbar with an increment. |