A community-maintained Python framework for creating mathematical animations.
Add documentation for new attributes
Philipp Imhofb431d4416ba9
diff --git a/manim/mobject/number_line.py b/manim/mobject/number_line.pyindex 70e75eff6..4b3c0c354 100644--- a/manim/mobject/number_line.py+++ b/manim/mobject/number_line.py@@ -35,8 +35,8 @@ class NumberLine(Line):"include_tip": False,"tip_width": 0.25,"tip_height": 0.25,- "add_start": 0,- "add_end": 0,+ "add_start": 0, # extend number line by this amount at its starting point+ "add_end": 0, # extend number line by this amount at its end point"decimal_number_config": {"num_decimal_places": 0,},diff --git a/manim/scene/graph_scene.py b/manim/scene/graph_scene.pyindex c31e0e4ca..70d7af109 100644--- a/manim/scene/graph_scene.py+++ b/manim/scene/graph_scene.py@@ -51,15 +51,15 @@ class GraphScene(Scene):"default_riemann_end_color": GREEN,"area_opacity": 0.8,"num_rects": 50,- "include_tip": False,- "x_axis_visibility": True,- "y_axis_visibility": True,- "x_label_position": UP+RIGHT,- "y_label_position": UP+RIGHT,- "x_add_start": 0,- "x_add_end": 0,- "y_add_start": 0,- "y_add_end": 0,+ "include_tip": False, # add tip at the end of the axes+ "x_axis_visibility": True, # show or hide the x axis+ "y_axis_visibility": True, # show or hide the y axis+ "x_label_position": UP+RIGHT, # where to place the label of the x axis+ "y_label_position": UP+RIGHT, # where to place the label of the y axis+ "x_add_start": 0, # extend the x axis to the left+ "x_add_end": 0, # extend the x axis to the right+ "y_add_start": 0, # extend the y axis to the bottom+ "y_add_end": 0, # extend the y axis to the top}def setup(self):