
    -e-l                        d dl mZ d dlZ ej        e          Zd dlmZmZ ddl	m
Z
 ddlmZmZ erddlmZ dd	lmZ dd
lmZ dZ G d d          ZdddddddddddddZdS )    )annotationsN)TYPE_CHECKINGAny   )glyphs   )glyph_methodmarker_method)CoordinateMapping)Plot)GlyphRenderer)GlyphAPIc                     e Zd ZdZedPd            ZedQd            ZdRdSdZ ee	j
                  dTd            Z ee	j                  dTd            Z ee	j                  dUd            Z e            dUd            Z ee	j                  dUd            Z ee	j                  dUd            Z ee	j                  dUd            Z e            dUd            Z e            dUd            Z e            dUd            Z e            dUd            Z e            dUd            Z e            dUd            Z e            dUd            Z e            dUd            Z e            dUd            Z  e            dUd             Z! ee	j"                  dUd!            Z# ee	j$                  dUd"            Z% ee	j&                  dUd#            Z' ee	j(                  dUd$            Z) ee	j*                  dUd%            Z+ ee	j,                  dUd&            Z- e            dUd'            Z. e            dUd(            Z/ ee	j0                  dUd)            Z1 ee	j2                  dUd*            Z3 ee	j4                  dUd+            Z5 ee	j6                  dUd,            Z7 ee	j8                  dUd-            Z9 e            dUd.            Z: ee	j;                  dUd/            Z< ee	j=                  dUd0            Z> ee	j?                  dUd1            Z@ ee	jA                  dUd2            ZB ee	jC                  dUd3            ZD e            dUd4            ZE ee	jF                  dUd5            ZG ee	jH                  dUd6            ZI ee	jJ                  dUd7            ZK ee	jL                  dUd8            ZM ee	jN                  dUd9            ZO ee	jP                  dUd:            ZQ e            dUd;            ZR e            dUd<            ZS e            dUd=            ZT e            dUd>            ZU e            dUd?            ZV e            dUd@            ZW e            dUdA            ZX ee	jY                  dUdB            ZZ e            dUdC            Z[ e            dUdD            Z\ e            dUdE            Z] ee	j^                  dUdF            Z_ ee	j`                  dUdG            Za ee	jb                  dUdH            Zc ee	jd                  dUdI            Ze ee	jf                  dUdJ            Zg ee	jh                  dUdK            Zi e            dUdL            Zj e            dUdM            Zk ee	jl                  dUdN            ZmdUdOZndS )Vr    returnPlot | Nonec                    | j         S N)_parentselfs    8lib/python3.11/site-packages/bokeh/plotting/glyph_api.pyplotzGlyphAPI.plot3   s
    |    CoordinateMapping | Nonec                    | j         S r   )_coordinatesr   s    r   coordinateszGlyphAPI.coordinates7   s      r   Nparentr   Nonec                "    || _         || _        d S r   )r   r   )r   r   r   s      r   __init__zGlyphAPI.__init__;   s    'r   kwargsr   r   c                    d S r    r   r#   s     r   annular_wedgezGlyphAPI.annular_wedge?       r   c                    dS )a!  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.annulus(x=[1, 2, 3], y=[1, 2, 3], color="#7FC97F",
                     inner_radius=0.2, outer_radius=0.5)

        show(plot)

Nr%   r&   s     r   annuluszGlyphAPI.annulusC         r   argsc                    d S r   r%   r   r,   r#   s      r   arczGlyphAPI.arcT   r(   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.asterisk(x=[1,2,3], y=[1,2,3], size=20, color="#F0027F")

        show(plot)

Nr%   r.   s      r   asteriskzGlyphAPI.asteriskX   r+   r   c                    d S r   r%   r.   s      r   bezierzGlyphAPI.bezierh   r(   r   c                    dS )aX  
.. note::
    Only one of ``size`` or ``radius`` should be provided. Note that ``radius``
    defaults to |data units|.

Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.circle(x=[1, 2, 3], y=[1, 2, 3], size=20)

        show(plot)

Nr%   r.   s      r   circlezGlyphAPI.circlel   r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.block(x=[1, 2, 3], y=[1,2,3], width=0.5, height=1, , color="#CAB2D6")

        show(plot)

Nr%   r.   s      r   blockzGlyphAPI.block   r+   r   c                    dS )a*  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.circle_cross(x=[1,2,3], y=[4,5,6], size=20,
                          color="#FB8072", fill_alpha=0.2, line_width=2)

        show(plot)

