Skip to content

Commit d915b89

Browse files
committed
Import ORIGIN and RIGHT
1 parent b7dc649 commit d915b89

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

manim/mobject/mobject.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2731,7 +2731,7 @@ def align_data(self, mobject: Mobject, skip_point_alignment: bool = False) -> No
27312731
--------
27322732
::
27332733
2734-
>>> from manim import Square, Star, VGroup, Line
2734+
>>> from manim import Square, Star, VGroup, Line, ORIGIN, RIGHT
27352735
>>> sq = Square()
27362736
>>> sq.add(VGroup(Star()))
27372737
>>> line = Line(start=ORIGIN,end=RIGHT)
@@ -2741,7 +2741,6 @@ def align_data(self, mobject: Mobject, skip_point_alignment: bool = False) -> No
27412741
>>> line.get_num_points() == sq.get_num_points()
27422742
True
27432743
2744-
27452744
See also
27462745
--------
27472746
:class:`~.Transform`, :meth:`~.Mobject.become`, :meth:`~.VMobject.align_points`, :meth:`~.Mobject.get_family`

0 commit comments

Comments
 (0)