Make sure replot updates the central widget.