Calling view.drawPlot() in controller