Nr%   r.   s      r   circle_crosszGlyphAPI.circle_cross   r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.circle_dot(x=[1,2,3], y=[4,5,6], size=20,
                        color="#FB8072", fill_color=None)

        show(plot)

Nr%   r.   s      r   
circle_dotzGlyphAPI.circle_dot   r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.circle_x(x=[1, 2, 3], y=[1, 2, 3], size=20,
                      color="#DD1C77", fill_alpha=0.2)

        show(plot)

Nr%   r.   s      r   circle_xzGlyphAPI.circle_x   r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.circle_y(x=[1, 2, 3], y=[1, 2, 3], size=20,
                      color="#DD1C77", fill_alpha=0.2)

        show(plot)

Nr%   r.   s      r   circle_yzGlyphAPI.circle_y   r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.cross(x=[1, 2, 3], y=[1, 2, 3], size=20,
                   color="#E6550D", line_width=2)

        show(plot)

Nr%   r.   s      r   crosszGlyphAPI.cross   r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.dash(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,25],
                  color="#99D594", line_width=2)

        show(plot)

Nr%   r.   s      r   dashzGlyphAPI.dash   r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.diamond(x=[1, 2, 3], y=[1, 2, 3], size=20,
                     color="#1C9099", line_width=2)

        show(plot)

Nr%   r.   s      r   diamondzGlyphAPI.diamond   r+   r   c                    dS )a1  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.diamond_cross(x=[1, 2, 3], y=[1, 2, 3], size=20,
                           color="#386CB0", fill_color=None, line_width=2)

        show(plot)

Nr%   r.   s      r   diamond_crosszGlyphAPI.diamond_cross  r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.diamond_dot(x=[1, 2, 3], y=[1, 2, 3], size=20,
                         color="#386CB0", fill_color=None)

        show(plot)

Nr%   r.   s      r   diamond_dotzGlyphAPI.diamond_dot  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.dot(x=[1, 2, 3], y=[1, 2, 3], size=20, color="#386CB0")

        show(plot)

Nr%   r.   s      r   dotzGlyphAPI.dot)  r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.harea(x1=[0, 0, 0], x2=[1, 4, 2], y=[1, 2, 3],
                   fill_color="#99D594")

        show(plot)

Nr%   r.   s      r   hareazGlyphAPI.harea9  r+   r   c                    dS )a*  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.harea_step(x1=[1, 2, 3], x2=[0, 0, 0], y=[1, 4, 2],
                        step_mode="after", fill_color="#99D594")

        show(plot)

Nr%   r.   s      r   
harea_stepzGlyphAPI.harea_stepJ  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.hbar(y=[1, 2, 3], height=0.5, left=0, right=[1,2,3], color="#CAB2D6")

        show(plot)

Nr%   r.   s      r   hbarzGlyphAPI.hbar[  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300, x_range=(0, 1))
        plot.hspan(y=[1, 2, 3], color="#CAB2D6")

        show(plot)

Nr%   r.   s      r   hspanzGlyphAPI.hspank  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300, x_range=(0, 1))
        plot.hstrip(y0=[1, 2, 5], y1=[3, 4, 8], color="#CAB2D6")

        show(plot)

Nr%   r.   s      r   hstripzGlyphAPI.hstrip{  r+   r   c                    dS )a1  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.ellipse(x=[1, 2, 3], y=[1, 2, 3], width=30, height=20,
                     color="#386CB0", fill_color=None, line_width=2)

        show(plot)

Nr%   r.   s      r   ellipsezGlyphAPI.ellipse  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.hex(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,30], color="#74ADD1")

        show(plot)

Nr%   r.   s      r   hexzGlyphAPI.hex  r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.hex_dot(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,30],
                     color="#74ADD1", fill_color=None)

        show(plot)

Nr%   r.   s      r   hex_dotzGlyphAPI.hex_dot  r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300, match_aspect=True)
        plot.hex_tile(r=[0, 0, 1], q=[1, 2, 2], fill_color="#74ADD1")

        show(plot)

Nr%   r.   s      r   hex_tilezGlyphAPI.hex_tile  r+   r   c                    dS )z
.. note::
    If both ``palette`` and ``color_mapper`` are passed, a ``ValueError``
    exception will be raised. If neither is passed, then the ``Greys9``
    palette will be used as a default.

