Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Made coordinate_labels an attribute of ComplexPlane

Grant Sanderson1a186dca3b70
diff --git a/mobject/coordinate_systems.py b/mobject/coordinate_systems.py
index bb6f49efb..d2f01b607 100644
--- a/mobject/coordinate_systems.py
+++ b/mobject/coordinate_systems.py
@@ -352,5 +352,6 @@ class ComplexPlane(NumberPlane):
return result
def add_coordinates(self, *numbers):
- self.add(*self.get_coordinate_labels(*numbers))
+ self.coordinate_labels = self.get_coordinate_labels(*numbers)
+ self.add(self.coordinate_labels)
return self