code: def set_ylimits_widgets(self, set_min=True, set_max=True):
          
          ymin, ymax = self.tab_plot.ax.get_ylim()
          if set_min:
              self.w.y_lo.set_text('{0}'.format(ymin))
          if set_max:
              self.w.y_hi.set_text('{0}'.format(ymax))
docs: Populate axis limits GUI with current plot values.