A community-maintained Python framework for creating mathematical animations.
Change the color of :class:`~.NumberLine` to WHITE from LIGHT_GREY. (#2139)
Laith Bahodi7fc681d3137f
diff --git a/manim/mobject/number_line.py b/manim/mobject/number_line.pyindex 1958230fd..c85f1f195 100644--- a/manim/mobject/number_line.py+++ b/manim/mobject/number_line.py@@ -16,7 +16,6 @@ from ..mobject.geometry import Linefrom ..mobject.numbers import DecimalNumberfrom ..mobject.types.vectorized_mobject import VGroupfrom ..utils.bezier import interpolate-from ..utils.color import LIGHT_GREYfrom ..utils.config_ops import merge_dicts_recursivelyfrom ..utils.deprecation import deprecated_paramsfrom ..utils.simple_functions import fdiv@@ -45,8 +44,6 @@ class NumberLine(Line):An iterable of specific values with elongated ticks.longer_tick_multipleInfluences how many times larger elongated ticks are than regular ticks (2 = 2x).- color- The color of the line.rotationThe angle (in radians) at which the line is rotated.stroke_width@@ -145,7 +142,6 @@ class NumberLine(Line):longer_tick_multiple: int = 2,exclude_origin_tick: bool = False,# visuals- color: Color = LIGHT_GREY,rotation: float = 0,stroke_width: float = 2.0,# tip@@ -205,7 +201,6 @@ class NumberLine(Line):self.exclude_origin_tick = exclude_origin_tick# visualsself.rotation = rotation- self.color = color# tipself.include_tip = include_tipself.tip_width = tip_width@@ -223,7 +218,6 @@ class NumberLine(Line):self.x_range[0] * RIGHT,self.x_range[1] * RIGHT,stroke_width=stroke_width,- color=self.color,**kwargs,)if self.length:diff --git a/tests/control_data/graphical_units_data/coordinate_system/implicit_graph.npz b/tests/control_data/graphical_units_data/coordinate_system/implicit_graph.npzindex 9e290fb38..ae64c0d05 100644Binary files a/tests/control_data/graphical_units_data/coordinate_system/implicit_graph.npz and b/tests/control_data/graphical_units_data/coordinate_system/implicit_graph.npz differdiff --git a/tests/control_data/graphical_units_data/plot/axes.npz b/tests/control_data/graphical_units_data/plot/axes.npzindex 17ecaab9f..0895662cf 100644Binary files a/tests/control_data/graphical_units_data/plot/axes.npz and b/tests/control_data/graphical_units_data/plot/axes.npz differdiff --git a/tests/control_data/graphical_units_data/plot/custom_coordinates.npz b/tests/control_data/graphical_units_data/plot/custom_coordinates.npzindex 1072beb40..c189f89af 100644Binary files a/tests/control_data/graphical_units_data/plot/custom_coordinates.npz and b/tests/control_data/graphical_units_data/plot/custom_coordinates.npz differdiff --git a/tests/control_data/graphical_units_data/plot/get_area.npz b/tests/control_data/graphical_units_data/plot/get_area.npzindex 0b71a4ab9..86f986ed4 100644Binary files a/tests/control_data/graphical_units_data/plot/get_area.npz and b/tests/control_data/graphical_units_data/plot/get_area.npz differdiff --git a/tests/control_data/graphical_units_data/plot/get_axis_labels.npz b/tests/control_data/graphical_units_data/plot/get_axis_labels.npzindex 13efe929c..76da3ed56 100644Binary files a/tests/control_data/graphical_units_data/plot/get_axis_labels.npz and b/tests/control_data/graphical_units_data/plot/get_axis_labels.npz differdiff --git a/tests/control_data/graphical_units_data/plot/get_graph_label.npz b/tests/control_data/graphical_units_data/plot/get_graph_label.npzindex 62f1b9412..c90a697a6 100644Binary files a/tests/control_data/graphical_units_data/plot/get_graph_label.npz and b/tests/control_data/graphical_units_data/plot/get_graph_label.npz differdiff --git a/tests/control_data/graphical_units_data/plot/get_lines_to_point.npz b/tests/control_data/graphical_units_data/plot/get_lines_to_point.npzindex f56f66165..d65208f03 100644Binary files a/tests/control_data/graphical_units_data/plot/get_lines_to_point.npz and b/tests/control_data/graphical_units_data/plot/get_lines_to_point.npz differdiff --git a/tests/control_data/graphical_units_data/plot/get_riemann_rectangles.npz b/tests/control_data/graphical_units_data/plot/get_riemann_rectangles.npzindex ec8b72487..f756d2544 100644Binary files a/tests/control_data/graphical_units_data/plot/get_riemann_rectangles.npz and b/tests/control_data/graphical_units_data/plot/get_riemann_rectangles.npz differdiff --git a/tests/control_data/graphical_units_data/plot/get_x_axis_label.npz b/tests/control_data/graphical_units_data/plot/get_x_axis_label.npzindex 2a40a89eb..c1f5a74e9 100644Binary files a/tests/control_data/graphical_units_data/plot/get_x_axis_label.npz and b/tests/control_data/graphical_units_data/plot/get_x_axis_label.npz differdiff --git a/tests/control_data/graphical_units_data/plot/get_y_axis_label.npz b/tests/control_data/graphical_units_data/plot/get_y_axis_label.npzindex c77c1af89..804e2646d 100644Binary files a/tests/control_data/graphical_units_data/plot/get_y_axis_label.npz and b/tests/control_data/graphical_units_data/plot/get_y_axis_label.npz differdiff --git a/tests/control_data/graphical_units_data/plot/get_z_axis_label.npz b/tests/control_data/graphical_units_data/plot/get_z_axis_label.npzindex ef0d5c9b6..d56d4761e 100644Binary files a/tests/control_data/graphical_units_data/plot/get_z_axis_label.npz and b/tests/control_data/graphical_units_data/plot/get_z_axis_label.npz differdiff --git a/tests/control_data/graphical_units_data/plot/log_scaling_graph.npz b/tests/control_data/graphical_units_data/plot/log_scaling_graph.npzindex 28b07d999..2abf2c0e0 100644Binary files a/tests/control_data/graphical_units_data/plot/log_scaling_graph.npz and b/tests/control_data/graphical_units_data/plot/log_scaling_graph.npz differdiff --git a/tests/control_data/graphical_units_data/plot/plot.npz b/tests/control_data/graphical_units_data/plot/plot.npzindex 24c2c89c4..b88654332 100644Binary files a/tests/control_data/graphical_units_data/plot/plot.npz and b/tests/control_data/graphical_units_data/plot/plot.npz differdiff --git a/tests/control_data/graphical_units_data/plot/plot_derivative_graph.npz b/tests/control_data/graphical_units_data/plot/plot_derivative_graph.npzindex f5d5675bd..da26cc739 100644Binary files a/tests/control_data/graphical_units_data/plot/plot_derivative_graph.npz and b/tests/control_data/graphical_units_data/plot/plot_derivative_graph.npz differdiff --git a/tests/control_data/graphical_units_data/plot/plot_functions.npz b/tests/control_data/graphical_units_data/plot/plot_functions.npzindex b35cdc6d5..1411fbf70 100644Binary files a/tests/control_data/graphical_units_data/plot/plot_functions.npz and b/tests/control_data/graphical_units_data/plot/plot_functions.npz differdiff --git a/tests/control_data/graphical_units_data/plot/plot_line_graph.npz b/tests/control_data/graphical_units_data/plot/plot_line_graph.npzindex f0abcb64c..a184d41bd 100644Binary files a/tests/control_data/graphical_units_data/plot/plot_line_graph.npz and b/tests/control_data/graphical_units_data/plot/plot_line_graph.npz differdiff --git a/tests/control_data/graphical_units_data/plot/t_label.npz b/tests/control_data/graphical_units_data/plot/t_label.npzindex 275b005c1..4788950de 100644Binary files a/tests/control_data/graphical_units_data/plot/t_label.npz and b/tests/control_data/graphical_units_data/plot/t_label.npz differdiff --git a/tests/control_data/graphical_units_data/threed/AmbientCameraMove.npz b/tests/control_data/graphical_units_data/threed/AmbientCameraMove.npzindex de51c5e18..4dff94bbb 100644Binary files a/tests/control_data/graphical_units_data/threed/AmbientCameraMove.npz and b/tests/control_data/graphical_units_data/threed/AmbientCameraMove.npz differdiff --git a/tests/control_data/graphical_units_data/threed/Arrow3D.npz b/tests/control_data/graphical_units_data/threed/Arrow3D.npzindex 8a7b1171f..d066e9322 100644Binary files a/tests/control_data/graphical_units_data/threed/Arrow3D.npz and b/tests/control_data/graphical_units_data/threed/Arrow3D.npz differdiff --git a/tests/control_data/graphical_units_data/threed/Axes.npz b/tests/control_data/graphical_units_data/threed/Axes.npzindex 2fdbe0f2b..9e4eb77bd 100644Binary files a/tests/control_data/graphical_units_data/threed/Axes.npz and b/tests/control_data/graphical_units_data/threed/Axes.npz differdiff --git a/tests/control_data/graphical_units_data/threed/CameraMove.npz b/tests/control_data/graphical_units_data/threed/CameraMove.npzindex a24c4b77e..1f4226c6f 100644Binary files a/tests/control_data/graphical_units_data/threed/CameraMove.npz and b/tests/control_data/graphical_units_data/threed/CameraMove.npz differdiff --git a/tests/control_data/graphical_units_data/threed/CameraMoveAxes.npz b/tests/control_data/graphical_units_data/threed/CameraMoveAxes.npzindex a8257cdd3..5e0cdc054 100644Binary files a/tests/control_data/graphical_units_data/threed/CameraMoveAxes.npz and b/tests/control_data/graphical_units_data/threed/CameraMoveAxes.npz differdiff --git a/tests/control_data/graphical_units_data/threed/Cone.npz b/tests/control_data/graphical_units_data/threed/Cone.npzindex ede6e69ee..828a5ef09 100644Binary files a/tests/control_data/graphical_units_data/threed/Cone.npz and b/tests/control_data/graphical_units_data/threed/Cone.npz differdiff --git a/tests/control_data/graphical_units_data/threed/Cube.npz b/tests/control_data/graphical_units_data/threed/Cube.npzindex 83c8a2a35..a1832bd5b 100644Binary files a/tests/control_data/graphical_units_data/threed/Cube.npz and b/tests/control_data/graphical_units_data/threed/Cube.npz differdiff --git a/tests/control_data/graphical_units_data/threed/Cylinder.npz b/tests/control_data/graphical_units_data/threed/Cylinder.npzindex 3ccda0eeb..094f808f8 100644Binary files a/tests/control_data/graphical_units_data/threed/Cylinder.npz and b/tests/control_data/graphical_units_data/threed/Cylinder.npz differdiff --git a/tests/control_data/graphical_units_data/threed/Dot3D.npz b/tests/control_data/graphical_units_data/threed/Dot3D.npzindex 084c5ec0e..e946ae235 100644Binary files a/tests/control_data/graphical_units_data/threed/Dot3D.npz and b/tests/control_data/graphical_units_data/threed/Dot3D.npz differdiff --git a/tests/control_data/graphical_units_data/threed/MovingVertices.npz b/tests/control_data/graphical_units_data/threed/MovingVertices.npzindex c16082a38..2da8e3a25 100644Binary files a/tests/control_data/graphical_units_data/threed/MovingVertices.npz and b/tests/control_data/graphical_units_data/threed/MovingVertices.npz differdiff --git a/tests/control_data/graphical_units_data/threed/Sphere.npz b/tests/control_data/graphical_units_data/threed/Sphere.npzindex 67ae84bdd..a0dcfc426 100644Binary files a/tests/control_data/graphical_units_data/threed/Sphere.npz and b/tests/control_data/graphical_units_data/threed/Sphere.npz differdiff --git a/tests/control_data/graphical_units_data/threed/SurfaceColorscale.npz b/tests/control_data/graphical_units_data/threed/SurfaceColorscale.npzindex f4800f5e3..2a2a6f7f7 100644Binary files a/tests/control_data/graphical_units_data/threed/SurfaceColorscale.npz and b/tests/control_data/graphical_units_data/threed/SurfaceColorscale.npz differdiff --git a/tests/control_data/graphical_units_data/threed/Torus.npz b/tests/control_data/graphical_units_data/threed/Torus.npzindex d8a679322..f2a8fcaef 100644Binary files a/tests/control_data/graphical_units_data/threed/Torus.npz and b/tests/control_data/graphical_units_data/threed/Torus.npz differ