def add_curve(self, curve_name, datax, datay): obj, = self.plot_object.plot( datax, datay ) PlotUnit.add_curve(self, curve_name, curve_object = obj) self.__next_style() obj.set_marker(self.marker) obj.set_markerfacecolor(self.colour) obj.set_markeredgecolor("black") obj.set_linestyle("None")
def __init__(self, plot_object = None): PlotUnit.__init__(self, plot_object)