equal
deleted
inserted
replaced
1250 color=CURSOR_COLOR) |
1250 color=CURSOR_COLOR) |
1251 # Set value of vertical line if already defined |
1251 # Set value of vertical line if already defined |
1252 else: |
1252 else: |
1253 self.VLine.set_xdata((x_cursor, x_cursor)) |
1253 self.VLine.set_xdata((x_cursor, x_cursor)) |
1254 |
1254 |
1255 |
|
1256 # Define a horizontal line to display cursor y |
1255 # Define a horizontal line to display cursor y |
1257 # coordinate if no line is already defined |
1256 # coordinate if no line is already defined |
1258 if self.HLine is None: |
1257 if self.HLine is None: |
1259 self.HLine = self.Axes.axhline(y_cursor, |
1258 self.HLine = self.Axes.axhline(y_cursor, |
1260 color=CURSOR_COLOR) |
1259 color=CURSOR_COLOR) |