Skip to content

Commit e6095af

Browse files
committed
sort out ref_functions vs ref_methods in examples.rst
1 parent a1f3a4d commit e6095af

File tree

1 file changed

+15
-14
lines changed

1 file changed

+15
-14
lines changed

docs/source/examples.rst

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Basic Concepts
5757
.. manim:: BraceAnnotation
5858
:save_last_frame:
5959
:ref_classes: Brace
60-
:ref_functions: Brace.get_text Brace.get_tex
60+
:ref_methods: Brace.get_text Brace.get_tex
6161

6262
class BraceAnnotation(Scene):
6363
def construct(self):
@@ -100,7 +100,7 @@ Basic Concepts
100100
.. manim:: BezierSpline
101101
:save_last_frame:
102102
:ref_classes: Line VGroup
103-
:ref_functions: VMobject.add_cubic_bezier_curve
103+
:ref_methods: VMobject.add_cubic_bezier_curve
104104

105105
class BezierSpline(Scene):
106106
def construct(self):
@@ -203,7 +203,7 @@ Animations
203203
self.wait()
204204

205205
.. manim:: MovingAround
206-
:ref_functions: Mobject.shift VMobject.set_fill Mobject.scale Mobject.rotate
206+
:ref_methods: Mobject.shift VMobject.set_fill Mobject.scale Mobject.rotate
207207

208208
class MovingAround(Scene):
209209
def construct(self):
@@ -344,7 +344,7 @@ Plotting with Manim
344344
:save_last_frame:
345345
:ref_modules: manim.scene.graph_scene
346346
:ref_classes: MathTex
347-
:ref_functions: GraphScene.setup_axes GraphScene.get_graph GraphScene.get_vertical_line_to_graph GraphScene.input_to_graph_point
347+
:ref_methods: GraphScene.setup_axes GraphScene.get_graph GraphScene.get_vertical_line_to_graph GraphScene.input_to_graph_point
348348

349349
class SinAndCosFunctionPlot(GraphScene):
350350
def __init__(self, **kwargs):
@@ -378,7 +378,7 @@ Plotting with Manim
378378
.. manim:: GraphAreaPlot
379379
:save_last_frame:
380380
:ref_modules: manim.scenes.graph_scene
381-
:ref_functions: GraphScene.setup_axes GraphScene.get_graph GraphScene.get_vertical_line_to_graph GraphScene.get_area
381+
:ref_methods: GraphScene.setup_axes GraphScene.get_graph GraphScene.get_vertical_line_to_graph GraphScene.get_area
382382

383383
class GraphAreaPlot(GraphScene):
384384
def __init__(self, **kwargs):
@@ -404,7 +404,7 @@ Plotting with Manim
404404
.. manim:: HeatDiagramPlot
405405
:save_last_frame:
406406
:ref_modules: manim.scenes.graph_scene
407-
:ref_functions: GraphScene.setup_axes GraphScene.coords_to_point
407+
:ref_methods: GraphScene.setup_axes GraphScene.coords_to_point
408408

409409
class HeatDiagramPlot(GraphScene):
410410
def __init__(self, **kwargs):
@@ -441,7 +441,7 @@ Special Camera Settings
441441
.. manim:: FollowingGraphCamera
442442
:ref_modules: manim.scene.moving_camera_scene
443443
:ref_classes: GraphScene MovingCameraScene MoveAlongPath Restore
444-
:ref_functions: Mobject.add_updater
444+
:ref_methods: Mobject.add_updater
445445

446446
class FollowingGraphCamera(GraphScene, MovingCameraScene):
447447
def setup(self):
@@ -474,7 +474,7 @@ Special Camera Settings
474474
.. manim:: MovingZoomedSceneAround
475475
:ref_modules: manim.scene.zoomed_scene
476476
:ref_classes: ZoomedScene BackgroundRectangle UpdateFromFunc
477-
:ref_functions: Mobject.add_updater ZoomedScene.get_zoomed_display_pop_out_animation
477+
:ref_methods: Mobject.add_updater ZoomedScene.get_zoomed_display_pop_out_animation
478478

479479
class MovingZoomedSceneAround(ZoomedScene):
480480
# contributed by TheoremofBeethoven, www.youtube.com/c/TheoremofBeethoven
@@ -543,7 +543,7 @@ Special Camera Settings
543543
.. manim:: FixedInFrameMObjectTest
544544
:save_last_frame:
545545
:ref_classes: ThreeDScene
546-
:ref_functions: ThreeDScene.set_camera_orientation ThreeDScene.add_fixed_in_frame_mobjects
546+
:ref_methods: ThreeDScene.set_camera_orientation ThreeDScene.add_fixed_in_frame_mobjects
547547

548548
class FixedInFrameMObjectTest(ThreeDScene):
549549
def construct(self):
@@ -558,7 +558,7 @@ Special Camera Settings
558558
.. manim:: ThreeDLightSourcePosition
559559
:save_last_frame:
560560
:ref_classes: ThreeDScene ThreeDAxes ParametricSurface
561-
:ref_functions: ThreeDScene.set_camera_orientation
561+
:ref_methods: ThreeDScene.set_camera_orientation
562562

563563
class ThreeDLightSourcePosition(ThreeDScene):
564564
def construct(self):
@@ -577,7 +577,7 @@ Special Camera Settings
577577

578578
.. manim:: ThreeDCameraRotation
579579
:ref_classes: ThreeDScene ThreeDAxes
580-
:ref_functions: ThreeDScene.begin_ambient_camera_rotation ThreeDScene.stop_ambient_camera_rotation
580+
:ref_methods: ThreeDScene.begin_ambient_camera_rotation ThreeDScene.stop_ambient_camera_rotation
581581

582582
class ThreeDCameraRotation(ThreeDScene):
583583
def construct(self):
@@ -593,7 +593,7 @@ Special Camera Settings
593593

594594
.. manim:: ThreeDCameraIllusionRotation
595595
:ref_classes: ThreeDScene ThreeDAxes
596-
:ref_functions: ThreeDScene.begin_3dillusion_camera_rotation ThreeDScene.stop_3dillusion_camera_rotation
596+
:ref_methods: ThreeDScene.begin_3dillusion_camera_rotation ThreeDScene.stop_3dillusion_camera_rotation
597597

598598
class ThreeDCameraIllusionRotation(ThreeDScene):
599599
def construct(self):
@@ -664,7 +664,7 @@ Advanced Projects
664664

665665
.. manim:: OpeningManim
666666
:ref_classes: Tex MathTex Write FadeInFrom LaggedStart NumberPlane Create
667-
:ref_functions: NumberPlane.prepare_for_nonlinear_transform
667+
:ref_methods: NumberPlane.prepare_for_nonlinear_transform
668668

669669
class OpeningManim(Scene):
670670
def construct(self):
@@ -722,7 +722,8 @@ Advanced Projects
722722

723723
.. manim:: SineCurveUnitCircle
724724
:ref_classes: MathTex Circle Dot Line VGroup
725-
:ref_functions: Mobject.add_updater Mobject.remove_updater always_redraw
725+
:ref_methods: Mobject.add_updater Mobject.remove_updater
726+
:ref_functions: always_redraw
726727

727728
class SineCurveUnitCircle(Scene):
728729
# contributed by heejin_park, https://infograph.tistory.com/230

0 commit comments

Comments
 (0)