@glyph_method(glyphs.Rect)
def rect(self, *args: Any, **kwargs: Any) -> GlyphRenderer:
    '\nExamples:\n\n    .. code-block:: python\n\n        from bokeh.plotting import figure, output_file, show\n\n        plot = figure(width=300, height=300)\n        plot.rect(x=[1, 2, 3], y=[1, 2, 3], width=10, height=20, color="#CAB2D6",\n                  width_units="screen", height_units="screen")\n\n        show(plot)\n\n'
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.rect(x=[1, 2, 3], y=[1, 2, 3], width=10, height=20, color="#CAB2D6",
                  width_units="screen", height_units="screen")

        show(plot)
@glyph_method(glyphs.Rect)
def rect(self, *args: Any, **kwargs: Any) -> GlyphRenderer:
    '\nExamples:\n\n    .. code-block:: python\n\n        from bokeh.plotting import figure, output_file, show\n\n        plot = figure(width=300, height=300)\n        plot.rect(x=[1, 2, 3], y=[1, 2, 3], width=10, height=20, color="#CAB2D6",\n                  width_units="screen", height_units="screen")\n\n        show(plot)\n\n'