s/pressure_lines/isobars/

This commit is contained in:
XANTRONIX 2025-02-23 17:20:14 -05:00
parent b818671816
commit 85c4dc0411

View file

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