modified bounds

This commit is contained in:
ClF3 2024-01-23 11:56:30 +08:00
parent c50affcc8a
commit ff4659b1c1
1 changed files with 3 additions and 3 deletions

View File

@ -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)