From 85c4dc04116de1b72cb42ed9755bbb58abf6c58a Mon Sep 17 00:00:00 2001 From: XANTRONIX Industrial <xan@xantronix.com> Date: Sun, 23 Feb 2025 17:20:14 -0500 Subject: [PATCH] s/pressure_lines/isobars/ --- lib/xmet/skew_t.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/xmet/skew_t.py b/lib/xmet/skew_t.py index 1a47c52..e06f47b 100644 --- a/lib/xmet/skew_t.py +++ b/lib/xmet/skew_t.py @@ -58,7 +58,7 @@ class SkewT(): return x + y, y - def draw_pressure_lines(self, cr: cairo.Context, x: float, y: float): + def draw_isobars(self, cr: cairo.Context, x: float, y: float): for pressure in range(PRESSURE_MIN, PRESSURE_MAX+1, PRESSURE_STEP): coord = self.graph_to_screen(-self.width / 2, self.pressure_y(pressure)) @@ -86,4 +86,4 @@ class SkewT(): def draw(self, cr: cairo.Context, x: float, y: float): self.draw_isotherms(cr, x, y) - self.draw_pressure_lines(cr, x, y) + self.draw_isobars(cr, x, y)