Moves the displayed plot to the next one

def nextPlot(self):
        """Moves the displayed plot to the next one"""
        if self.stacker.currentIndex() < self.stacker.count():
            self.stacker.setCurrentIndex(self.stacker.currentIndex()+1)