
    6DhE                     .    S SK Jr  S SKr " S S\5      rg)    )BaseLayoutHierarchyTypeNc                   x  ^  \ rS rSrSrSr1 Skr\S 5       r\R                  S 5       r\S 5       r
\
R                  S 5       r
\S	 5       r\R                  S
 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S 5       r\S 5       r\R                  S  5       r\S! 5       r\R                  S" 5       r\S# 5       r                S&U 4S$ jjrS%rU =r$ )'Newshape   layoutzlayout.newshape>   linenamelabellayerlegendopacityvisiblefillrule	fillcolor
legendrank
showlegendlegendgrouplegendwidthdrawdirectionlegendgrouptitlec                     U S   $ )a  
When `dragmode` is set to "drawrect", "drawline" or
"drawcircle" this limits the drag to be horizontal, vertical or
diagonal. Using "diagonal" there is no limit e.g. in drawing
lines in any direction. "ortho" limits the draw to be either
horizontal or vertical. "horizontal" allows horizontal extend.
"vertical" allows vertical extend.

The 'drawdirection' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['ortho', 'horizontal', 'vertical', 'diagonal']

Returns
-------
Any
r    selfs    T/var/www/html/env/lib/python3.13/site-packages/plotly/graph_objs/layout/_newshape.pyr   Newshape.drawdirection   s    $ O$$    c                     XS'   g )Nr   r   r   vals     r   r   r   2   s
     #_r   c                     U S   $ )a/  
Sets the color filling new shapes' interior. Please note that
if using a fillcolor with alpha greater than half, drag inside
the active shape starts moving the shape underneath, otherwise
a new shape could be started over.

The 'fillcolor' property is a color and may be specified as:
  - A hex string (e.g. '#ff0000')
  - An rgb/rgba string (e.g. 'rgb(255,0,0)')
  - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
  - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
  - A named CSS color: see https://plotly.com/python/css-colors/ for a list

Returns
-------
str
r   r   r   s    r   r   Newshape.fillcolor6   s    & K  r   c                     XS'   g )Nr   r   r   s     r   r   r"   K   s
    [r   c                     U S   $ )a(  
Determines the path's interior. For more info please visit
https://developer.mozilla.org/en-
US/docs/Web/SVG/Attribute/fill-rule

The 'fillrule' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['evenodd', 'nonzero']

Returns
-------
Any
r   r   r   s    r   r   Newshape.fillruleO   s     Jr   c                     XS'   g )Nr   r   r   s     r   r   r%   `   s
    Zr   c                     U S   $ )a  
The 'label' property is an instance of Label
that may be specified as:
  - An instance of :class:`plotly.graph_objs.layout.newshape.Label`
  - A dict of string/value properties that will be passed
    to the Label constructor

Returns
-------
plotly.graph_objs.layout.newshape.Label
r
   r   r   s    r   r
   Newshape.labeld   s     G}r   c                     XS'   g )Nr
   r   r   s     r   r
   r(   s   	    Wr   c                     U S   $ )a1  
Specifies whether new shapes are drawn below gridlines
("below"), between gridlines and traces ("between") or above
traces ("above").

The 'layer' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['below', 'above', 'between']

Returns
-------
Any
r   r   r   s    r   r   Newshape.layerw   s     G}r   c                     XS'   g )Nr   r   r   s     r   r   r,      r*   r   c                     U S   $ )a  
Sets the reference to a legend to show new shape in. References
to these legends are "legend", "legend2", "legend3", etc.
Settings for these legends are set in the layout, under
`layout.legend`, `layout.legend2`, etc.

The 'legend' property is an identifier of a particular
subplot, of type 'legend', that may be specified as the string 'legend'
optionally followed by an integer >= 1
(e.g. 'legend', 'legend1', 'legend2', 'legend3', etc.)

Returns
-------
str
r   r   r   s    r   r   Newshape.legend   s    " H~r   c                     XS'   g )Nr   r   r   s     r   r   r/      s	    Xr   c                     U S   $ )a!  
Sets the legend group for new shape. Traces and shapes part of
the same legend group hide/show at the same time when toggling
legend items.

The 'legendgroup' property is a string and must be specified as:
  - A string
  - A number that will be converted to a string

Returns
-------
str
r   r   r   s    r   r   Newshape.legendgroup   s     M""r   c                     XS'   g )Nr   r   r   s     r   r   r2      
    !]r   c                     U S   $ )aS  
The 'legendgrouptitle' property is an instance of Legendgrouptitle
that may be specified as:
  - An instance of :class:`plotly.graph_objs.layout.newshape.Legendgrouptitle`
  - A dict of string/value properties that will be passed
    to the Legendgrouptitle constructor

