
    ~i-                     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ddh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 )Axiszsplom.dimensionzsplom.dimension.axismatchestypec                     | d         S )ah  
        Determines whether or not the x & y axes generated by this
        dimension match. Equivalent to setting the `matches` axis
        attribute in the layout with the correct axis id.

        The 'matches' property is a boolean and must be specified as:
          - A boolean value: True or False

        Returns
        -------
        bool
        r    selfs    [/home/jrussi/.local/lib/python3.11/site-packages/plotly/graph_objs/splom/dimension/_axis.pyr   zAxis.matches   s     I    c                     || d<   d S )Nr   r	   r   vals     r   r   zAxis.matches   s    Yr   c                     | d         S )a  
        Sets the axis type for this dimension's generated x and y axes.
        Note that the axis `type` values set in layout take precedence
        over this attribute.

        The 'type' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['linear', 'log', 'date', 'category']

        Returns
        -------
        Any
        r   r	   r
   s    r   r   z	Axis.type!   s     F|r   c                     || d<   d S )Nr   r	   r   s     r   r   z	Axis.type2   s    Vr   c                     dS )Na          matches
            Determines whether or not the x & y axes generated by
            this dimension match. Equivalent to setting the
            `matches` axis attribute in the layout with the correct
            axis id.
        type
            Sets the axis type for this dimension's generated x and
            y axes. Note that the axis `type` values set in layout
            take precedence over this attribute.
        r	   r
   s    r   _prop_descriptionszAxis._prop_descriptions6   s    
 
r   Nc           	      F   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
||            | j        di t          |fi | d| _        dS )a  
        Construct a new Axis object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.splom.dimension.Axis`
        matches
            Determines whether or not the x & y axes generated by
            this dimension match. Equivalent to setting the
            `matches` axis attribute in the layout with the correct
            axis id.
        type
            Sets the axis type for this dimension's generated x and
            y axes. Note that the axis `type` values set in layout
            take precedence over this attribute.

        Returns
        -------
        Axis
        axis_parentNzThe first argument to the plotly.graph_objs.splom.dimension.Axis
constructor must be a dict or
an instance of :class:`plotly.graph_objs.splom.dimension.Axis`skip_invalidF	_validateTr   r   r	   )super__init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _set_property_process_kwargs)r   argr   r   kwargsr   s        r   r   zAxis.__init__D   s>   0 	   !),DLF;CCT^,, 	C$$&&CCT"" 	C*S//CC B C C C
 $ZZ>>K669c733363---33tC22622333"r   )NNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   __classcell__)r   s   @r   r   r      s        (&Iv&L  X ^  ^   X  
[  [   X/# /# /# /# /# /# /# /# /# /#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper!   r    r   r	   r   r   <module>r4      se    S R R R R R    k# k# k# k# k#" k# k# k# k# k#r   