def __init__(self,params): defs = PropertyTree() defs.force_labels = False defs.padding = 2 defs.line_width = 2 defs.bgcolor = (0,0,0,255) defs.font.name = "Times New Roman" defs.font.bold = True defs.font.size = 15 CanvasItemSet.__init__(self,params,defs) self.items = self.generate()
def __init__(self, params): defs = PropertyTree() defs.force_labels = False defs.padding = 2 defs.line_width = 2 defs.bgcolor = (0, 0, 0, 255) defs.font.name = "Times New Roman" defs.font.bold = True defs.font.size = 15 CanvasItemSet.__init__(self, params, defs) self.items = self.generate()
def __init__(self,params): defs = PropertyTree() defs.fgcolor = (255,255,255,255) defs.padding = 2 defs.text.color = (255,255,255,255) defs.text.vz = "top" defs.text.hz = "left" defs.bgcolor = (0,0,0,255) defs.font.name = "Times New Roman" defs.font.bold = True defs.font.size = 15 CanvasItemSet.__init__(self,params,defs) self.items = self.generate()
def __init__(self, params): defs = PropertyTree() defs.fgcolor = (255, 255, 255, 255) defs.padding = 2 defs.text.color = (255, 255, 255, 255) defs.text.vz = "top" defs.text.hz = "left" defs.bgcolor = (0, 0, 0, 255) defs.font.name = "Times New Roman" defs.font.bold = True defs.font.size = 15 CanvasItemSet.__init__(self, params, defs) self.items = self.generate()