Nr%   r.   s      r   imagezGlyphAPI.image  r+   r   c                    dS )z
.. note::
    The ``image_rgba`` method accepts images as a two-dimensional array of RGBA
    values (encoded as 32-bit integers).

Nr%   r.   s      r   
image_rgbazGlyphAPI.image_rgba  r+   r   c                    d S r   r%   r.   s      r   image_stackzGlyphAPI.image_stack  r(   r   c                    d S r   r%   r.   s      r   	image_urlzGlyphAPI.image_url  r(   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.inverted_triangle(x=[1, 2, 3], y=[1, 2, 3], size=20, color="#DE2D26")

        show(plot)

Nr%   r.   s      r   inverted_trianglezGlyphAPI.inverted_triangle  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        p = figure(title="line", width=300, height=300)
        p.line(x=[1, 2, 3, 4, 5], y=[6, 7, 2, 4, 5])

        show(p)

Nr%   r.   s      r   linezGlyphAPI.line  r+   r   c                    dS )a  
.. note::
    For this glyph, the data is not simply an array of scalars, it is an
    "array of arrays".

Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        p = figure(width=300, height=300)
        p.multi_line(xs=[[1, 2, 3], [2, 3, 4]], ys=[[6, 7, 2], [4, 5, 7]],
                    color=['red','green'])

        show(p)

Nr%   r.   s      r   
multi_linezGlyphAPI.multi_line  r+   r   c                    dS )a  
.. note::
    For this glyph, the data is not simply an array of scalars, it is a
    nested array.

Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        p = figure(width=300, height=300)
        p.multi_polygons(xs=[[[[1, 1, 2, 2]]], [[[1, 1, 3], [1.5, 1.5, 2]]]],
                        ys=[[[[4, 3, 3, 4]]], [[[1, 3, 1], [1.5, 2, 1.5]]]],
                        color=['red', 'green'])
        show(p)

Nr%   r.   s      r   multi_polygonszGlyphAPI.multi_polygons  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        p = figure(width=300, height=300)
        p.patch(x=[1, 2, 3, 2], y=[6, 7, 2, 2], color="#99d8c9")

        show(p)

Nr%   r.   s      r   patchzGlyphAPI.patch2  r+   r   c                    dS )a  
.. note::
    For this glyph, the data is not simply an array of scalars, it is an
    "array of arrays".

Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        p = figure(width=300, height=300)
        p.patches(xs=[[1,2,3],[4,5,6,5]], ys=[[1,2,1],[4,5,5,4]],
                  color=["#43a2ca", "#a8ddb5"])

        show(p)

Nr%   r.   s      r   patcheszGlyphAPI.patchesB  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.plus(x=[1, 2, 3], y=[1, 2, 3], size=20, color="#DE2D26")

        show(plot)

Nr%   r.   s      r   pluszGlyphAPI.plusW  r+   r   c                    dS )a%  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.quad(top=[2, 3, 4], bottom=[1, 2, 3], left=[1, 2, 3],
                  right=[1.2, 2.5, 3.7], color="#B3DE69")

        show(plot)

Nr%   r.   s      r   quadzGlyphAPI.quadg  r+   r   c                    d S r   r%   r.   s      r   	quadraticzGlyphAPI.quadraticx  r(   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.ray(x=[1, 2, 3], y=[1, 2, 3], length=45, angle=-0.7, color="#FB8072",
                line_width=2)

        show(plot)

Nr%   r.   s      r   rayzGlyphAPI.ray|  r+   r   c                    dS )a  
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)

    .. warning::
        ``Rect`` glyphs are not well defined on logarithmic scales. Use
        :class:`~bokeh.models.Block` or :class:`~bokeh.models.Quad` glyphs
        instead.

Nr%   r.   s      r   rectzGlyphAPI.rect  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.step(x=[1, 2, 3, 4, 5], y=[1, 2, 3, 2, 5], color="#FB8072")

        show(plot)

Nr%   r.   s      r   stepzGlyphAPI.step  r+   r   c                    dS )aD  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.segment(x0=[1, 2, 3], y0=[1, 2, 3],
                     x1=[1, 2, 3], y1=[1.2, 2.5, 3.7],
                     color="#F4A582", line_width=3)

        show(plot)

Nr%   r.   s      r   segmentzGlyphAPI.segment  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.square(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,30], color="#74ADD1")

        show(plot)

