docs: protected final void synchronizedRedraw() {
      Runnable pr = new Runnable() {
        @Override
        public void run() {
          if(VisualizationPlot.this.pendingRedraw == this) {
            VisualizationPlot.this.pendingRedraw = null;
            VisualizationPlot.this.redraw();
          }
        }
      };
      pendingRedraw = pr;
      scheduleUpdate(pr);
    }