
    6Dh~;                     .    S SK Jr  S SKr " S S\5      rg)    )BaseLayoutHierarchyTypeNc                     ^  \ 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         SU 4S jjrSrU =r$ )Label   zlayout.shapezlayout.shape.label>   fonttextpaddingxanchoryanchor	textangletextpositiontexttemplatec                     U S   $ )a>  
Sets the shape label text font.

The 'font' property is an instance of Font
that may be specified as:
  - An instance of :class:`plotly.graph_objs.layout.shape.label.Font`
  - A dict of string/value properties that will be passed
    to the Font constructor

Returns
-------
plotly.graph_objs.layout.shape.label.Font
r    selfs    W/var/www/html/env/lib/python3.13/site-packages/plotly/graph_objs/layout/shape/_label.pyr   
Label.font   s     F|    c                     XS'   g )Nr   r   r   vals     r   r   r   (   	    Vr   c                     U S   $ )z
Sets padding (in px) between edge of label and edge of shape.

The 'padding' 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	   Label.padding,   s     Ir   c                     XS'   g )Nr	   r   r   s     r   r	   r   :   	    Yr   c                     U S   $ )z
Sets the text to display with shape. It is also used for legend
item if `name` is not provided.

The 'text' 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   
Label.text>   s     F|r   c                     XS'   g )Nr   r   r   s     r   r   r   N   r   r   c                     U S   $ )a  
Sets the angle at which the label text is drawn with respect to
the horizontal. For lines, angle "auto" is the same angle as
the line. For all other shapes, angle "auto" is horizontal.

The 'textangle' property is a angle (in degrees) that may be
specified as a number between -180 and 180.
Numeric values outside this range are converted to the equivalent value
(e.g. 270 is converted to -90).

Returns
-------
int|float
r   r   r   s    r   r   Label.textangleR   s      K  r   c                     XS'   g )Nr   r   r   s     r   r   r"   d   s
    [r   c                     U S   $ )a  
Sets the position of the label text relative to the shape.
Supported values for rectangles, circles and paths are *top
left*, *top center*, *top right*, *middle left*, *middle
center*, *middle right*, *bottom left*, *bottom center*, and
*bottom right*. Supported values for lines are "start",
"middle", and "end". Default: *middle center* for rectangles,
circles, and paths; "middle" for lines.