Nr%   r.   s      r   squarezGlyphAPI.square  r+   r   c                    dS )a6  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.square_cross(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,25],
                          color="#7FC97F",fill_color=None, line_width=2)

        show(plot)

Nr%   r.   s      r   square_crosszGlyphAPI.square_cross  r+   r   c                    dS )a%  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.square_dot(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,25],
                        color="#7FC97F", fill_color=None)

        show(plot)

Nr%   r.   s      r   
square_dotzGlyphAPI.square_dot  r+   r   c                    dS )a2  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.square_pin(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,25],
                        color="#7FC97F",fill_color=None, line_width=2)

        show(plot)

Nr%   r.   s      r   
square_pinzGlyphAPI.square_pin  r+   r   c                    dS )a.  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.square_x(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,25],
                      color="#FDAE6B",fill_color=None, line_width=2)

        show(plot)

Nr%   r.   s      r   square_xzGlyphAPI.square_x  r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.star(x=[1, 2, 3], y=[1, 2, 3], size=20,
                  color="#1C9099", line_width=2)

        show(plot)

Nr%   r.   s      r   starzGlyphAPI.star  r+   r   c                    dS )a'  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.star_dot(x=[1, 2, 3], y=[1, 2, 3], size=20,
                      color="#386CB0", fill_color=None, line_width=2)

        show(plot)

Nr%   r.   s      r   star_dotzGlyphAPI.star_dot*  r+   r   c                    dS )z
.. note::
    The location and angle of the text relative to the ``x``, ``y`` coordinates
    is indicated by the alignment and baseline text properties.

Nr%   r.   s      r   textzGlyphAPI.text;  r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.triangle(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,25],
                      color="#99D594", line_width=2)

        show(plot)

Nr%   r.   s      r   trianglezGlyphAPI.triangleD  r+   r   c                    dS )a)  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.triangle_dot(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,25],
                          color="#99D594", fill_color=None)

        show(plot)

Nr%   r.   s      r   triangle_dotzGlyphAPI.triangle_dotU  r+   r   c                    dS )a"  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.triangle_pin(x=[1, 2, 3], y=[1, 2, 3], size=[10,20,25],
                      color="#99D594", line_width=2)

        show(plot)

Nr%   r.   s      r   triangle_pinzGlyphAPI.triangle_pinf  r+   r   c                    dS )a  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.varea(x=[1, 2, 3], y1=[0, 0, 0], y2=[1, 4, 2],
                   fill_color="#99D594")

        show(plot)

Nr%   r.   s      r   vareazGlyphAPI.vareaw  r+   r   c                    dS )a*  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.varea_step(x=[1, 2, 3], y1=[0, 0, 0], y2=[1, 4, 2],
                        step_mode="after", fill_color="#99D594")

        show(plot)

Nr%   r.   s      r   
varea_stepzGlyphAPI.varea_step  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.vbar(x=[1, 2, 3], width=0.5, bottom=0, top=[1,2,3], color="#CAB2D6")

        show(plot)

Nr%   r.   s      r   vbarzGlyphAPI.vbar  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300, y_range=(0, 1))
        plot.vspan(x=[1, 2, 3], color="#CAB2D6")

        show(plot)

Nr%   r.   s      r   vspanzGlyphAPI.vspan  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300, y_range=(0, 1))
        plot.vstrip(x0=[1, 2, 5], x1=[3, 4, 8], color="#CAB2D6")

        show(plot)

Nr%   r.   s      r   vstripzGlyphAPI.vstrip  r+   r   c                    dS )a;  
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.wedge(x=[1, 2, 3], y=[1, 2, 3], radius=15, start_angle=0.6,
                   end_angle=4.1, radius_units="screen", color="#2b8cbe")

        show(plot)

Nr%   r.   s      r   wedgezGlyphAPI.wedge  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.x(x=[1, 2, 3], y=[1, 2, 3], size=[10, 20, 25], color="#fa9fb5")

        show(plot)

Nr%   r.   s      r   xz
GlyphAPI.x  r+   r   c                    dS )z
Examples:

    .. code-block:: python

        from bokeh.plotting import figure, output_file, show

        plot = figure(width=300, height=300)
        plot.y(x=[1, 2, 3], y=[1, 2, 3], size=20, color="#DE2D26")

        show(plot)

