A community-maintained Python framework for creating mathematical animations.
Make BackgroundRectangle stroke_opacity 0
Grant Sanderson876f2c34196a
diff --git a/manimlib/mobject/mobject.py b/manimlib/mobject/mobject.pyindex 02e4d2b2f..6eeeec74b 100644--- a/manimlib/mobject/mobject.py+++ b/manimlib/mobject/mobject.py@@ -1107,7 +1107,7 @@ class Mobject(Container):# Errorsdef throw_error_if_no_points(self):if self.has_no_points():- message = "Cannot call Mobject.{}" +\+ message = "Cannot call Mobject.{} " +\"for a Mobject with no points"caller_name = sys._getframe(1).f_code.co_nameraise Exception(message.format(caller_name))diff --git a/manimlib/mobject/shape_matchers.py b/manimlib/mobject/shape_matchers.pyindex d3e1e089d..a0f46229f 100644--- a/manimlib/mobject/shape_matchers.py+++ b/manimlib/mobject/shape_matchers.py@@ -25,6 +25,7 @@ class BackgroundRectangle(SurroundingRectangle):CONFIG = {"color": BLACK,"stroke_width": 0,+ "stroke_opacity": 0,"fill_opacity": 0.75,"buff": 0}