modified bounds
This commit is contained in:
parent
c50affcc8a
commit
ff4659b1c1
6
main.py
6
main.py
|
@ -29,11 +29,11 @@ def update_graph():
|
||||||
for i,delay in enumerate(history):
|
for i,delay in enumerate(history):
|
||||||
if delay>=5000:
|
if delay>=5000:
|
||||||
fill(img,i,red)
|
fill(img,i,red)
|
||||||
elif delay>=3000:
|
|
||||||
fill(img,i,orange)
|
|
||||||
elif delay>=2000:
|
elif delay>=2000:
|
||||||
fill(img,i,yellow)
|
fill(img,i,orange)
|
||||||
elif delay>=1000:
|
elif delay>=1000:
|
||||||
|
fill(img,i,yellow)
|
||||||
|
elif delay>=500:
|
||||||
fill(img,i,light_green)
|
fill(img,i,light_green)
|
||||||
else:
|
else:
|
||||||
fill(img,i,green)
|
fill(img,i,green)
|
||||||
|
|
Loading…
Reference in New Issue