
    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SS1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$ )Newselection   layoutzlayout.newselectionlinemodec                     U S   $ )a  
The 'line' property is an instance of Line
that may be specified as:
  - An instance of :class:`plotly.graph_objs.layout.newselection.Line`
  - A dict of string/value properties that will be passed
    to the Line constructor

Returns
-------
plotly.graph_objs.layout.newselection.Line
r    selfs    X/var/www/html/env/lib/python3.13/site-packages/plotly/graph_objs/layout/_newselection.pyr   Newselection.line   s     F|    c                     XS'   g )Nr   r   r   vals     r   r   r      	    Vr   c                     U S   $ )a  
Describes how a new selection is created. If `immediate`, a new
selection is created after first mouse up. If `gradual`, a new
selection is not created after first mouse. By adding to and
subtracting from the initial selection, this option allows
declaring extra outlines of the selection.

The 'mode' property is an enumeration that may be specified as:
  - One of the following enumeration values:
        ['immediate', 'gradual']

Returns
-------
Any
r	   r   r   s    r   r	   Newselection.mode!   s    " F|r   c                     XS'   g )Nr	   r   r   s     r   r	   r   4   r   r   c                     g)Na          line
            :class:`plotly.graph_objects.layout.newselection.Line`
            instance or dict with compatible properties
        mode
            Describes how a new selection is created. If
            `immediate`, a new selection is created after first
            mouse up. If `gradual`, a new selection is not created
            after first mouse. By adding to and subtracting from
            the initial selection, this option allows declaring
            extra outlines of the selection.
        r   r   s    r   _prop_descriptionsNewselection._prop_descriptions8   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0 [        U40 UD6D6  SU l        g)a  
Construct a new Newselection object

Parameters
----------
arg
    dict of properties compatible with this constructor or
    an instance of
    :class:`plotly.graph_objs.layout.Newselection`
line
    :class:`plotly.graph_objects.layout.newselection.Line`
    instance or dict with compatible properties
mode
    Describes how a new selection is created. If
    `immediate`, a new selection is created after first
    mouse up. If `gradual`, a new selection is not created
    after first mouse. By adding to and subtracting from
    the initial selection, this option allows declaring
    extra outlines of the selection.

Returns
-------
Newselection
newselection_parentNzThe first argument to the plotly.graph_objs.layout.Newselection
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.Newselection`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!   Newselection.__init__G   s    2 	(!),DL;C^^,,$$&CT""**S/CA  $ZZ>K663-63-3tC2623"r   )r   r*   r   )NNN)__name__
__module____qualname____firstlineno___parent_path_str	_path_str_valid_propspropertyr   setterr	   r   r!   __static_attributes____classcell__)r#   s   @r   r   r      s    %IF#L  
[[   $ 
[[   2# 2#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper'   r&   r   r   r   r   <module>r=      s    U q#+ q#r   