diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.py index ad138e22..f37774a9 100644 --- a/manimlib/mobject/types/vectorized_mobject.py +++ b/manimlib/mobject/types/vectorized_mobject.py @@ -377,7 +377,7 @@ class VMobject(Mobject): return self.get_stroke_color() def has_stroke(self) -> bool: - return bool(self.get_stroke_widths().any() and self.get_stroke_opacities().any()) + return any(self.get_stroke_widths()) and any(self.get_stroke_opacities()) def has_fill(self) -> bool: return any(self.get_fill_opacities())