Nailed it?
This commit is contained in:
parent
59203a93a7
commit
adabec1fa0
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ class Thermometer(BottomDial):
|
||||||
cr.set_line_width(6.0)
|
cr.set_line_width(6.0)
|
||||||
|
|
||||||
level = self.min_value
|
level = self.min_value
|
||||||
incr = (self.max_value - self.min_value) / 9.0
|
incr = (self.max_value - self.min_value) / 8.0
|
||||||
|
|
||||||
for i in range(0, 9):
|
for i in range(0, 9):
|
||||||
level = self.min_value + i * incr
|
level = self.min_value + i * incr
|
||||||
|
|
Loading…
Add table
Reference in a new issue