Plot a curve.
(self, x, y, label, update=True, **kwargs)
| 1393 | self.canvas.mpl_connect(event + "_event", getattr(self, "on_" + event)) |
| 1394 | |
| 1395 | def plot(self, x, y, label, update=True, **kwargs): |
| 1396 | """Plot a curve.""" |
| 1397 | (line,) = self.axes.plot(x, y, label=label, **kwargs) |
| 1398 | if update: |
| 1399 | self.update_plot() |
| 1400 | return line |
| 1401 | |
| 1402 | def plot_time_line(self, x, label, update=True, **kwargs): |
| 1403 | """Plot the vertical line.""" |