From c5aa330077b57f86998b20e7f64dbc4b6d1ff22f Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 13 Jan 2021 00:07:58 -1000 Subject: [PATCH] Small bug fix to Write --- manimlib/animation/creation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manimlib/animation/creation.py b/manimlib/animation/creation.py index 2df293f9..4165415c 100644 --- a/manimlib/animation/creation.py +++ b/manimlib/animation/creation.py @@ -69,10 +69,10 @@ class DrawBorderThenFill(Animation): def get_outline(self): outline = self.mobject.copy() outline.set_fill(opacity=0) - for sm in outline.family_members_with_points(): + for sm in outline.get_family(): sm.set_stroke( color=self.get_stroke_color(sm), - width=self.stroke_width + width=float(self.stroke_width) ) return outline