Weather: graph line yellow instead of blue
This commit is contained in:
1 parent
27f4397b04
commit
32c98cec16
1 file changed
+2
-2
+2
-2
@@ -12,7 +12,7 @@ from screens.render_utils import load_font, text_width
|
||||
from screens.weather_icons import WMO_CODES, draw_weather_icon
|
||||
|
||||
BLACK = (0, 0, 0)
|
||||
BLUE = (0, 0, 255)
|
||||
YELLOW = (255, 255, 0)
|
||||
RED = (200, 0, 0)
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
@@ -303,7 +303,7 @@ class WeatherScreen(Screen):
|
||||
return px, py
|
||||
|
||||
points = [point_xy(i) for i in range(n)]
|
||||
draw.line(points, fill=BLUE, width=max(2, int(scale * 0.006)), joint="curve")
|
||||
draw.line(points, fill=YELLOW, width=max(2, int(scale * 0.006)), joint="curve")
|
||||
|
||||
def label_point(i):
|
||||
# Always above the point, never below -- a below-point label on
|
||||
|
||||
Reference in new issue
Block a user