def __init__(self, width, height, box):
        """Create the view with a width an height and a box bounds"""
        self.width = width
        self.height = height
        self.box = box
        self.log10_ymax = log10(self.box.ymax) if self.box.ymax > 0 else 0
        self.log10_ymin = log10(self.box.ymin) if self.box.ymin > 0 else 0
        if self.log10_ymin == self.log10_ymax:
            self.log10_ymax = self.log10_ymin + 1
        self.box.fix(False)
def __init__ ( self , width , height , box ) : self . width = width self . height = height self . box = box self . log10_ymax = log10 ( self . box . ymax ) if self . box . ymax > 0 else 0 self . log10_ymin = log10 ( self . box . ymin ) if self . box . ymin > 0 else 0 if self . log10_ymin == self . log10_ymax : self . log10_ymax = self . log10_ymin + 1 self . box . fix ( False )
Create the view with a width an height and a box bounds