We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dde38e commit 17d33fcCopy full SHA for 17d33fc
adafruit_progressbar.py
@@ -80,8 +80,8 @@ def __init__(
80
self._palette[1] = outline_color
81
self._palette[2] = bar_color
82
83
- self._width = width
84
- self._height = height
+ self._bar_width = width
+ self._bar_height = height
85
86
self._progress_val = 0.0
87
self.progress = self._progress_val
@@ -146,14 +146,14 @@ def width(self):
146
"""The width of the progress bar. In pixels, includes the border.
147
148
"""
149
- return self._width
+ return self._bar_width
150
151
@property
152
def height(self):
153
"""The height of the progress bar. In pixels, includes the border.
154
155
156
- return self._height
+ return self._bar_height
157
158
@fill.setter
159
def fill(self, color):
0 commit comments