code: private void updateUpperYValue() {
          double upper = 1.0;
          if (this.measures != null) {
              upper = max_y_value * (1 + (0.1 / y_resolution));
          }
  
          this.axesPanel.setUpperYValue(upper);
          this.plotPanel.setUpperYValue(upper);
      }
docs: Updates the upper value on the y-axis.