
    6Dh1                     .    S SK Jr  S SKr " S S\5      rg)    )BaseTraceHierarchyTypeNc                   j  ^  \ 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           SU 4S jjrSrU =r$ )	Dimension   parcatszparcats.dimension>
   labelvaluesvisibleticktext	valuessrcticktextsrcdisplayindexcategoryarraycategoryordercategoryarraysrcc                     U S   $ )a!  
Sets the order in which categories in this dimension appear.
Only has an effect if `categoryorder` is set to "array". Used
with `categoryorder`.

The 'categoryarray' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series

Returns
-------
numpy.ndarray
r    selfs    V/var/www/html/env/lib/python3.13/site-packages/plotly/graph_objs/parcats/_dimension.pyr   Dimension.categoryarray   s     O$$    c                     XS'   g )Nr   r   r   vals     r   r   r   )   
     #_r   c                     U S   $ )z
Sets the source reference on Chart Studio Cloud for
`categoryarray`.

The 'categoryarraysrc' property must be specified as a string or
as a plotly.grid_objs.Column object

Returns
-------
str
r   r   r   s    r   r   Dimension.categoryarraysrc-   s     &''r   c                     XS'   g )Nr   r   r   s     r   r   r   <   s    #& r   c                     U S   $ )aB  
Specifies the ordering logic for the categories in the
dimension. By default, plotly uses "trace", which specifies the
order that is present in the data supplied. Set `categoryorder`
to *category ascending* or *category descending* if order
should be determined by the alphanumerical order of the
category names. Set `categoryorder` to "array" to derive the
ordering from the attribute `categoryarray`. If a category is
not found in the `categoryarray` array, the sorting behavior
for that attribute will be identical to the "trace" mode. The
unspecified categories will follow the categories in
`categoryarray`.

The 'categoryorder' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['trace', 'category ascending', 'category descending',
        'array']

Returns
-------
Any
r   r   r   s    r   r   Dimension.categoryorder@   s    0 O$$r   c                     XS'   g )Nr   r   r   s     r   r   r!   Z   r   r   c                     U S   $ )z
The display index of dimension, from left to right, zero
indexed, defaults to dimension index.

The 'displayindex' property is a integer and may be specified as:
  - An int (or float that will be cast to an int)

Returns
-------
int
r   r   r   s    r   r   Dimension.displayindex^   s     N##r   c                     XS'   g )Nr   r   r   s     r   r   r$   m   s
    "^r   c                     U S   $ )z
The shown name of the dimension.

The 'label' 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   Dimension.labelq   s     G}r   c                     XS'   g )Nr   r   r   s     r   r   r'      s	    Wr   c                     U S   $ )aX  
Sets alternative tick labels for the categories in this
dimension. Only has an effect if `categoryorder` is set to
"array". Should be an array the same length as `categoryarray`
Used with `categoryorder`.

The 'ticktext' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series

Returns
-------
numpy.ndarray
r   r   r   s    r   r   Dimension.ticktext   s     Jr   c                     XS'   g )Nr   r   r   s     r   r   r*      s
    Zr   c                     U S   $ )z
Sets the source reference on Chart Studio Cloud for `ticktext`.

The 'ticktextsrc' property must be specified as a string or
as a plotly.grid_objs.Column object

Returns
-------
str
r   r   r   s    r   r   Dimension.ticktextsrc   s     M""r   c                     XS'   g )Nr   r   r   s     r   r   r-      s
    !]r   c                     U S   $ )aN  
Dimension values. `values[n]` represents the category value of
the `n`th point in the dataset, therefore the `values` vector
for all dimensions must be the same (longer vectors will be
truncated).

The 'values' property is an array that may be specified as a tuple,
list, numpy array, or pandas Series

Returns
-------
numpy.ndarray
r	   r   r   s    r   r	   Dimension.values   s     H~r   c                     XS'   g )Nr	   r   r   s     r   r	   r0      s	    Xr   c                     U S   $ )z
Sets the source reference on Chart Studio Cloud for `values`.

The 'valuessrc' property must be specified as a string or
as a plotly.grid_objs.Column object

Returns
-------
str
r   r   r   s    r   r   Dimension.valuessrc   s     K  r   c                     XS'   g )Nr   r   r   s     r   r   r3      s
    [r   c                     U S   $ )z
Shows the dimension when set to `true` (the default). Hides the
dimension for `false`.

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