The 'textposition' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['top left', 'top center', 'top right', 'middle left',
        'middle center', 'middle right', 'bottom left', 'bottom
        center', 'bottom right', 'start', 'middle', 'end']

Returns
-------
Any
r   r   r   s    r   r   Label.textpositionh   s    * N##r   c                     XS'   g )Nr   r   r   s     r   r   r%      
    "^r   c                     U S   $ )a  
Template string used for rendering the shape's label. Note that
this will override `text`. Variables are inserted using
%{variable}, for example "x0: %{x0}". Numbers are formatted
using d3-format's syntax %{variable:d3-format}, for example
"Price: %{x0:$.2f}". See
https://github.com/d3/d3-format/tree/v1.4.5#d3-format for
details on the formatting syntax. Dates are formatted using
d3-time-format's syntax %{variable|d3-time-format}, for example
"Day: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-
format/tree/v2.2.3#locale_format for details on the date
formatting syntax. A single multiplication or division
operation may be applied to numeric variables, and combined
with d3 number formatting, for example "Length in cm:
%{x0*2.54}", "%{slope*60:.1f} meters per second." For log axes,
variable values are given in log units. For date axes, x/y
coordinate variables and center variables use datetimes, while
all other variable values use values in ms. Finally, the
template string has access to variables `x0`, `x1`, `y0`, `y1`,
`slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and
`ycenter`.

The 'texttemplate' 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   Label.texttemplate   s    @ N##r   c                     XS'   g )Nr   r   r   s     r   r   r)      r'   r   c                     U S   $ )a  
Sets the label's horizontal position anchor This anchor binds
the specified `textposition` to the "left", "center" or "right"
of the label text. For example, if `textposition` is set to
*top right* and `xanchor` to "right" then the right-most
portion of the label text lines up with the right-most edge of
the shape.

The 'xanchor' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['auto', 'left', 'center', 'right']

Returns
-------
Any
r
   r   r   s    r   r
   Label.xanchor   s    $ Ir   c                     XS'   g )Nr
   r   r   s     r   r
   r,      r   r   c                     U S   $ )a  
Sets the label's vertical position anchor This anchor binds the
specified `textposition` to the "top", "middle" or "bottom" of
the label text. For example, if `textposition` is set to *top
right* and `yanchor` to "top" then the top-most portion of the
label text lines up with the top-most edge of the shape.

The 'yanchor' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['top', 'middle', 'bottom']

Returns
-------
Any
r   r   r   s    r   r   Label.yanchor   s    " Ir   c                     XS'   g )Nr   r   r   s     r   r   r/      r   r   c                     g)Na          font
            Sets the shape label text font.
        padding
            Sets padding (in px) between edge of label and edge of
            shape.
        text
            Sets the text to display with shape. It is also used
            for legend item if `name` is not provided.
        textangle
            Sets the angle at which the label text is drawn with
            respect to the horizontal. For lines, angle "auto" is
            the same angle as the line. For all other shapes, angle
            "auto" is horizontal.
        textposition
            Sets the position of the label text relative to the
            shape. Supported values for rectangles, circles and
            paths are *top left*, *top center*, *top right*,
            *middle left*, *middle center*, *middle right*, *bottom
            left*, *bottom center*, and *bottom right*. Supported
            values for lines are "start", "middle", and "end".
            Default: *middle center* for rectangles, circles, and
            paths; "middle" for lines.
        texttemplate
            Template string used for rendering the shape's label.
            Note that this will override `text`. Variables are
            inserted using %{variable}, for example "x0: %{x0}".
            Numbers are formatted using d3-format's syntax
            %{variable:d3-format}, for example "Price: %{x0:$.2f}".
            See
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format
            for details on the formatting syntax. Dates are
            formatted using d3-time-format's syntax
            %{variable|d3-time-format}, for example "Day: %{x0|%m
            %b %Y}". See https://github.com/d3/d3-time-
            format/tree/v2.2.3#locale_format for details on the
            date formatting syntax. A single multiplication or
            division operation may be applied to numeric variables,
            and combined with d3 number formatting, for example
            "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per
            second." For log axes, variable values are given in log
            units. For date axes, x/y coordinate variables and
            center variables use datetimes, while all other
            variable values use values in ms. Finally, the template
            string has access to variables `x0`, `x1`, `y0`, `y1`,
            `slope`, `dx`, `dy`, `width`, `height`, `length`,
            `xcenter` and `ycenter`.
        xanchor
            Sets the label's horizontal position anchor This anchor
            binds the specified `textposition` to the "left",
            "center" or "right" of the label text. For example, if
            `textposition` is set to *top right* and `xanchor` to
            "right" then the right-most portion of the label text
            lines up with the right-most edge of the shape.
        yanchor
            Sets the label's vertical position anchor This anchor
            binds the specified `textposition` to the "top",
            "middle" or "bottom" of the label text. For example, if
            `textposition` is set to *top right* and `yanchor` to
            "top" then the top-most portion of the label text lines
            up with the top-most edge of the shape.
        r   r   s    r   _prop_descriptionsLabel._prop_descriptions   s    =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0 [        U40 U
D6D6  SU l        g)a  
Construct a new Label object

Parameters
----------
arg
    dict of properties compatible with this constructor or
    an instance of
    :class:`plotly.graph_objs.layout.shape.Label`
font
    Sets the shape label text font.
padding
    Sets padding (in px) between edge of label and edge of
    shape.
text
    Sets the text to display with shape. It is also used
    for legend item if `name` is not provided.
textangle
    Sets the angle at which the label text is drawn with
    respect to the horizontal. For lines, angle "auto" is
    the same angle as the line. For all other shapes, angle
    "auto" is horizontal.
textposition
    Sets the position of the label text relative to the
    shape. Supported values for rectangles, circles and
    paths are *top left*, *top center*, *top right*,
    *middle left*, *middle center*, *middle right*, *bottom
    left*, *bottom center*, and *bottom right*. Supported
    values for lines are "start", "middle", and "end".
    Default: *middle center* for rectangles, circles, and
    paths; "middle" for lines.
texttemplate
    Template string used for rendering the shape's label.
    Note that this will override `text`. Variables are
    inserted using %{variable}, for example "x0: %{x0}".
    Numbers are formatted using d3-format's syntax
    %{variable:d3-format}, for example "Price: %{x0:$.2f}".
    See
    https://github.com/d3/d3-format/tree/v1.4.5#d3-format
    for details on the formatting syntax. Dates are
    formatted using d3-time-format's syntax
    %{variable|d3-time-format}, for example "Day: %{x0|%m
    %b %Y}". See https://github.com/d3/d3-time-
    format/tree/v2.2.3#locale_format for details on the
    date formatting syntax. A single multiplication or
    division operation may be applied to numeric variables,
    and combined with d3 number formatting, for example
    "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per
    second." For log axes, variable values are given in log
    units. For date axes, x/y coordinate variables and
    center variables use datetimes, while all other
    variable values use values in ms. Finally, the template
    string has access to variables `x0`, `x1`, `y0`, `y1`,
    `slope`, `dx`, `dy`, `width`, `height`, `length`,
    `xcenter` and `ycenter`.
xanchor
    Sets the label's horizontal position anchor This anchor
    binds the specified `textposition` to the "left",
    "center" or "right" of the label text. For example, if
    `textposition` is set to *top right* and `xanchor` to
    "right" then the right-most portion of the label text
    lines up with the right-most edge of the shape.
yanchor
    Sets the label's vertical position anchor This anchor
    binds the specified `textposition` to the "top",
    "middle" or "bottom" of the label text. For example, if
    `textposition` is set to *top right* and `yanchor` to
    "top" then the top-most portion of the label text lines
    up with the top-most edge of the shape.

Returns
-------
Label
label_parentNzThe first argument to the plotly.graph_objs.layout.shape.Label
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.shape.Label`skip_invalidF	_validateTr   r	   r   r   r   r   r
   r   r   )super__init__r6   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr8   _set_property_process_kwargs)r   argr   r	   r   r   r   r   r
   r   kwargsr<   s              r   r:   Label.__init__  sH   n 	!!),DL;C^^,,$$&CT""**S/C@  $ZZ>K663-9c363-;7>3=>3=9c39c33tC2623"r   )r6   rC   r8   )	NNNNNNNNN)__name__
__module____qualname____firstlineno___parent_path_str	_path_str_valid_propspropertyr   setterr	   r   r   r   r   r
   r   r2   r:   __static_attributes____classcell__)r<   s   @r   r   r      s   %$I	L    
[[    ^^    
[[  ! !"     $ $, # # $ $B # #  & ^^   $ ^^  > >D v# v#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper@   r?   r   r   r   r   <module>rV      s    U G#$ G#r   