

def set_line_from_shape(self, shape):
    alpha = getattr(shape, 'alpha', 1.0)
    self.pen = self.cr.get_pen(shape.color, alpha=self)

dataset/ETHPy150Open ejeschke/ginga/ginga/cvw/CanvasRenderCv.py RenderContext.set_line_from_shape/VarMisuse@39/46 `alpha`->`self`