From 734c1f3c1260b63b00fe519cfcd0ba0e58d76456 Mon Sep 17 00:00:00 2001 From: Jerod Weinman Date: Tue, 22 Dec 2020 16:13:46 -0600 Subject: [PATCH] Fix bug in variable name --- apps/single_stroke_tf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/single_stroke_tf.py b/apps/single_stroke_tf.py index f2f9def..42ad5fb 100644 --- a/apps/single_stroke_tf.py +++ b/apps/single_stroke_tf.py @@ -90,7 +90,7 @@ for t in range(100): # Render the final result. path.points = points_n * 256 -path_group.fill_color = color +path_group.stroke_color = stroke_color scene_args = pydiffvg.serialize_scene(\ canvas_width, canvas_height, shapes, shape_groups) img = render(tf.constant(256), # width