Пример #1
0
 def draw(self, builder):
     color = builder.authors[self]
     circle = Circle(builder.position(self.date, builder.y), 5, fill=color)
     circle.add(Title(str(self)))
     return [circle]
Пример #2
0
 def draw(self, builder):
     color = builder.authors[self]
     circle = Circle(builder.position(self.date, builder.y), 5, fill=color)
     circle.add(Title(str(self)))
     return [circle]