Repository: ManimCommunity/manim
File: manim/mobject/coordinate_systems.py (Python)

Code before:
    kwargs : Any
        Additional arguments to be passed to :class:`Axes`.

    .. note:: If :attr:`x_length` or :attr:`y_length` are not defined, the plane automatically adjusts its lengths based
        on the :attr:`x_range` and :attr:`y_range` values to set the unit_size to 1.

    Examples
    --------

    .. manim:: NumberPlaneExample
        :ref_classes: NumberPlane
        :save_last_frame:

        class NumberPlaneExample(Scene):
            def construct(self):
                number_plane = NumberPlane(
                x_range = [-10,10,1],
                y_range = [-10,10,1],
                axis_config = {
                    "stroke_color": WHITE,
                    "stroke_width": 2,
                    "include_ticks": False,
                    "include_tip": False,
                    "line_to_number_buff": SMALL_BUFF,
                    "label_direction": DR,
                    "number_scale_value": 0.5,
                },
                background_line_style={
                    "stroke_color": RED_D,
                    "stroke_width": 2,
                    "stroke_opacity": .7,
                })
                self.add(number_plane)

    """

    def __init__(
        self,
        x_range: Optional[Sequence[float]] = (
            -config["frame_x_radius"],
            config["frame_x_radius"],
            1,
        ),
        y_range: Optional[Sequence[float]] = (
            -config["frame_y_radius"],
            config["frame_y_radius"],
            1,
        ),
        x_length: Optional[float] = None,
        y_length: Optional[float] = None,
        axis_config: Optional[dict] = None,

Review comment (suggestion):
I think it's a little odd to include these parameters since they don't really have any effect on the scene. It would be a little more concise if this was removed here. Someone who's just trying to get a hold of what `NumberPlane` does would have to parse what this means. 

Code after:
    faded_line_ratio
        Determines the number of boxes within the background lines: :code:`2` = 4 boxes, :code:`3` = 9 boxes.
    make_smooth_after_applying_functions
        Currently non-functional.
    kwargs : Any
        Additional arguments to be passed to :class:`Axes`.

    .. note:: If :attr:`x_length` or :attr:`y_length` are not defined, the plane automatically adjusts its lengths based
        on the :attr:`x_range` and :attr:`y_range` values to set the unit_size to 1.

    Examples
    --------

    .. manim:: NumberPlaneExample
        :save_last_frame:

        class NumberPlaneExample(Scene):
            def construct(self):
                number_plane = NumberPlane(
                    x_range=[-10, 10, 1],
                    y_range=[-10, 10, 1],
                    background_line_style={
                        "stroke_color": TEAL,
                        "stroke_width": 4,
                        "stroke_opacity": 0.6
                    }
                )
                self.add(number_plane)
    """

    def __init__(
        self,
        x_range: Optional[Sequence[float]] = (
            -config["frame_x_radius"],
            config["frame_x_radius"],
            1,
        ),
        y_range: Optional[Sequence[float]] = (
            -config["frame_y_radius"],
            config["frame_y_radius"],
            1,
        ),
        x_length: Optional[float] = None,
        y_length: Optional[float] = None,
        axis_config: Optional[dict] = None,
        y_axis_config: Optional[dict] = None,
        background_line_style: Optional[dict] = None,
        faded_line_style: Optional[dict] = None,
        faded_line_ratio: Optional[float] = 1,
        make_smooth_after_applying_functions=True,
        **kwargs,