@@ -62,8 +62,6 @@ def construct(self):
6262 self.play(MoveAlongPath(dot, hexagram), run_time=5, rate_func=linear)
6363 self.remove(dot)
6464 self.wait()
65-
66-
6765 """
6866
6967 def __init__ (self , * vertex_groups : Iterable [Sequence [float ]], color = BLUE , ** kwargs ):
@@ -143,9 +141,12 @@ def round_corners(self, radius: float = 0.5):
143141 radius
144142 The curvature of the corners of the :class:`Polygram`.
145143
144+
145+ .. seealso::
146+ :class:`.~RoundedRectangle`
147+
146148 Examples
147149 --------
148-
149150 .. manim:: PolygramRoundCorners
150151 :save_last_frame:
151152
@@ -159,10 +160,6 @@ def construct(self):
159160
160161 shapes.arrange(RIGHT)
161162 self.add(shapes)
162-
163- See Also
164- --------
165- :class:`RoundedRectangle`
166163 """
167164
168165 if radius == 0 :
@@ -228,7 +225,6 @@ class Polygon(Polygram):
228225
229226 Examples
230227 --------
231-
232228 .. manim:: PolygonExample
233229 :save_last_frame:
234230
@@ -354,7 +350,6 @@ class RegularPolygon(RegularPolygram):
354350
355351 Examples
356352 --------
357-
358353 .. manim:: RegularPolygonExample
359354 :save_last_frame:
360355
@@ -488,7 +483,6 @@ class Triangle(RegularPolygon):
488483
489484 Examples
490485 --------
491-
492486 .. manim:: TriangleExample
493487 :save_last_frame:
494488
@@ -528,7 +522,6 @@ class Rectangle(Polygon):
528522
529523 Examples
530524 ----------
531-
532525 .. manim:: RectangleExample
533526 :save_last_frame:
534527
@@ -600,7 +593,6 @@ class Square(Rectangle):
600593
601594 Examples
602595 --------
603-
604596 .. manim:: SquareExample
605597 :save_last_frame:
606598
@@ -629,7 +621,6 @@ class RoundedRectangle(Rectangle):
629621
630622 Examples
631623 --------
632-
633624 .. manim:: RoundedRectangleExample
634625 :save_last_frame:
635626
@@ -651,12 +642,6 @@ def __init__(self, corner_radius=0.5, **kwargs):
651642class Cutout (VMobject , metaclass = ConvertToOpenGL ):
652643 """A shape with smaller cutouts.
653644
654- .. warning::
655-
656- Technically, this class behaves similar to a symmetric difference: if
657- parts of the ``mobjects`` are not located within the ``main_shape``,
658- these parts will be added to the resulting :class:`~.VMobject`.
659-
660645 Parameters
661646 ----------
662647 main_shape : :class:`~.VMobject`
@@ -667,6 +652,12 @@ class Cutout(VMobject, metaclass=ConvertToOpenGL):
667652 Further keyword arguments that are passed to the constructor of
668653 :class:`~.VMobject`.
669654
655+
656+ .. warning::
657+ Technically, this class behaves similar to a symmetric difference: if
658+ parts of the ``mobjects`` are not located within the ``main_shape``,
659+ these parts will be added to the resulting :class:`~.VMobject`.
660+
670661 Examples
671662 --------
672663 .. manim:: CutoutExample
0 commit comments