diff --git a/pytec/tec_qt.py b/pytec/tec_qt.py index e3b1da8..49dae7a 100644 --- a/pytec/tec_qt.py +++ b/pytec/tec_qt.py @@ -164,8 +164,8 @@ class ChannelGraphs: self._i_widget = i_widget self._t_plot = LiveLinePlot() - self._i_plot = LiveLinePlot(name='Feedback') - self._iset_plot = LiveLinePlot(name='Setpoint', pen=pg.mkPen('r')) + self._i_plot = LiveLinePlot(name='Measured') + self._iset_plot = LiveLinePlot(name='Set', pen=pg.mkPen('r')) self.t_line = self._t_widget.getPlotItem().addLine(label='{value} °C') self.t_line.setVisible(False) @@ -190,8 +190,8 @@ class ChannelGraphs: i_widget.addLegend(brush=(50, 50, 200, 150)) t_widget.addItem(self._t_plot) - i_widget.addItem(self._i_plot) i_widget.addItem(self._iset_plot) + i_widget.addItem(self._i_plot) self.t_connector = DataConnector(self._t_plot, max_points=self.DEFAULT_MAX_SAMPLES) self.i_connector = DataConnector(self._i_plot, max_points=self.DEFAULT_MAX_SAMPLES)