
    6Dh                     6    S SK Jr  S SK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$ )Template	   layoutzlayout.templatedatac                     U S   $ )a  
The 'data' property is an instance of Data
that may be specified as:
  - An instance of :class:`plotly.graph_objs.layout.template.Data`
  - A dict of string/value properties that will be passed
    to the Data constructor

Returns
-------
plotly.graph_objs.layout.template.Data
r    selfs    T/var/www/html/env/lib/python3.13/site-packages/plotly/graph_objs/layout/_template.pyr   Template.data   s     F|    c                     XS'   g )Nr   r
   r   vals     r   r   r      s	    Vr   c                     U S   $ )a  
The 'layout' property is an instance of Layout
that may be specified as:
  - An instance of :class:`plotly.graph_objs.Layout`
  - A dict of string/value properties that will be passed
    to the Layout constructor

Returns
-------
plotly.graph_objs.layout.template.Layout
r   r
   r   s    r   r   Template.layout"   s     H~r   c                     XS'   g )Nr   r
   r   s     r   r   r   1   s	    Xr   c                     g)Na          data
            :class:`plotly.graph_objects.layout.template.Data`
            instance or dict with compatible properties
        layout
            :class:`plotly.graph_objects.Layout` instance or dict
            with compatible properties
        r
   r   s    r   _prop_descriptionsTemplate._prop_descriptions5   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        [        R                  " 5          [        R                  " S	[         S
9  U R#                  SX5        SSS5        U R#                  SX5        U R$                  " S0 [        U40 UD6D6  SU l        g! , (       d  f       ND= f)a  
Construct a new Template object

Default attributes to be applied to the plot. This should be a
dict with format: `{'layout': layoutTemplate, 'data':
{trace_type: [traceTemplate, ...], ...}}` where
`layoutTemplate` is a dict matching the structure of
`figure.layout` and `traceTemplate` is a dict matching the
structure of the trace with type `trace_type` (e.g. 'scatter').
Alternatively, this may be specified as an instance of
plotly.graph_objs.layout.Template.  Trace templates are applied
cyclically to traces of each type. Container arrays (eg
`annotations`) have special handling: An object ending in
`defaults` (eg `annotationdefaults`) is applied to each array
item. But if an item has a `templateitemname` key we look in
the template array for an item with matching `name` and apply
that instead. If no matching `name` is found we mark the item
invisible. Any named template item not referenced is appended
to the end of the array, so this can be used to add a watermark
annotation or a logo image, for example. To omit one of these
items on the plot, make an item with matching
`templateitemname` and `visible: false`.

Parameters
----------
arg
    dict of properties compatible with this constructor or
    an instance of
    :class:`plotly.graph_objs.layout.Template`
data
    :class:`plotly.graph_objects.layout.template.Data`
    instance or dict with compatible properties
layout
    :class:`plotly.graph_objects.Layout` instance or dict
    with compatible properties

Returns
-------
Template
template_parentNzThe first argument to the plotly.graph_objs.layout.Template
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.Template`skip_invalidF	_validateTignore)categoryr   r   r
   )super__init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   warningscatch_warningsfilterwarningsDeprecationWarning_set_property_process_kwargs)r   argr   r   kwargsr#   s        r   r!   Template.__init__@   s   R 	$!),DL;C^^,,$$&CT""**S/C=  $ZZ>K6 $$&##H7IJvs1 ' 	8S13tC2623" '&s   ,D77
E)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H%L  
[[    ]]   H# H#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyper'   r&   r+   r   r
   r   r   <module>rA      s     U  #' #r   