Returns
-------
plotly.graph_objs.layout.newshape.Legendgrouptitle
r   r   r   s    r   r   Newshape.legendgrouptitle   s     &''r   c                     XS'   g )Nr   r   r   s     r   r   r6      s    #& r   c                     U S   $ )a  
Sets the legend rank for new shape. Items and groups with
smaller ranks are presented on top/left side while with
"reversed" `legend.traceorder` they are on bottom/right side.
The default legendrank is 1000, so that you can use ranks less
than 1000 to place certain items before all unranked items, and
ranks greater than 1000 to go after all unranked items.

The 'legendrank' property is a number and may be specified as:
  - An int or float

Returns
-------
int|float
r   r   r   s    r   r   Newshape.legendrank   s    " L!!r   c                     XS'   g )Nr   r   r   s     r   r   r9      
     \r   c                     U S   $ )z
Sets the width (in px or fraction) of the legend for new shape.

The 'legendwidth' property is a number and may be specified as:
  - An int or float in the interval [0, inf]

Returns
-------
int|float
r   r   r   s    r   r   Newshape.legendwidth   s     M""r   c                     XS'   g )Nr   r   r   s     r   r   r=      r4   r   c                     U S   $ )a  
The 'line' property is an instance of Line
that may be specified as:
  - An instance of :class:`plotly.graph_objs.layout.newshape.Line`
  - A dict of string/value properties that will be passed
    to the Line constructor

Returns
-------
plotly.graph_objs.layout.newshape.Line
r   r   r   s    r   r   Newshape.line        F|r   c                     XS'   g )Nr   r   r   s     r   r   r@     	    Vr   c                     U S   $ )z
Sets new shape name. The name appears as the legend item.

The 'name' property is a string and must be specified as:
  - A string
  - A number that will be converted to a string

Returns
-------
str
r	   r   r   s    r   r	   Newshape.name  rA   r   c                     XS'   g )Nr	   r   r   s     r   r	   rE     rC   r   c                     U S   $ )z
Sets the opacity of new shapes.

The 'opacity' property is a number and may be specified as:
  - An int or float in the interval [0, 1]

Returns
-------
int|float
r   r   r   s    r   r   Newshape.opacity  s     Ir   c                     XS'   g )Nr   r   r   s     r   r   rH   (  	    Yr   c                     U S   $ )z
Determines whether or not new shape is shown in the legend.

The 'showlegend' property must be specified as a bool
(either True, or False)

Returns
-------
bool
r   r   r   s    r   r   Newshape.showlegend,  s     L!!r   c                     XS'   g )Nr   r   r   s     r   r   rL   :  r;   r   c                     U S   $ )aR  
Determines whether or not new shape is visible. If
"legendonly", the shape is not drawn, but can appear as a
legend item (provided that the legend itself is visible).

The 'visible' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        [True, False, 'legendonly']

