Skip to content

Commit abf1765

Browse files
committed
Add docstring info about fill direction
1 parent e1f87ae commit abf1765

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

adafruit_progressbar/verticalprogressbar.py

+11-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,17 @@ class VerticalProgressBar(ProgressBarBase):
4949
the lower-left corner for ascending progress bars (fills from the bottom to
5050
to the top in vertical bars, or from the left to the right in horizontal
5151
progress bars), upper-left corner for descending progress bars (fills from
52-
the top to the bottom).::
52+
the top to the bottom).
53+
54+
Using the diagrams below, the bar will fill in the following directions::
55+
56+
-----------------------------
57+
| Horizontal | Vertical |
58+
----------------------------------------------
59+
| Ascending | 1-3 to 2-4 | 3-4 to 1-2 |
60+
----------------------------------------------
61+
| Descending | 2-4 to 1-3 | 1-2 to 3-4 |
62+
----------------------------------------------
5363
5464
Vertical Horizontal
5565

0 commit comments

Comments
 (0)