docs: public void scaleYResolution(double factor) {
          this.y_resolution = Math.max(1.0, this.y_resolution * factor);
          updateYResolution();
          updateUpperYValue();
          updateCanvas(true);
      }