Forgot about that

This commit is contained in:
XANTRONIX 2025-02-24 00:07:32 -05:00
parent 253a25499b
commit 2fbf648ce6

View file

@ -74,8 +74,8 @@ class SkewT():
x1, y1 = self.graph_to_screen(*self.sample_to_graph(temp, PRESSURE_MAX)) x1, y1 = self.graph_to_screen(*self.sample_to_graph(temp, PRESSURE_MAX))
x2, y2 = self.graph_to_screen(*self.sample_to_graph(temp, PRESSURE_MIN)) x2, y2 = self.graph_to_screen(*self.sample_to_graph(temp, PRESSURE_MIN))
cr.move_to(x1, y1) cr.move_to(x + x1, y + y1)
cr.line_to(x2, y2) cr.line_to(x + x2, y + y2)
cr.stroke() cr.stroke()
def draw_samples(self, def draw_samples(self,