s/pressure_lines/isobars/
This commit is contained in:
parent
b818671816
commit
85c4dc0411
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue