code: def plot_two_columns(self, reset_xlimits=False, reset_ylimits=False):
          
          self.clear_plot()
  
          if self.tab is None:  # No table data to plot
              return
  
          plt_kw = {
              'lw': self.settings.get('linewidth', 1),
              'ls': self.settings.get('linestyle', '-'),
              'color': self.settings.get('linecolor', 'blue'),
              'ms': self.settings.get('markersize', 6),
              'mew': self.settings.get('markerwidth', 0.5),
              'mfc': self.settings.get('markercolor', 'red')}
          plt_kw['mec'] = plt_kw['mfc']
  
          try:
              x_data, y_data, marker = self._get_plot_data()
  
              self.tab_plot.plot(
                  x_data, y_data,
                  xtitle=self._get_label('x'), ytitle=self._get_label('y'),
                  marker=marker, **plt_kw)
  
              if reset_xlimits:
                  self.set_ylim_cb()
                  self.set_xlimits_widgets()
              if reset_ylimits:
                  self.set_xlim_cb()
                  self.set_ylimits_widgets()
              if not (reset_xlimits or reset_ylimits):
                  self.set_xlim_cb(redraw=False)
                  self.set_ylim_cb()
  
          except Exception as e:
              self.logger.error(str(e))
          else:
              self.save_plot.set_enabled(True)
docs: Simple line plot for two selected columns.