Returns
-------
Any
r   r   r   s    r   r   Newshape.visible>  s     Ir   c                     XS'   g )Nr   r   r   s     r   r   rO   O  rJ   r   c                     g)Na          drawdirection
            When `dragmode` is set to "drawrect", "drawline" or
            "drawcircle" this limits the drag to be horizontal,
            vertical or diagonal. Using "diagonal" there is no
            limit e.g. in drawing lines in any direction. "ortho"
            limits the draw to be either horizontal or vertical.
            "horizontal" allows horizontal extend. "vertical"
            allows vertical extend.
        fillcolor
            Sets the color filling new shapes' interior. Please
            note that if using a fillcolor with alpha greater than
            half, drag inside the active shape starts moving the
            shape underneath, otherwise a new shape could be
            started over.
        fillrule
            Determines the path's interior. For more info please
            visit https://developer.mozilla.org/en-
            US/docs/Web/SVG/Attribute/fill-rule
        label
            :class:`plotly.graph_objects.layout.newshape.Label`
            instance or dict with compatible properties
        layer
            Specifies whether new shapes are drawn below gridlines
            ("below"), between gridlines and traces ("between") or
            above traces ("above").
        legend
            Sets the reference to a legend to show new shape in.
            References to these legends are "legend", "legend2",
            "legend3", etc. Settings for these legends are set in
            the layout, under `layout.legend`, `layout.legend2`,
            etc.
        legendgroup
            Sets the legend group for new shape. Traces and shapes
            part of the same legend group hide/show at the same
            time when toggling legend items.
        legendgrouptitle
            :class:`plotly.graph_objects.layout.newshape.Legendgrou
            ptitle` instance or dict with compatible properties
        legendrank
            Sets the legend rank for new shape. Items and groups
            with smaller ranks are presented on top/left side while
            with "reversed" `legend.traceorder` they are on
            bottom/right side. The default legendrank is 1000, so
            that you can use ranks less than 1000 to place certain
            items before all unranked items, and ranks greater than
            1000 to go after all unranked items.
        legendwidth
            Sets the width (in px or fraction) of the legend for
            new shape.
        line
            :class:`plotly.graph_objects.layout.newshape.Line`
            instance or dict with compatible properties
        name
            Sets new shape name. The name appears as the legend
            item.
        opacity
            Sets the opacity of new shapes.
        showlegend
            Determines whether or not new shape is shown in the
            legend.
        visible
            Determines whether or not new shape is visible. If
            "legendonly", the shape is not drawn, but can appear as
            a legend item (provided that the legend itself is
            visible).
        r   r   s    r   _prop_descriptionsNewshape._prop_descriptionsS  s    Br   c           	        > [         TU ]  S5        SU;   a  US   U l        gUc  0 nOb[        XR                  5      (       a  UR                  5       nO7[        U[        5      (       a  [        R                  " U5      nO[        S5      eUR                  SS5      U l        UR                  SS5      U l        U R                  S	X5        U R                  S
X5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SX5        U R                  SUU5        U R                  " S0 [        U40 UD6D6  SU l        g)a
  
Construct a new Newshape object

Parameters
----------
arg
    dict of properties compatible with this constructor or
    an instance of
    :class:`plotly.graph_objs.layout.Newshape`
drawdirection
    When `dragmode` is set to "drawrect", "drawline" or
    "drawcircle" this limits the drag to be horizontal,
    vertical or diagonal. Using "diagonal" there is no
    limit e.g. in drawing lines in any direction. "ortho"
    limits the draw to be either horizontal or vertical.
    "horizontal" allows horizontal extend. "vertical"
    allows vertical extend.
fillcolor
    Sets the color filling new shapes' interior. Please
    note that if using a fillcolor with alpha greater than
    half, drag inside the active shape starts moving the
    shape underneath, otherwise a new shape could be
    started over.
fillrule
    Determines the path's interior. For more info please
    visit https://developer.mozilla.org/en-
    US/docs/Web/SVG/Attribute/fill-rule
label
    :class:`plotly.graph_objects.layout.newshape.Label`
    instance or dict with compatible properties
layer
    Specifies whether new shapes are drawn below gridlines
    ("below"), between gridlines and traces ("between") or
    above traces ("above").
legend
    Sets the reference to a legend to show new shape in.
    References to these legends are "legend", "legend2",
    "legend3", etc. Settings for these legends are set in
    the layout, under `layout.legend`, `layout.legend2`,
    etc.
legendgroup
    Sets the legend group for new shape. Traces and shapes
    part of the same legend group hide/show at the same
    time when toggling legend items.
legendgrouptitle
    :class:`plotly.graph_objects.layout.newshape.Legendgrou
    ptitle` instance or dict with compatible properties
legendrank
    Sets the legend rank for new shape. Items and groups
    with smaller ranks are presented on top/left side while
    with "reversed" `legend.traceorder` they are on
    bottom/right side. The default legendrank is 1000, so
    that you can use ranks less than 1000 to place certain
    items before all unranked items, and ranks greater than
    1000 to go after all unranked items.
legendwidth
    Sets the width (in px or fraction) of the legend for
    new shape.
line
    :class:`plotly.graph_objects.layout.newshape.Line`
    instance or dict with compatible properties
name
    Sets new shape name. The name appears as the legend
    item.
opacity
    Sets the opacity of new shapes.
showlegend
    Determines whether or not new shape is shown in the
    legend.
visible
    Determines whether or not new shape is visible. If
    "legendonly", the shape is not drawn, but can appear as
    a legend item (provided that the legend itself is
    visible).

Returns
-------
Newshape
newshape_parentNzThe first argument to the plotly.graph_objs.layout.Newshape
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.Newshape`skip_invalidF	_validateTr   r   r   r
   r   r   r   r   r   r   r   r	   r   r   r   r   )super__init__rV   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidrX   _set_property_process_kwargs)r   argr   r   r   r
   r   r   r   r   r   r   r   r	   r   r   r   kwargsr\   s                     r   rZ   Newshape.__init__  s   F 	$!),DL;C^^,,$$&CT""**S/C=  $ZZ>K6?C?;7:s57C/7C/8S1=#;-sE<9=#;63-63-9c3<99c733tC2623"r   )rV   rc   rX   )NNNNNNNNNNNNNNNN)__name__
__module____qualname____firstlineno___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r
   r   r   r   r   r   r   r   r	   r   r   r   rR   rZ   __static_attributes____classcell__)r\   s   @r   r   r      s   !IL$ % %& $ $ ! !(          __    \\     \\   $ ]]  # #  " " ( ( ' ' " "$ ! ! # # " "   
[[    
[[    ^^  " " ! !    ^^  C CN #I# I#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper`   r_   r   r   r   r   <module>rv      s    U Z#' Z#r   