diff --git a/lib/xmet/skew_t.py b/lib/xmet/skew_t.py index 5c52db1..dee40a3 100644 --- a/lib/xmet/skew_t.py +++ b/lib/xmet/skew_t.py @@ -74,8 +74,8 @@ class SkewT(): 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)) - cr.move_to(x1, y1) - cr.line_to(x2, y2) + cr.move_to(x + x1, y + y1) + cr.line_to(x + x2, y + y2) cr.stroke() def draw_samples(self,