fill_color=(0.5, 0.5, 0.5, 0.2))
self.backend.active_group = old_active_group
- self.backend.active_group = old_active_group
-
# Draw the normal template for squares
for square in self.tetraflexagon.squares:
self.draw_square_template(square)
super(SvgwriteTetraflexagonDiagram, self).draw_tile_template(tile, cx, cy, theta)
- # The tile outline in the active group's element is the only polygon
+ # The tile outline in the active group's element is the only rectangle
# element, so get it and set its id so that it can be reused as
# a clip-path
for element in self.backend.active_group.elements:
self.backend.active_group = old_active_group
+
def main():
width = 3508
height = 2480