Skip to content

Commit 697c448

Browse files
committed
Adding link to CyclicReplace and refine example
1 parent 2caa8c7 commit 697c448

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

manim/animation/transform.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -745,7 +745,7 @@ def create_target(self) -> Group:
745745

746746

747747
class Swap(CyclicReplace):
748-
"""Another name for CyclicReplace, which is more understandable for two entries.
748+
"""Another name for :class:`~.CyclicReplace`, which is more understandable for two entries.
749749
750750
Examples
751751
--------
@@ -759,7 +759,6 @@ def construct(self):
759759
self.play(FadeIn(text_group))
760760
self.play(Swap(text_group))
761761
self.wait()
762-
self.remove(text_group)
763762
"""
764763

765764

0 commit comments

Comments
 (0)