From ce05b01598dde8b2c6a57d1c6ceb2bfa08bb4871 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Thu, 27 Sep 2018 17:36:19 -0700 Subject: [PATCH] Use VMobject.set_shade_in_3d in ThreeDAxes --- mobject/coordinate_systems.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/mobject/coordinate_systems.py b/mobject/coordinate_systems.py index 46332f97..cf469716 100644 --- a/mobject/coordinate_systems.py +++ b/mobject/coordinate_systems.py @@ -144,8 +144,7 @@ class ThreeDAxes(Axes): ) axis.add(axis.pieces) axis.main_line.set_stroke(width=0, family=False) - for submob in axis.family_members_with_points(): - submob.shade_in_3d = True + axis.set_shade_in_3d(True) def set_axis_shading(self): def make_func(axis):