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

Code before:
        Returns
        -------
        :class:`NumberLine`
            Returns a Number Line with the provided x and y axis range.
        """
        new_config = merge_dicts_recursively(self.axis_config, axis_config)
        new_config["length"] = length
        axis = NumberLine(range_terms, **new_config)

        # without the if/elif, graph does not exist when min > 0 or max < 0
        # shifts the axis so that 0 is centered
        if range_terms[0] > 0:
            axis.shift(-axis.number_to_point(range_terms[0]))
        elif range_terms[1] < 0:
            axis.shift(-axis.number_to_point(range_terms[1]))
        else:
            axis.shift(-axis.number_to_point(0))
        return axis

    def coords_to_point(self, *coords: Sequence[float]) -> np.ndarray:
        """Returns back a point with respect to the origin from the given coordinates.

        Returns
        -------
        np.ndarray
            A point formed by the coordinates
        """
        origin = self.x_axis.number_to_point(0)
        result = np.array(origin)
        for axis, coord in zip(self.get_axes(), coords):
            result += axis.number_to_point(coord) - origin
        return result

    def point_to_coords(self, point: float) -> Tuple:
        """Returns back the coordinates of a particular point.

        Parameters
        ----------
        point
            The point for finding the coordinates.

        Returns
        -------
        Tuple
            The coordinates of the points.
        """
        return tuple([axis.point_to_number(point) for axis in self.get_axes()])

    def get_axes(self) -> VGroup:
        """Gets the axes.


Review comment (suggestion):
It's not a point formed by the coordinates (In that case, it'd mean that this function does nothing). It's a point that results from a change of basis from the coordinate system defined by the `Axes` to that of `manim`'s default coordinate system

Code after:
            The stroke width of the line.

        Returns
        -------
        :class:`~.Line`
            The line from an axis to a point.

        See Also
        --------
        :class:`get_vertical_line`
        :class:`get_horizontal_line`
        """
        axis = self.get_axis(index)
        line = line_func(axis.get_projection(point), point)
        line.set_stroke(color, stroke_width)
        return line

    def get_vertical_line(self, point: Sequence[float], **kwargs) -> Line:
        """A vertical line from the x-axis to a given point in the scene.

        Parameters
        ----------
        point
            The point to which the vertical line will be drawn.

        kwargs
            Additional parameters to be passed to :class:`get_line_from_axis_to_point`

        Returns
        -------
        :class:`Line`
            A vertical line from the x-axis to the point.
        """

        return self.get_line_from_axis_to_point(0, point, **kwargs)

    def get_horizontal_line(self, point: Sequence[float], **kwargs) -> Line:
        """A horizontal line from the y-axis to a given point in the scene.

        Parameters
        ----------
        point
            The point to which the horizontal line will be drawn.

        kwargs
            Additional parameters to be passed to :class:`get_line_from_axis_to_point`

        Returns
        -------
        :class:`Line`
            A horizontal line from the y-axis to the point.