Nr%   r.   s      r   yz
GlyphAPI.y  r+   r   c                    d S r   r%   r.   s      r   _scatterzGlyphAPI._scatter  r(   r   c                    |                     dd          }t          |t                    r|t          v rt          |         }|dk    rd|v r | j        |i |S  | j        |d|i|S )a>   Creates a scatter plot of the given x and y items.

        Args:
            x (str or seq[float]) : values or field names of center x coordinates

            y (str or seq[float]) : values or field names of center y coordinates

            size (str or list[float]) : values or field names of sizes in |screen units|

            marker (str, or list[str]): values or field names of marker types

            color (color value, optional): shorthand to set both fill and line color

            source (:class:`~bokeh.models.sources.ColumnDataSource`) : a user-supplied data source.
                An attempt will be made to convert the object to :class:`~bokeh.models.sources.ColumnDataSource`
                if needed. If none is supplied, one is created for the user automatically.

            **kwargs: |line properties| and |fill properties|

        Examples:

            >>> p.scatter([1,2,3],[4,5,6], marker="square", fill_color="red")
            >>> p.scatter("data1", "data2", marker="mtype", source=data_source, ...)

        .. note::
            When passing ``marker="circle"`` it is also possible to supply a
            ``radius`` value in |data units|. When configuring marker type
            from a data source column, *all* markers including circles may only
            be configured with ``size`` in |screen units|.

        .. note::
            ``Scatter`` markers with multiple marker types may be drawn in a
            different order when using the WebGL output backend. This is an explicit
            trade-off made in the interests of performance.

        markerr5   radius)pop
isinstancestr_MARKER_SHORTCUTSr5   r   )r   r,   r#   marker_types       r   scatterzGlyphAPI.scatter   s    J jj844k3'' 	9K;L,L,L+K8K (""x6'9'94;//// 4=$E{EfEEEr   )r   r   )r   r   )NN)r   r   r   r   r   r    )r#   r   r   r   )r,   r   r#   r   r   r   )o__name__
__module____qualname____doc__propertyr   r   r"   r	   r   AnnularWedger'   Annulusr*   Arcr/   r
   r1   Bezierr3   Circler5   Blockr7   r9   r;   r=   r?   rA   rC   rE   rG   rI   rK   HArearM   	HAreaSteprO   HBarrQ   HSpanrS   HStriprU   EllipserW   rY   r[   HexTiler]   Imager_   	ImageRGBAra   
ImageStackrc   ImageURLre   rg   Lineri   	MultiLinerk   MultiPolygonsrm   Patchro   Patchesrq   rs   Quadru   	Quadraticrw   Rayry   Rectr{   Stepr}   Segmentr   r   r   r   r   r   r   r   Textr   r   r   r   VArear   	VAreaStepr   VBarr   VSpanr   VStripr   Wedger   r   r   Scatterr   r   r%   r   r   r   r   0   s
       G   X ! ! ! X!( ( ( ( ( \&%&&   '& \&.!!   "!  \&*    ]__   _ \&-     !  \&-     ! & \&,     ]__   _  ]__   _  ]__   _  ]__   _  ]__   _  ]__   _  ]__   _  ]__   _  ]__   _  ]__   _ \&,      \&"##   $#  \&+    \&,     \&-     !  \&.!!   "!  ]__   _ ]__   _  \&.!!   "! \&,     \&"##   $# \&#$$   %$ \&/""   #" ]__   _ \&+    \&"##   $#( \&&''   ('( \&,     \&.!!   "!( ]__   _ \&+     \&"##   $# \&*     \&+   * \&+    \&.!!   "!" ]__   _ ]__   _  ]__   _  ]__   _  ]__   _  ]__   _  ]__   _  \&+    ]__   _  ]__   _  ]__   _  \&,      \&"##   $#  \&+    \&,     \&-     !  \&,      ]__   _ ]__   _" \&.!!   "!1F 1F 1F 1F 1F 1Fr   r   r1   rA   r5   r9   r;   r=   r?   rC   rK   rg   r   r   )*+ozo+zo.oxoy-.v^z^.)
__future__r   logging	getLoggerr   logtypingr   r   modelsr   _decoratorsr	   r
   models.coordinatesr   models.plotsr   models.renderersr   __all__r   r   r%   r   r   <module>r      s1   # " " " " " g!! & % % % % % % %       4 4 4 4 4 4 4 4 1666666######000000AF AF AF AF AF AF AF AFH      r   