Skip to content

Commit 5c768f5

Browse files
authored
Merge pull request #191 from InsightLab/examples
Example on log module
2 parents cdeda51 + 35cfe7b commit 5c768f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pymove/utils/log.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ def progress_bar(
145145
miniters : int, optional
146146
Represents the steps in which the bar will be updated, by default None.
147147
148+
Return
149+
------
150+
>>> from pymove.utils.log import progress_bar
151+
>>> for i in progress_bar(range(1,101), desc='Print 1 to 100'):
152+
>>> print(i)
153+
# A bar that shows the progress of the iterations
148154
"""
149155
if logger.level > logging.INFO:
150156
return sequence

0 commit comments

Comments
 (0)