def METHOD_NAME(self,plot):
    plotname = plot.__class__.__name__
    name = plotname.replace("Attributes","")
    index = self.GetEnabledID("plot",name)
    if index == -1 : return
    plotdict = self.props(plot)
    for i in range(len(self.state.states)):
        if self.state.states[i].typename == plotname:
            #print name, index, i, plotdict
            self.state.data(i).update(plotdict)
            self.state.notify(i)
            self.SetPlotOptionsByID(index)
            break