A community-maintained Python framework for creating mathematical animations.
change PangoText to Text in a recently added example
Benjamin Hackl6b35ca21529d
diff --git a/docs/source/examples/shapes_images_positions.rst b/docs/source/examples/shapes_images_positions.rstindex c02bdc73e..e4dbb470b 100644--- a/docs/source/examples/shapes_images_positions.rst+++ b/docs/source/examples/shapes_images_positions.rst@@ -95,20 +95,20 @@ Shapes, Images and Positionsclass TextAlignement(Scene):def construct(self):- title = PangoText("K-means clustering and Logistic Regression", color=WHITE)+ title = Text("K-means clustering and Logistic Regression", color=WHITE)title.scale_in_place(0.75)self.add(title.to_edge(UP))- t1 = PangoText("1. Measuring").set_color(WHITE)+ t1 = Text("1. Measuring").set_color(WHITE)t1.next_to(ORIGIN, direction=RIGHT, aligned_edge=UP)- t2 = PangoText("2. Clustering").set_color(WHITE)+ t2 = Text("2. Clustering").set_color(WHITE)t2.next_to(t1, direction=DOWN, aligned_edge=LEFT)- t3 = PangoText("3. Regression").set_color(WHITE)+ t3 = Text("3. Regression").set_color(WHITE)t3.next_to(t2, direction=DOWN, aligned_edge=LEFT)- t4 = PangoText("4. Prediction").set_color(WHITE)+ t4 = Text("4. Prediction").set_color(WHITE)t4.next_to(t3, direction=DOWN, aligned_edge=LEFT)x = VGroup(t1, t2, t3, t4).scale_in_place(0.7)