From fac262ce3b0cd8db67f15e43cc106acdf35a18bf Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Wed, 27 Jun 2018 20:03:19 +0200 Subject: [PATCH 1/1] tetraflexagon_diagram: do not use a fill_color for the template tiles Pass fill_color=None when drawing the template to make it only a wireframe reference, as it is done for the hexaflexagon case. This also makes the result more usable as the user is able to view the content layers more clearly without filled squares on top. --- src/flexagon/tetraflexagon_diagram.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/flexagon/tetraflexagon_diagram.py b/src/flexagon/tetraflexagon_diagram.py index d64ce32..5d810de 100755 --- a/src/flexagon/tetraflexagon_diagram.py +++ b/src/flexagon/tetraflexagon_diagram.py @@ -94,7 +94,9 @@ class TetraflexagonDiagram(object): side = self.tile_side color = self.squares_color_map[tile.square.index] - self.backend.draw_rect_from_center(cx, cy, side, side, theta, color) + self.backend.draw_rect_from_center(cx, cy, side, side, theta, + stroke_color=color, + fill_color=None) corners_labels = "ABC" corner_text = corners_labels[tile.square.index] + str(tile.index + 1) -- 2.1.4