def diff(self, plot):
        """
        Returns the latest plot data to update an existing plot.
        """
        if self.fig == 'auto':
            figure_format = self.params('fig').objects[0]
        else:
            figure_format = self.fig
        return self.html(plot, figure_format)