Repository: ManimCommunity/manim
File: manim/scene/graph_scene.py (Python)

Code before:
        start_color=None,
        end_color=None,
        show_signed_area=True,
        width_scale_factor=1.001,
    ):
        """This method returns the VGroup() of the Riemann Rectangles for
        a particular curve.

        Parameters
        ----------
        graph : :class:`~.ParametricFunction`
            The graph whose area needs to be approximated
            by the Riemann Rectangles.

        x_min : Optional[:class:`float`]
            The lower bound from which to start adding rectangles

        x_max : Optional[:class:`float`]
            The upper bound where the rectangles stop.

        dx : Optional[:class:`float`]
            The smallest change in x-values that is
            considered significant.

        input_sample_type : Optional[:class:`str`]
            Can be any of "left", "right" or "center". Referrs to where
            the sample point for the height of each Riemann Rectangle
            will be inside the segments of the partition.

        stroke_width : Optional[:class:`float`]
            The stroke_width of the border of the rectangles.

        stroke_color : Optional[:class:`str`]
            The string of hex colour of the rectangle's border.

        fill_opacity : Optional[:class:`float`]
            The opacity of the rectangles. Takes values from 0 to 1.

        start_color : Optional[:class:`str`]
            The hex starting colour for the rectangles,
            this will, if end_color is a different colour,
            make a nice gradient.

        end_color : Optional[:class:`str`]
            The hex ending colour for the rectangles,
            this will, if start_color is a different colour,
            make a nice gradient.

        show_signed_area : Optional[:class:`bool`]
            Whether or not to indicate -ve area if curve dips below
            x-axis.

Review comment (suggestion):
```suggestion
            Can be any of "left", "right" or "center". Refers to where
```

Code after:
        stroke_color=BLACK,
        fill_opacity=1,
        start_color=None,
        end_color=None,
        show_signed_area=True,
        width_scale_factor=1.001,
    ):
        """This method returns the VGroup() of the Riemann Rectangles for
        a particular curve.

        Parameters
        ----------
        graph : :class:`~.ParametricFunction`
            The graph whose area needs to be approximated
            by the Riemann Rectangles.

        x_min : Optional[:class:`float`]
            The lower bound from which to start adding rectangles

        x_max : Optional[:class:`float`]
            The upper bound where the rectangles stop.

        dx : Optional[:class:`float`]
            The smallest change in x-values that is
            considered significant.

        input_sample_type : Optional[:class:`str`]
            Can be any of "left", "right" or "center". Refers to where
            the sample point for the height of each Riemann Rectangle
            will be inside the segments of the partition.

        stroke_width : Optional[:class:`float`]
            The stroke_width of the border of the rectangles.

        stroke_color : Optional[:class:`str`]
            The string of hex colour of the rectangle's border.

        fill_opacity : Optional[:class:`float`]
            The opacity of the rectangles. Takes values from 0 to 1.

        start_color : Optional[:class:`str`]
            The hex starting colour for the rectangles,
            this will, if end_color is a different colour,
            make a nice gradient.

        end_color : Optional[:class:`str`]
            The hex ending colour for the rectangles,
            this will, if start_color is a different colour,
            make a nice gradient.

        show_signed_area : Optional[:class:`bool`]