A community-maintained Python framework for creating mathematical animations.
Explicitly check for None, rather than truthiness, for Axes.get_coordinate_labels
Grant Sanderson975c4dd03c2c
diff --git a/manimlib/mobject/coordinate_systems.py b/manimlib/mobject/coordinate_systems.pyindex 390e8f5ae..09c6adfa5 100644--- a/manimlib/mobject/coordinate_systems.py+++ b/manimlib/mobject/coordinate_systems.py@@ -187,8 +187,10 @@ class Axes(VGroup, CoordinateSystem):return self.axesdef get_coordinate_labels(self, x_vals=None, y_vals=None):- x_vals = x_vals or []- y_vals = y_vals or []+ if x_vals is None:+ x_vals = []+ if y_vals is None:+ y_vals = []x_mobs = self.get_x_axis().get_number_mobjects(*x_vals)y_mobs = self.get_y_axis().get_number_mobjects(*y_vals)