
    -Phd%                     6    d dl mZ d dlZ G d de          ZdS )    )BaseTraceHierarchyTypeNc                       e Zd ZdZdZh dZed             Zej        d             Zed             Z	e	j        d             Z	ed             Z
e
j        d	             Z
ed
             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Z	 	 	 	 	 	 	 	 d fd	Z xZS )	Dimensionsplomzsplom.dimension>   axisnamelabelvaluesvisible	valuessrctemplateitemnamec                     | d         S )a_  
        The 'axis' property is an instance of Axis
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.splom.dimension.Axis`
          - A dict of string/value properties that will be passed
            to the Axis constructor

        Returns
        -------
        plotly.graph_objs.splom.dimension.Axis
        r    selfs    b/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/splom/_dimension.pyr   zDimension.axis   s     F|    c                     || d<   d S )Nr   r   r   vals     r   r   zDimension.axis%       Vr   c                     | d         S )a  
        Sets the label corresponding to this splom 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	   zDimension.label)   s     G}r   c                     || d<   d S )Nr	   r   r   s     r   r	   zDimension.label8   s    Wr   c                     | d         S )aw  
        When used in a template, named items are created in the output
        figure in addition to any items the figure already has in this
        array. You can modify these items in the output figure by
        making your own item with `templateitemname` matching this
        `name` alongside your modifications (including `visible: false`
        or `enabled: false` to hide it). Has no effect outside of a
        template.

        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   zDimension.name<   s    & F|r   c                     || d<   d S )Nr   r   r   s     r   r   zDimension.nameQ   r   r   c                     | d         S )a  
        Used to refer to a named item in this array in the template.
        Named items from the template will be created even without a
        matching item in the input figure, but you can modify one by
        making an item with `templateitemname` matching its `name`,
        alongside your modifications (including `visible: false` or
        `enabled: false` to hide it). If there is no template or no
        matching item, this item will be hidden unless you explicitly
        show it with `visible: true`.

        The 'templateitemname' 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   zDimension.templateitemnameU   s    ( &''r   c                     || d<   d S )Nr   r   r   s     r   r   zDimension.templateitemnamek   s    #&   r   c                     | d         S )z
        Sets the dimension values to be plotted.

        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
   zDimension.valueso   s     H~r   c                     || d<   d S )Nr
   r   r   s     r   r
   zDimension.values}   s    Xr   c                     | d         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   zDimension.valuessrc   s     K  r   c                     || d<   d S )Nr   r   r   s     r   r   zDimension.valuessrc   s    [r   c                     | d         S )aO  
        Determines whether or not this dimension is shown on the graph.
        Note that even visible false dimension contribute to the
        default grid generate by this splom trace.

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

        Returns
        -------
        bool
        r   r   r   s    r   r   zDimension.visible   s     Ir   c                     || d<   d S )Nr   r   r   s     r   r   zDimension.visible   s    Yr   c                     dS )Na          axis
            :class:`plotly.graph_objects.splom.dimension.Axis`
            instance or dict with compatible properties
        label
            Sets the label corresponding to this splom dimension.
        name
            When used in a template, named items are created in the
            output figure in addition to any items the figure
            already has in this array. You can modify these items
            in the output figure by making your own item with
            `templateitemname` matching this `name` alongside your
            modifications (including `visible: false` or `enabled:
            false` to hide it). Has no effect outside of a
            template.
        templateitemname
            Used to refer to a named item in this array in the
            template. Named items from the template will be created
            even without a matching item in the input figure, but
            you can modify one by making an item with
            `templateitemname` matching its `name`, alongside your
            modifications (including `visible: false` or `enabled:
            false` to hide it). If there is no template or no
            matching item, this item will be hidden unless you
            explicitly show it with `visible: true`.
        values
            Sets the dimension values to be plotted.
        valuessrc
            Sets the source reference on Chart Studio Cloud for
            `values`.
        visible
            Determines whether or not this dimension is shown on
            the graph. Note that even visible false dimension
            contribute to the default grid generate by this splom
            trace.
        r   r   s    r   _prop_descriptionszDimension._prop_descriptions   s    # #r   Nc	           	      ,   t                                          d           d|	v r|	d         | _        dS |i }nct          || j                  r|                                }n9t          |t                    rt          j        |          }nt          d          |	
                    dd          | _        |	
                    dd          | _        |                     d	||           |                     d
||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||            | j        di t          |fi |	 d| _        dS )a  
        Construct a new Dimension object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.splom.Dimension`
        axis
            :class:`plotly.graph_objects.splom.dimension.Axis`
            instance or dict with compatible properties
        label
            Sets the label corresponding to this splom dimension.
        name
            When used in a template, named items are created in the
            output figure in addition to any items the figure
            already has in this array. You can modify these items
            in the output figure by making your own item with
            `templateitemname` matching this `name` alongside your
            modifications (including `visible: false` or `enabled:
            false` to hide it). Has no effect outside of a
            template.
        templateitemname
            Used to refer to a named item in this array in the
            template. Named items from the template will be created
            even without a matching item in the input figure, but
            you can modify one by making an item with
            `templateitemname` matching its `name`, alongside your
            modifications (including `visible: false` or `enabled:
            false` to hide it). If there is no template or no
            matching item, this item will be hidden unless you
            explicitly show it with `visible: true`.
        values
            Sets the dimension values to be plotted.
        valuessrc
            Sets the source reference on Chart Studio Cloud for
            `values`.
        visible
            Determines whether or not this dimension is shown on
            the graph. Note that even visible false dimension
            contribute to the default grid generate by this splom
            trace.

        Returns
        -------
        Dimension
        
dimensions_parentNzThe first argument to the plotly.graph_objs.splom.Dimension
constructor must be a dict or
an instance of :class:`plotly.graph_objs.splom.Dimension`skip_invalidF	_validateTr   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   kwargsr.   s             r   r,   zDimension.__init__   s   x 	&&&!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CC=   $ZZ>>K6663---7C///63----s4DEEE8S&111;Y7779c733333tC22622333"r   )NNNNNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr	   r   r   r
   r   r   r%   r,   __classcell__)r.   s   @r   r   r      s%       !I  L   X 
[  [   X \  \   X( 
[  [ ( ( X(* ' ' '   X ]  ] ! ! X!         X ^  ^ $ $ X$P Z# Z# Z# Z# Z# Z# Z# Z# Z# Z#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper2   r1   r   r   r   r   <module>rE      se    S R R R R R    `# `# `# `# `#' `# `# `# `# `#r   