def __init__(self, x, y, size=None): QwtSeriesData.__init__(self) if isinstance(x, (tuple, list)): x = np.array(x) if isinstance(y, (tuple, list)): y = np.array(y) self.__x = x self.__y = y
def __init__(self, size, interval): QwtSeriesData.__init__(self) self.__size = size self.__interval = interval self.__rectOfInterest = None self.__intervalOfInterest = None
def __init__(self, x, y, size): QwtSeriesData.__init__(self) self.__x = x self.__y = y self.__size = size