
    -Ph8                     6    d dl mZ d dlZ G d de          ZdS )    )BaseLayoutHierarchyTypeNc                        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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 )"Scenelayoutzlayout.scene>   xaxisyaxiszaxiscameradomainbgcolordragmode	hovermode
aspectmode
uirevisionannotationsaspectratioannotationdefaultsc                     | d         S )a  
        The 'annotations' property is a tuple of instances of
        Annotation that may be specified as:
          - A list or tuple of instances of plotly.graph_objs.layout.scene.Annotation
          - A list or tuple of dicts of string/value properties that
            will be passed to the Annotation constructor

        Returns
        -------
        tuple[plotly.graph_objs.layout.scene.Annotation]
        r    selfs    _/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/layout/_scene.pyr   zScene.annotations   s     M""    c                     || d<   d S )Nr   r   r   vals     r   r   zScene.annotations+       !]r   c                     | d         S )a?  
        When used in a template (as
        layout.template.layout.scene.annotationdefaults), sets the
        default property values to use for elements of
        layout.scene.annotations

        The 'annotationdefaults' property is an instance of Annotation
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.scene.Annotation`
          - A dict of string/value properties that will be passed
            to the Annotation constructor

        Returns
        -------
        plotly.graph_objs.layout.scene.Annotation
        r   r   r   s    r   r   zScene.annotationdefaults/   s    $ ())r   c                     || d<   d S )Nr   r   r   s     r   r   zScene.annotationdefaultsC   s    %(!"""r   c                     | d         S )a  
        If "cube", this scene's axes are drawn as a cube, regardless of
        the axes' ranges. If "data", this scene's axes are drawn in
        proportion with the axes' ranges. If "manual", this scene's
        axes are drawn in proportion with the input of "aspectratio"
        (the default behavior if "aspectratio" is provided). If "auto",
        this scene's axes are drawn using the results of "data" except
        when one axis is more than four times the size of the two
        others, where in that case the results of "cube" are used.

        The 'aspectmode' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['auto', 'cube', 'data', 'manual']

        Returns
        -------
        Any
        r   r   r   s    r   r   zScene.aspectmodeG   s    ( L!!r   c                     || d<   d S )Nr   r   r   s     r   r   zScene.aspectmode]        \r   c                     | d         S )a  
        Sets this scene's axis aspectratio.

        The 'aspectratio' property is an instance of Aspectratio
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.scene.Aspectratio`
          - A dict of string/value properties that will be passed
            to the Aspectratio constructor

        Returns
        -------
        plotly.graph_objs.layout.scene.Aspectratio
        r   r   r   s    r   r   zScene.aspectratioa   s     M""r   c                     || d<   d S )Nr   r   r   s     r   r   zScene.aspectratior   r   r   c                     | d         S )a  
        The 'bgcolor' property is a color and may be specified as:
          - A hex string (e.g. '#ff0000')
          - An rgb/rgba string (e.g. 'rgb(255,0,0)')
          - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
          - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
          - A named CSS color: see https://plotly.com/python/css-colors/ for a list

        Returns
        -------
        str
        r   r   r   s    r   r   zScene.bgcolorv   s     Ir   c                     || d<   d S )Nr   r   r   s     r   r   zScene.bgcolor   s    Yr   c                     | d         S )ac  
        The 'camera' property is an instance of Camera
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.scene.Camera`
          - A dict of string/value properties that will be passed
            to the Camera constructor

        Returns
        -------
        plotly.graph_objs.layout.scene.Camera
        r
   r   r   s    r   r
   zScene.camera        H~r   c                     || d<   d S )Nr
   r   r   s     r   r
   zScene.camera       Xr   c                     | d         S )ac  
        The 'domain' property is an instance of Domain
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.scene.Domain`
          - A dict of string/value properties that will be passed
            to the Domain constructor

        Returns
        -------
        plotly.graph_objs.layout.scene.Domain
        r   r   r   s    r   r   zScene.domain   r(   r   c                     || d<   d S )Nr   r   r   s     r   r   zScene.domain   r*   r   c                     | d         S )a6  
        Determines the mode of drag interactions for this scene.

        The 'dragmode' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['orbit', 'turntable', 'zoom', 'pan', False]

        Returns
        -------
        Any
        r   r   r   s    r   r   zScene.dragmode   s     Jr   c                     || d<   d S )Nr   r   r   s     r   r   zScene.dragmode   s    Zr   c                     | d         S )a  
        Determines the mode of hover interactions for this scene.

        The 'hovermode' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['closest', False]

        Returns
        -------
        Any
        r   r   r   s    r   r   zScene.hovermode   s     K  r   c                     || d<   d S )Nr   r   r   s     r   r   zScene.hovermode   s    [r   c                     | d         S )z
        Controls persistence of user-driven changes in camera
        attributes. Defaults to `layout.uirevision`.

        The 'uirevision' property accepts values of any type

        Returns
        -------
        Any
        r   r   r   s    r   r   zScene.uirevision   s     L!!r   c                     || d<   d S )Nr   r   r   s     r   r   zScene.uirevision   r"   r   c                     | d         S )a^  
        The 'xaxis' property is an instance of XAxis
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.scene.XAxis`
          - A dict of string/value properties that will be passed
            to the XAxis constructor

        Returns
        -------
        plotly.graph_objs.layout.scene.XAxis
        r   r   r   s    r   r   zScene.xaxis        G}r   c                     || d<   d S )Nr   r   r   s     r   r   zScene.xaxis       Wr   c                     | d         S )a^  
        The 'yaxis' property is an instance of YAxis
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.scene.YAxis`
          - A dict of string/value properties that will be passed
            to the YAxis constructor

        Returns
        -------
        plotly.graph_objs.layout.scene.YAxis
        r   r   r   s    r   r   zScene.yaxis   r4   r   c                     || d<   d S )Nr   r   r   s     r   r   zScene.yaxis
  r6   r   c                     | d         S )a^  
        The 'zaxis' property is an instance of ZAxis
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.scene.ZAxis`
          - A dict of string/value properties that will be passed
            to the ZAxis constructor

        Returns
        -------
        plotly.graph_objs.layout.scene.ZAxis
        r	   r   r   s    r   r	   zScene.zaxis  r4   r   c                     || d<   d S )Nr	   r   r   s     r   r	   zScene.zaxis  r6   r   c                     dS )NaI          annotations
            A tuple of
            :class:`plotly.graph_objects.layout.scene.Annotation`
            instances or dicts with compatible properties
        annotationdefaults
            When used in a template (as
            layout.template.layout.scene.annotationdefaults), sets
            the default property values to use for elements of
            layout.scene.annotations
        aspectmode
            If "cube", this scene's axes are drawn as a cube,
            regardless of the axes' ranges. If "data", this scene's
            axes are drawn in proportion with the axes' ranges. If
            "manual", this scene's axes are drawn in proportion
            with the input of "aspectratio" (the default behavior
            if "aspectratio" is provided). If "auto", this scene's
            axes are drawn using the results of "data" except when
            one axis is more than four times the size of the two
            others, where in that case the results of "cube" are
            used.
        aspectratio
            Sets this scene's axis aspectratio.
        bgcolor

        camera
            :class:`plotly.graph_objects.layout.scene.Camera`
            instance or dict with compatible properties
        domain
            :class:`plotly.graph_objects.layout.scene.Domain`
            instance or dict with compatible properties
        dragmode
            Determines the mode of drag interactions for this
            scene.
        hovermode
            Determines the mode of hover interactions for this
            scene.
        uirevision
            Controls persistence of user-driven changes in camera
            attributes. Defaults to `layout.uirevision`.
        xaxis
            :class:`plotly.graph_objects.layout.scene.XAxis`
            instance or dict with compatible properties
        yaxis
            :class:`plotly.graph_objects.layout.scene.YAxis`
            instance or dict with compatible properties
        zaxis
            :class:`plotly.graph_objects.layout.scene.ZAxis`
            instance or dict with compatible properties
        r   r   s    r   _prop_descriptionszScene._prop_descriptions!  s    1 1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||           |                     d||	           |                     d||
           |                     d||           |                     d||           |                     d||           |                     d||            | j        di t          |fi | d| _        dS )aW	  
        Construct a new Scene object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.layout.Scene`
        annotations
            A tuple of
            :class:`plotly.graph_objects.layout.scene.Annotation`
            instances or dicts with compatible properties
        annotationdefaults
            When used in a template (as
            layout.template.layout.scene.annotationdefaults), sets
            the default property values to use for elements of
            layout.scene.annotations
        aspectmode
            If "cube", this scene's axes are drawn as a cube,
            regardless of the axes' ranges. If "data", this scene's
            axes are drawn in proportion with the axes' ranges. If
            "manual", this scene's axes are drawn in proportion
            with the input of "aspectratio" (the default behavior
            if "aspectratio" is provided). If "auto", this scene's
            axes are drawn using the results of "data" except when
            one axis is more than four times the size of the two
            others, where in that case the results of "cube" are
            used.
        aspectratio
            Sets this scene's axis aspectratio.
        bgcolor

        camera
            :class:`plotly.graph_objects.layout.scene.Camera`
            instance or dict with compatible properties
        domain
            :class:`plotly.graph_objects.layout.scene.Domain`
            instance or dict with compatible properties
        dragmode
            Determines the mode of drag interactions for this
            scene.
        hovermode
            Determines the mode of hover interactions for this
            scene.
        uirevision
            Controls persistence of user-driven changes in camera
            attributes. Defaults to `layout.uirevision`.
        xaxis
            :class:`plotly.graph_objects.layout.scene.XAxis`
            instance or dict with compatible properties
        yaxis
            :class:`plotly.graph_objects.layout.scene.YAxis`
            instance or dict with compatible properties
        zaxis
            :class:`plotly.graph_objects.layout.scene.ZAxis`
            instance or dict with compatible properties

        Returns
        -------
        Scene
        scene_parentNzThe first argument to the plotly.graph_objs.layout.Scene
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.Scene`skip_invalidF	_validateTr   r   r   r   r   r
   r   r   r   r   r   r   r	   r   )super__init__r?   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidrA   _set_property_process_kwargs)r   argr   r   r   r   r   r
   r   r   r   r   r   r   r	   kwargsrE   s                   r   rC   zScene.__init__V  sC   ^ 	!!!!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CC:   $ZZ>>K66=#{;;;/6HIII<j999=#{;;;9c73338S&1118S&111:sH555;Y777<j9997C///7C///7C///33tC22622333"r   )NNNNNNNNNNNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   r   r
   r   r   r   r   r   r   r	   r<   rC   __classcell__)rE   s   @r   r   r      s       I  L  # # X# " " " * * X*& ) ) ) " " X"* ! ! ! # # X#  " " "   X ^  ^   X ]  ]   X ]  ]     X  _  _ ! ! X!       " " X" ! ! !   X \  \   X \  \   X \  \ 2 2 X2l s# s# s# s# s# s# s# s# s# s#r   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTyperI   rH   r   r   r   r   <module>r\      se    U T T T T T    A# A# A# A# A#$ A# A# A# A# A#r   