docs: def set_ylimits(self, min=None, max=None):
          """Set limits for the y-axis.
  
          :param min: minimum value to be displayed.  If None, it will be
              calculated.
          :param max: maximum value to be displayed.  If None, it will be
              calculated.
  
          """
          self.limits['ymin'] = min
          self.limits['ymax'] = max