docs: public void initialize(double ratio) {
      if(!(ratio > 0 && ratio < Double.POSITIVE_INFINITY)) {
        LOG.warning("Invalid ratio: " + ratio, new Throwable());
        ratio = 1.4;
      }
      this.ratio = ratio;
      if(plot != null) {
        LOG.warning("Already initialized.");
        lazyRefresh();
        return;
      }
      reinitialize();
      // register context listener
      context.addResultListener(this);
      context.addVisualizationListener(this);
    }