Returns
-------
bool
r
   r   r   s    r   r
   Dimension.visible   s     Ir   c                     XS'   g )Nr
   r   r   s     r   r
   r6      s	    Yr   c                     g)Na          categoryarray
            Sets the order in which categories in this dimension
            appear. Only has an effect if `categoryorder` is set to
            "array". Used with `categoryorder`.
        categoryarraysrc
            Sets the source reference on Chart Studio Cloud for
            `categoryarray`.
        categoryorder
            Specifies the ordering logic for the categories in the
            dimension. By default, plotly uses "trace", which
            specifies the order that is present in the data
            supplied. Set `categoryorder` to *category ascending*
            or *category descending* if order should be determined
            by the alphanumerical order of the category names. Set
            `categoryorder` to "array" to derive the ordering from
            the attribute `categoryarray`. If a category is not
            found in the `categoryarray` array, the sorting
            behavior for that attribute will be identical to the
            "trace" mode. The unspecified categories will follow
            the categories in `categoryarray`.
        displayindex
            The display index of dimension, from left to right,
            zero indexed, defaults to dimension index.
        label
            The shown name of the dimension.
        ticktext
            Sets alternative tick labels for the categories in this
            dimension. Only has an effect if `categoryorder` is set
            to "array". Should be an array the same length as
            `categoryarray` Used with `categoryorder`.
        ticktextsrc
            Sets the source reference on Chart Studio Cloud for
            `ticktext`.
        values
            Dimension values. `values[n]` represents the category
            value of the `n`th point in the dataset, therefore the
            `values` vector for all dimensions must be the same
            (longer vectors will be truncated).
        valuessrc
            Sets the source reference on Chart Studio Cloud for
            `values`.
        visible
            Shows the dimension when set to `true` (the default).
            Hides the dimension for `false`.
        r   r   s    r   _prop_descriptionsDimension._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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 Dimension object

The dimensions (variables) of the parallel categories diagram.

Parameters
----------
arg
    dict of properties compatible with this constructor or
    an instance of
    :class:`plotly.graph_objs.parcats.Dimension`
categoryarray
    Sets the order in which categories in this dimension
    appear. Only has an effect if `categoryorder` is set to
    "array". Used with `categoryorder`.
categoryarraysrc
    Sets the source reference on Chart Studio Cloud for
    `categoryarray`.
categoryorder
    Specifies the ordering logic for the categories in the
    dimension. By default, plotly uses "trace", which
    specifies the order that is present in the data
    supplied. Set `categoryorder` to *category ascending*
    or *category descending* if order should be determined
    by the alphanumerical order of the category names. Set
    `categoryorder` to "array" to derive the ordering from
    the attribute `categoryarray`. If a category is not
    found in the `categoryarray` array, the sorting
    behavior for that attribute will be identical to the
    "trace" mode. The unspecified categories will follow
    the categories in `categoryarray`.
displayindex
    The display index of dimension, from left to right,
    zero indexed, defaults to dimension index.
label
    The shown name of the dimension.
ticktext
    Sets alternative tick labels for the categories in this
    dimension. Only has an effect if `categoryorder` is set
    to "array". Should be an array the same length as
    `categoryarray` Used with `categoryorder`.
ticktextsrc
    Sets the source reference on Chart Studio Cloud for
    `ticktext`.
values
    Dimension values. `values[n]` represents the category
    value of the `n`th point in the dataset, therefore the
    `values` vector for all dimensions must be the same
    (longer vectors will be truncated).
valuessrc
    Sets the source reference on Chart Studio Cloud for
    `values`.
visible
    Shows the dimension when set to `true` (the default).
    Hides the dimension for `false`.

Returns
-------
Dimension

dimensions_parentNzThe first argument to the plotly.graph_objs.parcats.Dimension
constructor must be a dict or
an instance of :class:`plotly.graph_objs.parcats.Dimension`skip_invalidF	_validateTr   r   r   r   r   r   r   r	   r   r
   r   )super__init__r=   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr?   _set_property_process_kwargs)r   argr   r   r   r   r   r   r   r	   r   r
   kwargsrC   s                r   rA   Dimension.__init__  sh   V 	&!),DL;C^^,,$$&CT""**S/C?  $ZZ>K6?C?-sE?C?>3=7C/:s5=#;8S1;79c33tC2623"r   )r=   rJ   r?   )NNNNNNNNNNN)__name__
__module____qualname____firstlineno___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   r   r   r   r	   r   r
   r9   rA   __static_attributes____classcell__)rC   s   @r   r   r      s    #IL % % $ $ ( ( ' ' % %2 $ $ $ $ # #   \\       __  # # " "    ]]  ! !       ^^  . .d l# l#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyperG   rF   r   r   r   r   <module>r]      s    S z#' z#r   