
    gj                     .    d dl mZ d dlZ G d de      Zy)    )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 )aR  
        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 must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r    selfs    d/var/www/dash_apps/app1/venv/lib/python3.12/site-packages/plotly/graph_objs/splom/dimension/_axis.pyr   zAxis.matches   s     I    c                     || d<   y )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<   y )Nr   r	   r   s     r   r   z	Axis.type6   s    Vr   c                      y)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_descriptions<   s    
r   c           	      "   t         t        |   d       d|v r|d   | _        y|i }nXt	        || j
                        r|j                         }n1t	        |t              rt        j                  |      }nt        d      |j                  dd      | _        |j                  dd      | _        |j                  d	d      }||n|}||| d	<   |j                  d
d      }||n|}||| d
<    | j                  di t        |fi | d| _        y)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	   )superr   __init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   _process_kwargs)r   argr   r   kwargs_vr   s         r   r   zAxis.__init__J   s#   0 	dD"6*!),DL ;CT^^,$$&CT"**S/CB  $ZZ>K6 WWY%+W> DOWWVT"%T2>DL 	3tC262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   ^^ 
    
[[ 
  D# D#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper!   r    r   r	   r   r   <module>r4      s    R I#" I#r   