def __init__(self, histo2D, sym, viewport): DrawableManager.__init__(self, viewport) self.histo2D = histo2D self.sym = sym self.ID = None self._xproj = None self._yproj = None self._color = hdtv.color.default
def __init__(self, histogram): # Create histogram attribute avoiding __setattr__ method self.__dict__["hist"] = histogram DrawableManager.__init__(self)