A community-maintained Python framework for creating mathematical animations.
replaced set_style_data by set_style (#644)
Hugues Devimeux779d9489056e
diff --git a/manim/mobject/shape_matchers.py b/manim/mobject/shape_matchers.pyindex a9bf1e0cb..24a761e6b 100644--- a/manim/mobject/shape_matchers.py+++ b/manim/mobject/shape_matchers.py@@ -43,7 +43,7 @@ class BackgroundRectangle(SurroundingRectangle):self.set_fill(opacity=b * self.original_fill_opacity)return self- def set_style_data(+ def set_style(self,stroke_color=None,stroke_width=None,@@ -52,7 +52,7 @@ class BackgroundRectangle(SurroundingRectangle):family=True,):# Unchangable style, except for fill_opacity- VMobject.set_style_data(+ VMobject.set_style(self,stroke_color=BLACK,stroke_width=0,