B
    >c                @   s  d dl mZ d dlZG dd deZd dl mZ d dlZG dd deZd dl mZ d dlZG dd deZd dl mZ d dlZG d	d
 d
eZd dl mZ d dlZG dd deZ	d dl mZ d dlZG dd deZ
d dl mZ d dlZG dd deZd dl mZ d dlZG dd deZd dl mZ d dlZG dd deZd dl mZ d dlZG dd deZddddddd
dddddddgZd dlmZ d dlmZ d dlmZ d dlmZ dS )    )BaseTraceHierarchyTypeNc                   s   e Zd Zedd Zejdd Zedd Zejdd Zedd Zejd	d Zed
d Zejdd Zedd Z	edd Z
d fdd	Z  ZS )Surfacec             C   s   | d S )a  
        Sets the number of iso-surfaces between minimum and maximum
        iso-values. By default this value is 2 meaning that only
        minimum and maximum surfaces would be drawn.
    
        The 'count' property is a integer and may be specified as:
          - An int (or float that will be cast to an int)
            in the interval [1, 9223372036854775807]

        Returns
        -------
        int
        count )selfr   r   V/var/www/cleansys/lib/python3.7/site-packages/plotly/graph_objs/isosurface/__init__.pyr   	   s    zSurface.countc             C   s   || d< d S )Nr   r   )r   valr   r   r   r      s    c             C   s   | d S )a  
        Sets the fill ratio of the iso-surface. The default fill value
        of the surface is 1 meaning that they are entirely shaded. On
        the other hand Applying a `fill` ratio less than one would
        allow the creation of openings parallel to the edges.
    
        The 'fill' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        fillr   )r   r   r   r   r	       s    zSurface.fillc             C   s   || d< d S )Nr	   r   )r   r   r   r   r   r	   1   s    c             C   s   | d S )a3  
        Sets the surface pattern of the iso-surface 3-D sections. The
        default pattern of the surface is `all` meaning that the rest
        of surface elements would be shaded. The check options (either
        1 or 2) could be used to draw half of the squares on the
        surface. Using various combinations of capital `A`, `B`, `C`,
        `D` and `E` may also be used to reduce the number of triangles
        on the iso-surfaces and creating other patterns of interest.
    
        The 'pattern' property is a flaglist and may be specified
        as a string containing:
          - Any combination of ['A', 'B', 'C', 'D', 'E'] joined with '+' characters
            (e.g. 'A+B')
            OR exactly one of ['all', 'odd', 'even'] (e.g. 'even')

        Returns
        -------
        Any
        patternr   )r   r   r   r   r
   7   s    zSurface.patternc             C   s   || d< d S )Nr
   r   )r   r   r   r   r   r
   N   s    c             C   s   | d S )z
        Hides/displays surfaces between minimum and maximum iso-values.
    
        The 'show' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        showr   )r   r   r   r   r   T   s    zSurface.showc             C   s   || d< d S )Nr   r   )r   r   r   r   r   r   b   s    c             C   s   dS )N
isosurfacer   )r   r   r   r   _parent_path_strh   s    zSurface._parent_path_strc             C   s   dS )Na          count
            Sets the number of iso-surfaces between minimum and
            maximum iso-values. By default this value is 2 meaning
            that only minimum and maximum surfaces would be drawn.
        fill
            Sets the fill ratio of the iso-surface. The default
            fill value of the surface is 1 meaning that they are
            entirely shaded. On the other hand Applying a `fill`
            ratio less than one would allow the creation of
            openings parallel to the edges.
        pattern
            Sets the surface pattern of the iso-surface 3-D
            sections. The default pattern of the surface is `all`
            meaning that the rest of surface elements would be
            shaded. The check options (either 1 or 2) could be used
            to draw half of the squares on the surface. Using
            various combinations of capital `A`, `B`, `C`, `D` and
            `E` may also be used to reduce the number of triangles
            on the iso-surfaces and creating other patterns of
            interest.
        show
            Hides/displays surfaces between minimum and maximum
            iso-values.
        r   )r   r   r   r   _prop_descriptionsn   s    zSurface._prop_descriptionsNc       	         sD  t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|
dd| _ddlm} | | jd< | | jd	< | | jd
< | | jd< |
dd}|dk	r|n|| d< |
d	d}|dk	r|n|| d	< |
d
d}|dk	r|n|| d
< |
dd}|dk	r|n|| d< | jf t|f| d| _dS )a  
        Construct a new Surface object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Surface`
        count
            Sets the number of iso-surfaces between minimum and
            maximum iso-values. By default this value is 2 meaning
            that only minimum and maximum surfaces would be drawn.
        fill
            Sets the fill ratio of the iso-surface. The default
            fill value of the surface is 1 meaning that they are
            entirely shaded. On the other hand Applying a `fill`
            ratio less than one would allow the creation of
            openings parallel to the edges.
        pattern
            Sets the surface pattern of the iso-surface 3-D
            sections. The default pattern of the surface is `all`
            meaning that the rest of surface elements would be
            shaded. The check options (either 1 or 2) could be used
            to draw half of the squares on the surface. Using
            various combinations of capital `A`, `B`, `C`, `D` and
            `E` may also be used to reduce the number of triangles
            on the iso-surfaces and creating other patterns of
            interest.
        show
            Hides/displays surfaces between minimum and maximum
            iso-values.

        Returns
        -------
        Surface
        surfaceNzThe first argument to the plotly.graph_objs.isosurface.Surface 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.Surface`skip_invalidFr   )r   r   r	   r
   r   )superr   __init__
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidplotly.validators.isosurfacer   ZCountValidator_validatorsFillValidatorZPatternValidatorShowValidator_process_kwargs)	r   argr   r	   r
   r   kwargsZ	v_surface_v)r   r   r   r      s2    (

zSurface.__init__)NNNNN)__name__
__module____qualname__propertyr   setterr	   r
   r   r   r   r   __classcell__r   r   )r   r   r      s   r   c                   sj   e Zd Zedd Zejdd Zedd Zejdd Zedd Zed	d
 Zd fdd	Z	  Z
S )Streamc             C   s   | d S )a|  
        Sets the maximum number of points to keep on the plots from an
        incoming stream. If `maxpoints` is set to 50, only the newest
        50 points will be displayed on the plot.
    
        The 'maxpoints' property is a number and may be specified as:
          - An int or float in the interval [0, 10000]

        Returns
        -------
        int|float
        	maxpointsr   )r   r   r   r   r+      s    zStream.maxpointsc             C   s   || d< d S )Nr+   r   )r   r   r   r   r   r+      s    c             C   s   | d S )a  
        The stream id number links a data trace on a plot with a
        stream. See https://plot.ly/settings for more details.
    
        The 'token' property is a string and must be specified as:
          - A non-empty string

        Returns
        -------
        str
        tokenr   )r   r   r   r   r,     s    zStream.tokenc             C   s   || d< d S )Nr,   r   )r   r   r   r   r   r,     s    c             C   s   dS )Nr   r   )r   r   r   r   r     s    zStream._parent_path_strc             C   s   dS )Na          maxpoints
            Sets the maximum number of points to keep on the plots
            from an incoming stream. If `maxpoints` is set to 50,
            only the newest 50 points will be displayed on the
            plot.
        token
            The stream id number links a data trace on a plot with
            a stream. See https://plot.ly/settings for more
            details.
        r   )r   r   r   r   r      s    zStream._prop_descriptionsNc                s   t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|
dd| _ddlm} | | jd< | | jd	< |
dd}|dk	r|n|| d< |
d	d}|dk	r|n|| d	< | jf t|f| d| _dS )
a  
        Construct a new Stream object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Stream`
        maxpoints
            Sets the maximum number of points to keep on the plots
            from an incoming stream. If `maxpoints` is set to 50,
            only the newest 50 points will be displayed on the
            plot.
        token
            The stream id number links a data trace on a plot with
            a stream. See https://plot.ly/settings for more
            details.

        Returns
        -------
        Stream
        streamNzThe first argument to the plotly.graph_objs.isosurface.Stream 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.Stream`r   Fr   )r-   r+   r,   )r   r*   r   r   r   r   r   r   r   r   r   r   r   r-   ZMaxpointsValidatorr   ZTokenValidatorr    )r   r!   r+   r,   r"   Zv_streamr#   )r   r   r   r   .  s&    

zStream.__init__)NNN)r$   r%   r&   r'   r+   r(   r,   r   r   r   r)   r   r   )r   r   r*      s   r*   c                   sj   e Zd Zedd Zejdd Zedd Zejdd Zedd Zed	d
 Zd fdd	Z	  Z
S )
Spaceframec             C   s   | d S )a  
        Sets the fill ratio of the `spaceframe` elements. The default
        fill value is 0.15 meaning that only 15% of the area of every
        faces of tetras would be shaded. Applying a greater `fill`
        ratio would allow the creation of stronger elements or could be
        sued to have entirely closed areas (in case of using 1).
    
        The 'fill' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        r	   r   )r   r   r   r   r	   }  s    zSpaceframe.fillc             C   s   || d< d S )Nr	   r   )r   r   r   r   r   r	     s    c             C   s   | d S )aP  
        Displays/hides tetrahedron shapes between minimum and maximum
        iso-values. Often useful when either caps or surfaces are
        disabled or filled with values less than 1.
    
        The 'show' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r   r   )r   r   r   r   r     s    zSpaceframe.showc             C   s   || d< d S )Nr   r   )r   r   r   r   r   r     s    c             C   s   dS )Nr   r   )r   r   r   r   r     s    zSpaceframe._parent_path_strc             C   s   dS )Nan          fill
            Sets the fill ratio of the `spaceframe` elements. The
            default fill value is 0.15 meaning that only 15% of the
            area of every faces of tetras would be shaded. Applying
            a greater `fill` ratio would allow the creation of
            stronger elements or could be sued to have entirely
            closed areas (in case of using 1).
        show
            Displays/hides tetrahedron shapes between minimum and
            maximum iso-values. Often useful when either caps or
            surfaces are disabled or filled with values less than
            1.
        r   )r   r   r   r   r     s    zSpaceframe._prop_descriptionsNc                s   t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|
dd| _ddlm} | | jd< | | jd	< |
dd}|dk	r|n|| d< |
d	d}|dk	r|n|| d	< | jf t|f| d| _dS )
a  
        Construct a new Spaceframe object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Spaceframe`
        fill
            Sets the fill ratio of the `spaceframe` elements. The
            default fill value is 0.15 meaning that only 15% of the
            area of every faces of tetras would be shaded. Applying
            a greater `fill` ratio would allow the creation of
            stronger elements or could be sued to have entirely
            closed areas (in case of using 1).
        show
            Displays/hides tetrahedron shapes between minimum and
            maximum iso-values. Often useful when either caps or
            surfaces are disabled or filled with values less than
            1.

        Returns
        -------
        Spaceframe
        
spaceframeNzThe first argument to the plotly.graph_objs.isosurface.Spaceframe 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.Spaceframe`r   Fr   )r/   r	   r   )r   r.   r   r   r   r   r   r   r   r   r   r   r   r/   r   r   r   r    )r   r!   r	   r   r"   Zv_spaceframer#   )r   r   r   r     s&    

zSpaceframe.__init__)NNN)r$   r%   r&   r'   r	   r(   r   r   r   r   r)   r   r   )r   r   r.   y  s   r.   c                   s   e Zd Zedd Zejdd Zedd Zejdd Zedd Zejd	d Zed
d Zedd Z	d fdd	Z
  ZS )Slicesc             C   s   | d S )a  
        The 'x' property is an instance of X
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.slices.X`
          - A dict of string/value properties that will be passed
            to the X constructor
    
            Supported dict properties:
                
                fill
                    Sets the fill ratio of the `slices`. The
                    default fill value of the `slices` is 1 meaning
                    that they are entirely shaded. On the other
                    hand Applying a `fill` ratio less than one
                    would allow the creation of openings parallel
                    to the edges.
                locations
                    Specifies the location(s) of slices on the
                    axis. When not specified slices would be
                    created for all points of the axis x except
                    start and end.
                locationssrc
                    Sets the source reference on plot.ly for
                    locations .
                show
                    Determines whether or not slice planes about
                    the x dimension are drawn.

        Returns
        -------
        plotly.graph_objs.isosurface.slices.X
        xr   )r   r   r   r   r1     s    "zSlices.xc             C   s   || d< d S )Nr1   r   )r   r   r   r   r   r1   8  s    c             C   s   | d S )a  
        The 'y' property is an instance of Y
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.slices.Y`
          - A dict of string/value properties that will be passed
            to the Y constructor
    
            Supported dict properties:
                
                fill
                    Sets the fill ratio of the `slices`. The
                    default fill value of the `slices` is 1 meaning
                    that they are entirely shaded. On the other
                    hand Applying a `fill` ratio less than one
                    would allow the creation of openings parallel
                    to the edges.
                locations
                    Specifies the location(s) of slices on the
                    axis. When not specified slices would be
                    created for all points of the axis y except
                    start and end.
                locationssrc
                    Sets the source reference on plot.ly for
                    locations .
                show
                    Determines whether or not slice planes about
                    the y dimension are drawn.

        Returns
        -------
        plotly.graph_objs.isosurface.slices.Y
        yr   )r   r   r   r   r2   >  s    "zSlices.yc             C   s   || d< d S )Nr2   r   )r   r   r   r   r   r2   b  s    c             C   s   | d S )a  
        The 'z' property is an instance of Z
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.slices.Z`
          - A dict of string/value properties that will be passed
            to the Z constructor
    
            Supported dict properties:
                
                fill
                    Sets the fill ratio of the `slices`. The
                    default fill value of the `slices` is 1 meaning
                    that they are entirely shaded. On the other
                    hand Applying a `fill` ratio less than one
                    would allow the creation of openings parallel
                    to the edges.
                locations
                    Specifies the location(s) of slices on the
                    axis. When not specified slices would be
                    created for all points of the axis z except
                    start and end.
                locationssrc
                    Sets the source reference on plot.ly for
                    locations .
                show
                    Determines whether or not slice planes about
                    the z dimension are drawn.

        Returns
        -------
        plotly.graph_objs.isosurface.slices.Z
        zr   )r   r   r   r   r3   h  s    "zSlices.zc             C   s   || d< d S )Nr3   r   )r   r   r   r   r   r3     s    c             C   s   dS )Nr   r   )r   r   r   r   r     s    zSlices._parent_path_strc             C   s   dS )Na          x
            :class:`plotly.graph_objects.isosurface.slices.X`
            instance or dict with compatible properties
        y
            :class:`plotly.graph_objects.isosurface.slices.Y`
            instance or dict with compatible properties
        z
            :class:`plotly.graph_objects.isosurface.slices.Z`
            instance or dict with compatible properties
        r   )r   r   r   r   r     s    zSlices._prop_descriptionsNc                s  t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|
dd| _ddlm} | | jd< | | jd	< | | jd
< |
dd}|dk	r|n|| d< |
d	d}|dk	r|n|| d	< |
d
d}|dk	r|n|| d
< | jf t|f| d| _dS )a  
        Construct a new Slices object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Slices`
        x
            :class:`plotly.graph_objects.isosurface.slices.X`
            instance or dict with compatible properties
        y
            :class:`plotly.graph_objects.isosurface.slices.Y`
            instance or dict with compatible properties
        z
            :class:`plotly.graph_objects.isosurface.slices.Z`
            instance or dict with compatible properties

        Returns
        -------
        Slices
        slicesNzThe first argument to the plotly.graph_objs.isosurface.Slices 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.Slices`r   Fr   )r4   r1   r2   r3   )r   r0   r   r   r   r   r   r   r   r   r   r   r   r4   
XValidatorr   
YValidator
ZValidatorr    )r   r!   r1   r2   r3   r"   Zv_slicesr#   )r   r   r   r     s,    

zSlices.__init__)NNNN)r$   r%   r&   r'   r1   r(   r2   r3   r   r   r   r)   r   r   )r   r   r0     s   $$$r0   c                   s   e Zd Zedd Zejdd Zedd Zejdd Zedd Zejd	d Zed
d Zedd Z	d fdd	Z
  ZS )Lightpositionc             C   s   | d S )a  
        Numeric vector, representing the X coordinate for each vertex.
    
        The 'x' property is a number and may be specified as:
          - An int or float in the interval [-100000, 100000]

        Returns
        -------
        int|float
        r1   r   )r   r   r   r   r1     s    zLightposition.xc             C   s   || d< d S )Nr1   r   )r   r   r   r   r   r1     s    c             C   s   | d S )a  
        Numeric vector, representing the Y coordinate for each vertex.
    
        The 'y' property is a number and may be specified as:
          - An int or float in the interval [-100000, 100000]

        Returns
        -------
        int|float
        r2   r   )r   r   r   r   r2     s    zLightposition.yc             C   s   || d< d S )Nr2   r   )r   r   r   r   r   r2     s    c             C   s   | d S )a  
        Numeric vector, representing the Z coordinate for each vertex.
    
        The 'z' property is a number and may be specified as:
          - An int or float in the interval [-100000, 100000]

        Returns
        -------
        int|float
        r3   r   )r   r   r   r   r3      s    zLightposition.zc             C   s   || d< d S )Nr3   r   )r   r   r   r   r   r3   .  s    c             C   s   dS )Nr   r   )r   r   r   r   r   4  s    zLightposition._parent_path_strc             C   s   dS )Na+          x
            Numeric vector, representing the X coordinate for each
            vertex.
        y
            Numeric vector, representing the Y coordinate for each
            vertex.
        z
            Numeric vector, representing the Z coordinate for each
            vertex.
        r   )r   r   r   r   r   :  s    z Lightposition._prop_descriptionsNc                s  t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|
dd| _ddlm} | | jd< | | jd	< | | jd
< |
dd}|dk	r|n|| d< |
d	d}|dk	r|n|| d	< |
d
d}|dk	r|n|| d
< | jf t|f| d| _dS )ai  
        Construct a new Lightposition object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Lightposition`
        x
            Numeric vector, representing the X coordinate for each
            vertex.
        y
            Numeric vector, representing the Y coordinate for each
            vertex.
        z
            Numeric vector, representing the Z coordinate for each
            vertex.

        Returns
        -------
        Lightposition
        lightpositionNzThe first argument to the plotly.graph_objs.isosurface.Lightposition 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.Lightposition`r   Fr   )r9   r1   r2   r3   )r   r8   r   r   r   r   r   r   r   r   r   r   r   r9   r5   r   r6   r7   r    )r   r!   r1   r2   r3   r"   Zv_lightpositionr#   )r   r   r   r   H  s,    

zLightposition.__init__)NNNN)r$   r%   r&   r'   r1   r(   r2   r3   r   r   r   r)   r   r   )r   r   r8     s   r8   c                   s   e Zd Zedd Zejdd Zedd Zejdd Zedd Zejd	d Zed
d Zejdd Zedd Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zedd Zd fdd	Z  ZS )Lightingc             C   s   | d S )a  
        Ambient light increases overall color visibility but can wash
        out the image.
    
        The 'ambient' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        ambientr   )r   r   r   r   r;     s    zLighting.ambientc             C   s   || d< d S )Nr;   r   )r   r   r   r   r   r;     s    c             C   s   | d S )a  
        Represents the extent that incident rays are reflected in a
        range of angles.
    
        The 'diffuse' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        diffuser   )r   r   r   r   r<     s    zLighting.diffusec             C   s   || d< d S )Nr<   r   )r   r   r   r   r   r<     s    c             C   s   | d S )a-  
        Epsilon for face normals calculation avoids math issues arising
        from degenerate geometry.
    
        The 'facenormalsepsilon' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        facenormalsepsilonr   )r   r   r   r   r=     s    zLighting.facenormalsepsilonc             C   s   || d< d S )Nr=   r   )r   r   r   r   r   r=     s    c             C   s   | d S )ay  
        Represents the reflectance as a dependency of the viewing
        angle; e.g. paper is reflective when viewing it from the edge
        of the paper (almost 90 degrees), causing shine.
    
        The 'fresnel' property is a number and may be specified as:
          - An int or float in the interval [0, 5]

        Returns
        -------
        int|float
        fresnelr   )r   r   r   r   r>     s    zLighting.fresnelc             C   s   || d< d S )Nr>   r   )r   r   r   r   r   r>     s    c             C   s   | d S )a'  
        Alters specular reflection; the rougher the surface, the wider
        and less contrasty the shine.
    
        The 'roughness' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        	roughnessr   )r   r   r   r   r?     s    zLighting.roughnessc             C   s   || d< d S )Nr?   r   )r   r   r   r   r   r?     s    c             C   s   | d S )a%  
        Represents the level that incident rays are reflected in a
        single direction, causing shine.
    
        The 'specular' property is a number and may be specified as:
          - An int or float in the interval [0, 2]

        Returns
        -------
        int|float
        specularr   )r   r   r   r   r@     s    zLighting.specularc             C   s   || d< d S )Nr@   r   )r   r   r   r   r   r@     s    c             C   s   | d S )a1  
        Epsilon for vertex normals calculation avoids math issues
        arising from degenerate geometry.
    
        The 'vertexnormalsepsilon' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        vertexnormalsepsilonr   )r   r   r   r   rA     s    zLighting.vertexnormalsepsilonc             C   s   || d< d S )NrA   r   )r   r   r   r   r   rA   (  s    c             C   s   dS )Nr   r   )r   r   r   r   r   .  s    zLighting._parent_path_strc             C   s   dS )Na          ambient
            Ambient light increases overall color visibility but
            can wash out the image.
        diffuse
            Represents the extent that incident rays are reflected
            in a range of angles.
        facenormalsepsilon
            Epsilon for face normals calculation avoids math issues
            arising from degenerate geometry.
        fresnel
            Represents the reflectance as a dependency of the
            viewing angle; e.g. paper is reflective when viewing it
            from the edge of the paper (almost 90 degrees), causing
            shine.
        roughness
            Alters specular reflection; the rougher the surface,
            the wider and less contrasty the shine.
        specular
            Represents the level that incident rays are reflected
            in a single direction, causing shine.
        vertexnormalsepsilon
            Epsilon for vertex normals calculation avoids math
            issues arising from degenerate geometry.
        r   )r   r   r   r   r   4  s    zLighting._prop_descriptionsNc	                s  t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|	
dd| _ddlm}
 |
 | jd< |
 | jd	< |
 | jd
< |
 | jd< |
 | jd< |
 | jd< |
 | jd< |
dd}|dk	r|n|| d< |
d	d}|dk	r|n|| d	< |
d
d}|dk	r*|n|| d
< |
dd}|dk	rL|n|| d< |
dd}|dk	rn|n|| d< |
dd}|dk	r|n|| d< |
dd}|dk	r|n|| d< | jf t|f|	 d| _dS )a4  
        Construct a new Lighting object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Lighting`
        ambient
            Ambient light increases overall color visibility but
            can wash out the image.
        diffuse
            Represents the extent that incident rays are reflected
            in a range of angles.
        facenormalsepsilon
            Epsilon for face normals calculation avoids math issues
            arising from degenerate geometry.
        fresnel
            Represents the reflectance as a dependency of the
            viewing angle; e.g. paper is reflective when viewing it
            from the edge of the paper (almost 90 degrees), causing
            shine.
        roughness
            Alters specular reflection; the rougher the surface,
            the wider and less contrasty the shine.
        specular
            Represents the level that incident rays are reflected
            in a single direction, causing shine.
        vertexnormalsepsilon
            Epsilon for vertex normals calculation avoids math
            issues arising from degenerate geometry.

        Returns
        -------
        Lighting
        lightingNzThe first argument to the plotly.graph_objs.isosurface.Lighting 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.Lighting`r   Fr   )rB   r;   r<   r=   r>   r?   r@   rA   )r   r:   r   r   r   r   r   r   r   r   r   r   r   rB   ZAmbientValidatorr   ZDiffuseValidatorZFacenormalsepsilonValidatorZFresnelValidatorZRoughnessValidatorZSpecularValidatorZVertexnormalsepsilonValidatorr    )r   r!   r;   r<   r=   r>   r?   r@   rA   r"   Z
v_lightingr#   )r   r   r   r   P  sD    1

zLighting.__init__)NNNNNNNN)r$   r%   r&   r'   r;   r(   r<   r=   r>   r?   r@   rA   r   r   r   r)   r   r   )r   r   r:     s0          r:   c            
       s   e Zd Zedd Zejdd Zedd Zejdd Zedd Zejd	d Zed
d Zejdd Zedd Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zedd Zd# fd!d"	Z  ZS )$
Hoverlabelc             C   s   | d S )a  
        Sets the horizontal alignment of the text content within hover
        label box. Has an effect only if the hover label text spans
        more two or more lines
    
        The 'align' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['left', 'right', 'auto']
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        Any|numpy.ndarray
        alignr   )r   r   r   r   rD     s    zHoverlabel.alignc             C   s   || d< d S )NrD   r   )r   r   r   r   r   rD     s    c             C   s   | d S )z
        Sets the source reference on plot.ly for  align .
    
        The 'alignsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        alignsrcr   )r   r   r   r   rE     s    zHoverlabel.alignsrcc             C   s   || d< d S )NrE   r   )r   r   r   r   r   rE     s    c             C   s   | d S )aq
  
        Sets the background color of the hover labels for this trace
    
        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:
                aliceblue, antiquewhite, aqua, aquamarine, azure,
                beige, bisque, black, blanchedalmond, blue,
                blueviolet, brown, burlywood, cadetblue,
                chartreuse, chocolate, coral, cornflowerblue,
                cornsilk, crimson, cyan, darkblue, darkcyan,
                darkgoldenrod, darkgray, darkgrey, darkgreen,
                darkkhaki, darkmagenta, darkolivegreen, darkorange,
                darkorchid, darkred, darksalmon, darkseagreen,
                darkslateblue, darkslategray, darkslategrey,
                darkturquoise, darkviolet, deeppink, deepskyblue,
                dimgray, dimgrey, dodgerblue, firebrick,
                floralwhite, forestgreen, fuchsia, gainsboro,
                ghostwhite, gold, goldenrod, gray, grey, green,
                greenyellow, honeydew, hotpink, indianred, indigo,
                ivory, khaki, lavender, lavenderblush, lawngreen,
                lemonchiffon, lightblue, lightcoral, lightcyan,
                lightgoldenrodyellow, lightgray, lightgrey,
                lightgreen, lightpink, lightsalmon, lightseagreen,
                lightskyblue, lightslategray, lightslategrey,
                lightsteelblue, lightyellow, lime, limegreen,
                linen, magenta, maroon, mediumaquamarine,
                mediumblue, mediumorchid, mediumpurple,
                mediumseagreen, mediumslateblue, mediumspringgreen,
                mediumturquoise, mediumvioletred, midnightblue,
                mintcream, mistyrose, moccasin, navajowhite, navy,
                oldlace, olive, olivedrab, orange, orangered,
                orchid, palegoldenrod, palegreen, paleturquoise,
                palevioletred, papayawhip, peachpuff, peru, pink,
                plum, powderblue, purple, red, rosybrown,
                royalblue, rebeccapurple, saddlebrown, salmon,
                sandybrown, seagreen, seashell, sienna, silver,
                skyblue, slateblue, slategray, slategrey, snow,
                springgreen, steelblue, tan, teal, thistle, tomato,
                turquoise, violet, wheat, white, whitesmoke,
                yellow, yellowgreen
          - A list or array of any of the above

        Returns
        -------
        str|numpy.ndarray
        bgcolorr   )r   r   r   r   rF     s    4zHoverlabel.bgcolorc             C   s   || d< d S )NrF   r   )r   r   r   r   r   rF   1  s    c             C   s   | d S )z
        Sets the source reference on plot.ly for  bgcolor .
    
        The 'bgcolorsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        
bgcolorsrcr   )r   r   r   r   rG   7  s    zHoverlabel.bgcolorsrcc             C   s   || d< d S )NrG   r   )r   r   r   r   r   rG   E  s    c             C   s   | d S )ar
  
        Sets the border color of the hover labels for this trace.
    
        The 'bordercolor' 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:
                aliceblue, antiquewhite, aqua, aquamarine, azure,
                beige, bisque, black, blanchedalmond, blue,
                blueviolet, brown, burlywood, cadetblue,
                chartreuse, chocolate, coral, cornflowerblue,
                cornsilk, crimson, cyan, darkblue, darkcyan,
                darkgoldenrod, darkgray, darkgrey, darkgreen,
                darkkhaki, darkmagenta, darkolivegreen, darkorange,
                darkorchid, darkred, darksalmon, darkseagreen,
                darkslateblue, darkslategray, darkslategrey,
                darkturquoise, darkviolet, deeppink, deepskyblue,
                dimgray, dimgrey, dodgerblue, firebrick,
                floralwhite, forestgreen, fuchsia, gainsboro,
                ghostwhite, gold, goldenrod, gray, grey, green,
                greenyellow, honeydew, hotpink, indianred, indigo,
                ivory, khaki, lavender, lavenderblush, lawngreen,
                lemonchiffon, lightblue, lightcoral, lightcyan,
                lightgoldenrodyellow, lightgray, lightgrey,
                lightgreen, lightpink, lightsalmon, lightseagreen,
                lightskyblue, lightslategray, lightslategrey,
                lightsteelblue, lightyellow, lime, limegreen,
                linen, magenta, maroon, mediumaquamarine,
                mediumblue, mediumorchid, mediumpurple,
                mediumseagreen, mediumslateblue, mediumspringgreen,
                mediumturquoise, mediumvioletred, midnightblue,
                mintcream, mistyrose, moccasin, navajowhite, navy,
                oldlace, olive, olivedrab, orange, orangered,
                orchid, palegoldenrod, palegreen, paleturquoise,
                palevioletred, papayawhip, peachpuff, peru, pink,
                plum, powderblue, purple, red, rosybrown,
                royalblue, rebeccapurple, saddlebrown, salmon,
                sandybrown, seagreen, seashell, sienna, silver,
                skyblue, slateblue, slategray, slategrey, snow,
                springgreen, steelblue, tan, teal, thistle, tomato,
                turquoise, violet, wheat, white, whitesmoke,
                yellow, yellowgreen
          - A list or array of any of the above

        Returns
        -------
        str|numpy.ndarray
        bordercolorr   )r   r   r   r   rH   K  s    4zHoverlabel.bordercolorc             C   s   || d< d S )NrH   r   )r   r   r   r   r   rH     s    c             C   s   | d S )z
        Sets the source reference on plot.ly for  bordercolor .
    
        The 'bordercolorsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        bordercolorsrcr   )r   r   r   r   rI     s    zHoverlabel.bordercolorsrcc             C   s   || d< d S )NrI   r   )r   r   r   r   r   rI     s    c             C   s   | d S )aI  
        Sets the font used in hover labels.
    
        The 'font' property is an instance of Font
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.hoverlabel.Font`
          - A dict of string/value properties that will be passed
            to the Font constructor
    
            Supported dict properties:
                
                color
    
                colorsrc
                    Sets the source reference on plot.ly for  color
                    .
                family
                    HTML font family - the typeface that will be
                    applied by the web browser. The web browser
                    will only be able to apply a font if it is
                    available on the system which it operates.
                    Provide multiple font families, separated by
                    commas, to indicate the preference in which to
                    apply fonts if they aren't available on the
                    system. The plotly service (at https://plot.ly
                    or on-premise) generates images on a server,
                    where only a select number of fonts are
                    installed and supported. These include "Arial",
                    "Balto", "Courier New", "Droid Sans",, "Droid
                    Serif", "Droid Sans Mono", "Gravitas One", "Old
                    Standard TT", "Open Sans", "Overpass", "PT Sans
                    Narrow", "Raleway", "Times New Roman".
                familysrc
                    Sets the source reference on plot.ly for
                    family .
                size
    
                sizesrc
                    Sets the source reference on plot.ly for  size
                    .

        Returns
        -------
        plotly.graph_objs.isosurface.hoverlabel.Font
        fontr   )r   r   r   r   rJ     s    /zHoverlabel.fontc             C   s   || d< d S )NrJ   r   )r   r   r   r   r   rJ     s    c             C   s   | d S )a  
        Sets the default length (in number of characters) of the trace
        name in the hover labels for all traces. -1 shows the whole
        name regardless of length. 0-3 shows the first 0-3 characters,
        and an integer >3 will show the whole name if it is less than
        that many characters, but if it is longer, will truncate to
        `namelength - 3` characters and add an ellipsis.
    
        The 'namelength' property is a integer and may be specified as:
          - An int (or float that will be cast to an int)
            in the interval [-1, 9223372036854775807]
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        int|numpy.ndarray
        
namelengthr   )r   r   r   r   rK     s    zHoverlabel.namelengthc             C   s   || d< d S )NrK   r   )r   r   r   r   r   rK     s    c             C   s   | d S )z
        Sets the source reference on plot.ly for  namelength .
    
        The 'namelengthsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        namelengthsrcr   )r   r   r   r   rL     s    zHoverlabel.namelengthsrcc             C   s   || d< d S )NrL   r   )r   r   r   r   r   rL     s    c             C   s   dS )Nr   r   )r   r   r   r   r     s    zHoverlabel._parent_path_strc             C   s   dS )Na          align
            Sets the horizontal alignment of the text content
            within hover label box. Has an effect only if the hover
            label text spans more two or more lines
        alignsrc
            Sets the source reference on plot.ly for  align .
        bgcolor
            Sets the background color of the hover labels for this
            trace
        bgcolorsrc
            Sets the source reference on plot.ly for  bgcolor .
        bordercolor
            Sets the border color of the hover labels for this
            trace.
        bordercolorsrc
            Sets the source reference on plot.ly for  bordercolor .
        font
            Sets the font used in hover labels.
        namelength
            Sets the default length (in number of characters) of
            the trace name in the hover labels for all traces. -1
            shows the whole name regardless of length. 0-3 shows
            the first 0-3 characters, and an integer >3 will show
            the whole name if it is less than that many characters,
            but if it is longer, will truncate to `namelength - 3`
            characters and add an ellipsis.
        namelengthsrc
            Sets the source reference on plot.ly for  namelength .
        r   )r   r   r   r   r     s    zHoverlabel._prop_descriptionsNc                s:  t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|
dd| _ddlm} | | jd< | | jd	< | | jd
< | | jd< | | jd< | | jd< | | jd< | | jd< | | jd< |
dd}|dk	r|n|| d< |
d	d}|dk	r&|n|| d	< |
d
d}|dk	rH|n|| d
< |
dd}|dk	rj|n|| d< |
dd}|dk	r|n|| d< |
dd}|dk	r|n|| d< |
dd}|dk	r|n|| d< |
dd}|	dk	r|	n|| d< |
dd}|
dk	r|
n|| d< | jf t|f| d| _dS )a+  
        Construct a new Hoverlabel object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Hoverlabel`
        align
            Sets the horizontal alignment of the text content
            within hover label box. Has an effect only if the hover
            label text spans more two or more lines
        alignsrc
            Sets the source reference on plot.ly for  align .
        bgcolor
            Sets the background color of the hover labels for this
            trace
        bgcolorsrc
            Sets the source reference on plot.ly for  bgcolor .
        bordercolor
            Sets the border color of the hover labels for this
            trace.
        bordercolorsrc
            Sets the source reference on plot.ly for  bordercolor .
        font
            Sets the font used in hover labels.
        namelength
            Sets the default length (in number of characters) of
            the trace name in the hover labels for all traces. -1
            shows the whole name regardless of length. 0-3 shows
            the first 0-3 characters, and an integer >3 will show
            the whole name if it is less than that many characters,
            but if it is longer, will truncate to `namelength - 3`
            characters and add an ellipsis.
        namelengthsrc
            Sets the source reference on plot.ly for  namelength .

        Returns
        -------
        Hoverlabel
        
hoverlabelNzThe first argument to the plotly.graph_objs.isosurface.Hoverlabel 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.Hoverlabel`r   Fr   )rM   rD   rE   rF   rG   rH   rI   rJ   rK   rL   )r   rC   r   r   r   r   r   r   r   r   r   r   r   rM   ZAlignValidatorr   ZAlignsrcValidatorBgcolorValidatorZBgcolorsrcValidatorBordercolorValidatorZBordercolorsrcValidatorZFontValidatorZNamelengthValidatorZNamelengthsrcValidatorr    )r   r!   rD   rE   rF   rG   rH   rI   rJ   rK   rL   r"   Zv_hoverlabelr#   )r   r   r   r   (  sP    8

zHoverlabel.__init__)
NNNNNNNNNN)r$   r%   r&   r'   rD   r(   rE   rF   rG   rH   rI   rJ   rK   rL   r   r   r   r)   r   r   )r   r   rC     s<   661#         rC   c                   s   e Zd Zedd Zejdd Zedd Zejdd Zedd Zejd	d Zed
d Zedd Z	d fdd	Z
  ZS )Contourc             C   s   | d S )a
  
        Sets the color of the contour lines.
    
        The 'color' 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:
                aliceblue, antiquewhite, aqua, aquamarine, azure,
                beige, bisque, black, blanchedalmond, blue,
                blueviolet, brown, burlywood, cadetblue,
                chartreuse, chocolate, coral, cornflowerblue,
                cornsilk, crimson, cyan, darkblue, darkcyan,
                darkgoldenrod, darkgray, darkgrey, darkgreen,
                darkkhaki, darkmagenta, darkolivegreen, darkorange,
                darkorchid, darkred, darksalmon, darkseagreen,
                darkslateblue, darkslategray, darkslategrey,
                darkturquoise, darkviolet, deeppink, deepskyblue,
                dimgray, dimgrey, dodgerblue, firebrick,
                floralwhite, forestgreen, fuchsia, gainsboro,
                ghostwhite, gold, goldenrod, gray, grey, green,
                greenyellow, honeydew, hotpink, indianred, indigo,
                ivory, khaki, lavender, lavenderblush, lawngreen,
                lemonchiffon, lightblue, lightcoral, lightcyan,
                lightgoldenrodyellow, lightgray, lightgrey,
                lightgreen, lightpink, lightsalmon, lightseagreen,
                lightskyblue, lightslategray, lightslategrey,
                lightsteelblue, lightyellow, lime, limegreen,
                linen, magenta, maroon, mediumaquamarine,
                mediumblue, mediumorchid, mediumpurple,
                mediumseagreen, mediumslateblue, mediumspringgreen,
                mediumturquoise, mediumvioletred, midnightblue,
                mintcream, mistyrose, moccasin, navajowhite, navy,
                oldlace, olive, olivedrab, orange, orangered,
                orchid, palegoldenrod, palegreen, paleturquoise,
                palevioletred, papayawhip, peachpuff, peru, pink,
                plum, powderblue, purple, red, rosybrown,
                royalblue, rebeccapurple, saddlebrown, salmon,
                sandybrown, seagreen, seashell, sienna, silver,
                skyblue, slateblue, slategray, slategrey, snow,
                springgreen, steelblue, tan, teal, thistle, tomato,
                turquoise, violet, wheat, white, whitesmoke,
                yellow, yellowgreen

        Returns
        -------
        str
        colorr   )r   r   r   r   rQ     s    3zContour.colorc             C   s   || d< d S )NrQ   r   )r   r   r   r   r   rQ     s    c             C   s   | d S )z
        Sets whether or not dynamic contours are shown on hover
    
        The 'show' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r   r   )r   r   r   r   r     s    zContour.showc             C   s   || d< d S )Nr   r   )r   r   r   r   r   r     s    c             C   s   | d S )z
        Sets the width of the contour lines.
    
        The 'width' property is a number and may be specified as:
          - An int or float in the interval [1, 16]

        Returns
        -------
        int|float
        widthr   )r   r   r   r   rR     s    zContour.widthc             C   s   || d< d S )NrR   r   )r   r   r   r   r   rR   	  s    c             C   s   dS )Nr   r   )r   r   r   r   r     s    zContour._parent_path_strc             C   s   dS )Nz        color
            Sets the color of the contour lines.
        show
            Sets whether or not dynamic contours are shown on hover
        width
            Sets the width of the contour lines.
        r   )r   r   r   r   r     s    	zContour._prop_descriptionsNc                s  t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|
dd| _ddlm} | | jd< | | jd	< | | jd
< |
dd}|dk	r|n|| d< |
d	d}|dk	r|n|| d	< |
d
d}|dk	r|n|| d
< | jf t|f| d| _dS )a  
        Construct a new Contour object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Contour`
        color
            Sets the color of the contour lines.
        show
            Sets whether or not dynamic contours are shown on hover
        width
            Sets the width of the contour lines.

        Returns
        -------
        Contour
        contourNzThe first argument to the plotly.graph_objs.isosurface.Contour 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.Contour`r   Fr   )rS   rQ   r   rR   )r   rP   r   r   r   r   r   r   r   r   r   r   r   rS   ZColorValidatorr   r   ZWidthValidatorr    )r   r!   rQ   r   rR   r"   Z	v_contourr#   )r   r   r   r      s,    

zContour.__init__)NNNN)r$   r%   r&   r'   rQ   r(   r   rR   r   r   r   r)   r   r   )r   r   rP     s   5rP   c            ,       s  e Zd Zedd Zejdd Zedd Zejdd Zedd Zejd	d Zed
d Zejdd Zedd Z	e	jdd Z	edd Z
e
jdd Z
edd Zejdd Zedd Zejdd Zedd Zejdd Zedd Zejdd Zedd  Zejd!d  Zed"d# Zejd$d# Zed%d& Zejd'd& Zed(d) Zejd*d) Zed+d, Zejd-d, Zed.d/ Zejd0d/ Zed1d2 Zejd3d2 Zed4d5 Zejd6d5 Zed7d8 Zejd9d8 Zed:d; Zejd<d; Zed=d> Zejd?d> Zed@dA ZejdBdA ZedCdD ZejdEdD ZedFdG ZejdHdG ZedIdJ ZejdKdJ ZedLdM ZejdNdM ZedOdP ZejdQdP ZedRdS Z e jdTdS Z edUdV Z!e!jdWdV Z!edXdY Z"e"jdZdY Z"ed[d\ Z#e#jd]d\ Z#ed^d_ Z$e$jd`d_ Z$edadb Z%e%jdcdb Z%eddde Z&e&jdfde Z&edgdh Z'e'jdidh Z'edjdk Z(e(jdldk Z(edmdn Z)e)jdodn Z)edpdq Z*e*jdrdq Z*edsdt Z+e+jdudt Z+edvdw Z,e,jdxdw Z,edydz Z-e-jd{dz Z-ed|d} Z.e.jd~d} Z.edd Z/e/jdd Z/edd Z0edd Z1dddZ2d fdd	Z3  Z4S )ColorBarc             C   s   | d S )a
  
        Sets the color of padded area.
    
        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:
                aliceblue, antiquewhite, aqua, aquamarine, azure,
                beige, bisque, black, blanchedalmond, blue,
                blueviolet, brown, burlywood, cadetblue,
                chartreuse, chocolate, coral, cornflowerblue,
                cornsilk, crimson, cyan, darkblue, darkcyan,
                darkgoldenrod, darkgray, darkgrey, darkgreen,
                darkkhaki, darkmagenta, darkolivegreen, darkorange,
                darkorchid, darkred, darksalmon, darkseagreen,
                darkslateblue, darkslategray, darkslategrey,
                darkturquoise, darkviolet, deeppink, deepskyblue,
                dimgray, dimgrey, dodgerblue, firebrick,
                floralwhite, forestgreen, fuchsia, gainsboro,
                ghostwhite, gold, goldenrod, gray, grey, green,
                greenyellow, honeydew, hotpink, indianred, indigo,
                ivory, khaki, lavender, lavenderblush, lawngreen,
                lemonchiffon, lightblue, lightcoral, lightcyan,
                lightgoldenrodyellow, lightgray, lightgrey,
                lightgreen, lightpink, lightsalmon, lightseagreen,
                lightskyblue, lightslategray, lightslategrey,
                lightsteelblue, lightyellow, lime, limegreen,
                linen, magenta, maroon, mediumaquamarine,
                mediumblue, mediumorchid, mediumpurple,
                mediumseagreen, mediumslateblue, mediumspringgreen,
                mediumturquoise, mediumvioletred, midnightblue,
                mintcream, mistyrose, moccasin, navajowhite, navy,
                oldlace, olive, olivedrab, orange, orangered,
                orchid, palegoldenrod, palegreen, paleturquoise,
                palevioletred, papayawhip, peachpuff, peru, pink,
                plum, powderblue, purple, red, rosybrown,
                royalblue, rebeccapurple, saddlebrown, salmon,
                sandybrown, seagreen, seashell, sienna, silver,
                skyblue, slateblue, slategray, slategrey, snow,
                springgreen, steelblue, tan, teal, thistle, tomato,
                turquoise, violet, wheat, white, whitesmoke,
                yellow, yellowgreen

        Returns
        -------
        str
        rF   r   )r   r   r   r   rF   o  s    3zColorBar.bgcolorc             C   s   || d< d S )NrF   r   )r   r   r   r   r   rF     s    c             C   s   | d S )a
  
        Sets the axis line color.
    
        The 'bordercolor' 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:
                aliceblue, antiquewhite, aqua, aquamarine, azure,
                beige, bisque, black, blanchedalmond, blue,
                blueviolet, brown, burlywood, cadetblue,
                chartreuse, chocolate, coral, cornflowerblue,
                cornsilk, crimson, cyan, darkblue, darkcyan,
                darkgoldenrod, darkgray, darkgrey, darkgreen,
                darkkhaki, darkmagenta, darkolivegreen, darkorange,
                darkorchid, darkred, darksalmon, darkseagreen,
                darkslateblue, darkslategray, darkslategrey,
                darkturquoise, darkviolet, deeppink, deepskyblue,
                dimgray, dimgrey, dodgerblue, firebrick,
                floralwhite, forestgreen, fuchsia, gainsboro,
                ghostwhite, gold, goldenrod, gray, grey, green,
                greenyellow, honeydew, hotpink, indianred, indigo,
                ivory, khaki, lavender, lavenderblush, lawngreen,
                lemonchiffon, lightblue, lightcoral, lightcyan,
                lightgoldenrodyellow, lightgray, lightgrey,
                lightgreen, lightpink, lightsalmon, lightseagreen,
                lightskyblue, lightslategray, lightslategrey,
                lightsteelblue, lightyellow, lime, limegreen,
                linen, magenta, maroon, mediumaquamarine,
                mediumblue, mediumorchid, mediumpurple,
                mediumseagreen, mediumslateblue, mediumspringgreen,
                mediumturquoise, mediumvioletred, midnightblue,
                mintcream, mistyrose, moccasin, navajowhite, navy,
                oldlace, olive, olivedrab, orange, orangered,
                orchid, palegoldenrod, palegreen, paleturquoise,
                palevioletred, papayawhip, peachpuff, peru, pink,
                plum, powderblue, purple, red, rosybrown,
                royalblue, rebeccapurple, saddlebrown, salmon,
                sandybrown, seagreen, seashell, sienna, silver,
                skyblue, slateblue, slategray, slategrey, snow,
                springgreen, steelblue, tan, teal, thistle, tomato,
                turquoise, violet, wheat, white, whitesmoke,
                yellow, yellowgreen

        Returns
        -------
        str
        rH   r   )r   r   r   r   rH     s    3zColorBar.bordercolorc             C   s   || d< d S )NrH   r   )r   r   r   r   r   rH     s    c             C   s   | d S )a  
        Sets the width (in px) or the border enclosing this color bar.
    
        The 'borderwidth' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        borderwidthr   )r   r   r   r   rU     s    zColorBar.borderwidthc             C   s   || d< d S )NrU   r   )r   r   r   r   r   rU     s    c             C   s   | d S )a  
        Sets the step in-between ticks on this axis. Use with `tick0`.
        Must be a positive number, or special strings available to
        "log" and "date" axes. If the axis `type` is "log", then ticks
        are set every 10^(n*dtick) where n is the tick number. For
        example, to set a tick mark at 1, 10, 100, 1000, ... set dtick
        to 1. To set tick marks at 1, 100, 10000, ... set dtick to 2.
        To set tick marks at 1, 5, 25, 125, 625, 3125, ... set dtick to
        log_10(5), or 0.69897000433. "log" has several special values;
        "L<f>", where `f` is a positive number, gives ticks linearly
        spaced in value (but not position). For example `tick0` = 0.1,
        `dtick` = "L0.5" will put ticks at 0.1, 0.6, 1.1, 1.6 etc. To
        show powers of 10 plus small digits between, use "D1" (all
        digits) or "D2" (only 2 and 5). `tick0` is ignored for "D1" and
        "D2". If the axis `type` is "date", then you must convert the
        time to milliseconds. For example, to set the interval between
        ticks to one day, set `dtick` to 86400000.0. "date" also has
        special values "M<n>" gives ticks spaced by a number of months.
        `n` must be a positive integer. To set ticks on the 15th of
        every third month, set `tick0` to "2000-01-15" and `dtick` to
        "M3". To set ticks every 4 years, set `dtick` to "M48"
    
        The 'dtick' property accepts values of any type

        Returns
        -------
        Any
        dtickr   )r   r   r   r   rV     s    zColorBar.dtickc             C   s   || d< d S )NrV   r   )r   r   r   r   r   rV     s    c             C   s   | d S )a  
        Determines a formatting rule for the tick exponents. For
        example, consider the number 1,000,000,000. If "none", it
        appears as 1,000,000,000. If "e", 1e+9. If "E", 1E+9. If
        "power", 1x10^9 (with 9 in a super script). If "SI", 1G. If
        "B", 1B.
    
        The 'exponentformat' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['none', 'e', 'E', 'power', 'SI', 'B']

        Returns
        -------
        Any
        exponentformatr   )r   r   r   r   rW     s    zColorBar.exponentformatc             C   s   || d< d S )NrW   r   )r   r   r   r   r   rW   2  s    c             C   s   | d S )al  
        Sets the length of the color bar This measure excludes the
        padding of both ends. That is, the color bar length is this
        length minus the padding on both ends.
    
        The 'len' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        lenr   )r   r   r   r   rX   8  s    zColorBar.lenc             C   s   || d< d S )NrX   r   )r   r   r   r   r   rX   H  s    c             C   s   | d S )a  
        Determines whether this color bar's length (i.e. the measure in
        the color variation direction) is set in units of plot
        "fraction" or in *pixels. Use `len` to set the value.
    
        The 'lenmode' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['fraction', 'pixels']

        Returns
        -------
        Any
        lenmoder   )r   r   r   r   rY   N  s    zColorBar.lenmodec             C   s   || d< d S )NrY   r   )r   r   r   r   r   rY   _  s    c             C   s   | d S )a  
        Specifies the maximum number of ticks for the particular axis.
        The actual number of ticks will be chosen automatically to be
        less than or equal to `nticks`. Has an effect only if
        `tickmode` is set to "auto".
    
        The 'nticks' property is a integer and may be specified as:
          - An int (or float that will be cast to an int)
            in the interval [0, 9223372036854775807]

        Returns
        -------
        int
        nticksr   )r   r   r   r   rZ   e  s    zColorBar.nticksc             C   s   || d< d S )NrZ   r   )r   r   r   r   r   rZ   w  s    c             C   s   | d S )a
  
        Sets the axis line color.
    
        The 'outlinecolor' 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:
                aliceblue, antiquewhite, aqua, aquamarine, azure,
                beige, bisque, black, blanchedalmond, blue,
                blueviolet, brown, burlywood, cadetblue,
                chartreuse, chocolate, coral, cornflowerblue,
                cornsilk, crimson, cyan, darkblue, darkcyan,
                darkgoldenrod, darkgray, darkgrey, darkgreen,
                darkkhaki, darkmagenta, darkolivegreen, darkorange,
                darkorchid, darkred, darksalmon, darkseagreen,
                darkslateblue, darkslategray, darkslategrey,
                darkturquoise, darkviolet, deeppink, deepskyblue,
                dimgray, dimgrey, dodgerblue, firebrick,
                floralwhite, forestgreen, fuchsia, gainsboro,
                ghostwhite, gold, goldenrod, gray, grey, green,
                greenyellow, honeydew, hotpink, indianred, indigo,
                ivory, khaki, lavender, lavenderblush, lawngreen,
                lemonchiffon, lightblue, lightcoral, lightcyan,
                lightgoldenrodyellow, lightgray, lightgrey,
                lightgreen, lightpink, lightsalmon, lightseagreen,
                lightskyblue, lightslategray, lightslategrey,
                lightsteelblue, lightyellow, lime, limegreen,
                linen, magenta, maroon, mediumaquamarine,
                mediumblue, mediumorchid, mediumpurple,
                mediumseagreen, mediumslateblue, mediumspringgreen,
                mediumturquoise, mediumvioletred, midnightblue,
                mintcream, mistyrose, moccasin, navajowhite, navy,
                oldlace, olive, olivedrab, orange, orangered,
                orchid, palegoldenrod, palegreen, paleturquoise,
                palevioletred, papayawhip, peachpuff, peru, pink,
                plum, powderblue, purple, red, rosybrown,
                royalblue, rebeccapurple, saddlebrown, salmon,
                sandybrown, seagreen, seashell, sienna, silver,
                skyblue, slateblue, slategray, slategrey, snow,
                springgreen, steelblue, tan, teal, thistle, tomato,
                turquoise, violet, wheat, white, whitesmoke,
                yellow, yellowgreen

        Returns
        -------
        str
        outlinecolorr   )r   r   r   r   r[   }  s    3zColorBar.outlinecolorc             C   s   || d< d S )Nr[   r   )r   r   r   r   r   r[     s    c             C   s   | d S )z
        Sets the width (in px) of the axis line.
    
        The 'outlinewidth' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        outlinewidthr   )r   r   r   r   r\     s    zColorBar.outlinewidthc             C   s   || d< d S )Nr\   r   )r   r   r   r   r   r\     s    c             C   s   | d S )z
        If "true", even 4-digit integers are separated
    
        The 'separatethousands' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        separatethousandsr   )r   r   r   r   r]     s    zColorBar.separatethousandsc             C   s   || d< d S )Nr]   r   )r   r   r   r   r   r]     s    c             C   s   | d S )a  
        If "all", all exponents are shown besides their significands.
        If "first", only the exponent of the first tick is shown. If
        "last", only the exponent of the last tick is shown. If "none",
        no exponents appear.
    
        The 'showexponent' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['all', 'first', 'last', 'none']

        Returns
        -------
        Any
        showexponentr   )r   r   r   r   r^     s    zColorBar.showexponentc             C   s   || d< d S )Nr^   r   )r   r   r   r   r   r^     s    c             C   s   | d S )z
        Determines whether or not the tick labels are drawn.
    
        The 'showticklabels' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        showticklabelsr   )r   r   r   r   r_     s    zColorBar.showticklabelsc             C   s   || d< d S )Nr_   r   )r   r   r   r   r   r_   	  s    c             C   s   | d S )a  
        If "all", all tick labels are displayed with a prefix. If
        "first", only the first tick is displayed with a prefix. If
        "last", only the last tick is displayed with a suffix. If
        "none", tick prefixes are hidden.
    
        The 'showtickprefix' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['all', 'first', 'last', 'none']

        Returns
        -------
        Any
        showtickprefixr   )r   r   r   r   r`   	  s    zColorBar.showtickprefixc             C   s   || d< d S )Nr`   r   )r   r   r   r   r   r`   	  s    c             C   s   | d S )a+  
        Same as `showtickprefix` but for tick suffixes.
    
        The 'showticksuffix' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['all', 'first', 'last', 'none']

        Returns
        -------
        Any
        showticksuffixr   )r   r   r   r   ra   $	  s    zColorBar.showticksuffixc             C   s   || d< d S )Nra   r   )r   r   r   r   r   ra   3	  s    c             C   s   | d S )a1  
        Sets the thickness of the color bar This measure excludes the
        size of the padding, ticks and labels.
    
        The 'thickness' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        	thicknessr   )r   r   r   r   rb   9	  s    zColorBar.thicknessc             C   s   || d< d S )Nrb   r   )r   r   r   r   r   rb   H	  s    c             C   s   | d S )a  
        Determines whether this color bar's thickness (i.e. the measure
        in the constant color direction) is set in units of plot
        "fraction" or in "pixels". Use `thickness` to set the value.
    
        The 'thicknessmode' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['fraction', 'pixels']

        Returns
        -------
        Any
        thicknessmoder   )r   r   r   r   rc   N	  s    zColorBar.thicknessmodec             C   s   || d< d S )Nrc   r   )r   r   r   r   r   rc   _	  s    c             C   s   | d S )a  
        Sets the placement of the first tick on this axis. Use with
        `dtick`. If the axis `type` is "log", then you must take the
        log of your starting tick (e.g. to set the starting tick to
        100, set the `tick0` to 2) except when `dtick`=*L<f>* (see
        `dtick` for more info). If the axis `type` is "date", it should
        be a date string, like date data. If the axis `type` is
        "category", it should be a number, using the scale where each
        category is assigned a serial number from zero in the order it
        appears.
    
        The 'tick0' property accepts values of any type

        Returns
        -------
        Any
        tick0r   )r   r   r   r   rd   e	  s    zColorBar.tick0c             C   s   || d< d S )Nrd   r   )r   r   r   r   r   rd   z	  s    c             C   s   | d S )a  
        Sets the angle of the tick labels with respect to the
        horizontal. For example, a `tickangle` of -90 draws the tick
        labels vertically.
    
        The 'tickangle' property is a angle (in degrees) that may be
        specified as a number between -180 and 180. Numeric values outside this
        range are converted to the equivalent value
        (e.g. 270 is converted to -90).

        Returns
        -------
        int|float
        	tickangler   )r   r   r   r   re   	  s    zColorBar.tickanglec             C   s   || d< d S )Nre   r   )r   r   r   r   r   re   	  s    c             C   s   | d S )a
  
        Sets the tick color.
    
        The 'tickcolor' 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:
                aliceblue, antiquewhite, aqua, aquamarine, azure,
                beige, bisque, black, blanchedalmond, blue,
                blueviolet, brown, burlywood, cadetblue,
                chartreuse, chocolate, coral, cornflowerblue,
                cornsilk, crimson, cyan, darkblue, darkcyan,
                darkgoldenrod, darkgray, darkgrey, darkgreen,
                darkkhaki, darkmagenta, darkolivegreen, darkorange,
                darkorchid, darkred, darksalmon, darkseagreen,
                darkslateblue, darkslategray, darkslategrey,
                darkturquoise, darkviolet, deeppink, deepskyblue,
                dimgray, dimgrey, dodgerblue, firebrick,
                floralwhite, forestgreen, fuchsia, gainsboro,
                ghostwhite, gold, goldenrod, gray, grey, green,
                greenyellow, honeydew, hotpink, indianred, indigo,
                ivory, khaki, lavender, lavenderblush, lawngreen,
                lemonchiffon, lightblue, lightcoral, lightcyan,
                lightgoldenrodyellow, lightgray, lightgrey,
                lightgreen, lightpink, lightsalmon, lightseagreen,
                lightskyblue, lightslategray, lightslategrey,
                lightsteelblue, lightyellow, lime, limegreen,
                linen, magenta, maroon, mediumaquamarine,
                mediumblue, mediumorchid, mediumpurple,
                mediumseagreen, mediumslateblue, mediumspringgreen,
                mediumturquoise, mediumvioletred, midnightblue,
                mintcream, mistyrose, moccasin, navajowhite, navy,
                oldlace, olive, olivedrab, orange, orangered,
                orchid, palegoldenrod, palegreen, paleturquoise,
                palevioletred, papayawhip, peachpuff, peru, pink,
                plum, powderblue, purple, red, rosybrown,
                royalblue, rebeccapurple, saddlebrown, salmon,
                sandybrown, seagreen, seashell, sienna, silver,
                skyblue, slateblue, slategray, slategrey, snow,
                springgreen, steelblue, tan, teal, thistle, tomato,
                turquoise, violet, wheat, white, whitesmoke,
                yellow, yellowgreen

        Returns
        -------
        str
        	tickcolorr   )r   r   r   r   rf   	  s    3zColorBar.tickcolorc             C   s   || d< d S )Nrf   r   )r   r   r   r   r   rf   	  s    c             C   s   | d S )a  
        Sets the color bar's tick label font
    
        The 'tickfont' property is an instance of Tickfont
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.colorbar.Tickfont`
          - A dict of string/value properties that will be passed
            to the Tickfont constructor
    
            Supported dict properties:
                
                color
    
                family
                    HTML font family - the typeface that will be
                    applied by the web browser. The web browser
                    will only be able to apply a font if it is
                    available on the system which it operates.
                    Provide multiple font families, separated by
                    commas, to indicate the preference in which to
                    apply fonts if they aren't available on the
                    system. The plotly service (at https://plot.ly
                    or on-premise) generates images on a server,
                    where only a select number of fonts are
                    installed and supported. These include "Arial",
                    "Balto", "Courier New", "Droid Sans",, "Droid
                    Serif", "Droid Sans Mono", "Gravitas One", "Old
                    Standard TT", "Open Sans", "Overpass", "PT Sans
                    Narrow", "Raleway", "Times New Roman".
                size

        Returns
        -------
        plotly.graph_objs.isosurface.colorbar.Tickfont
        tickfontr   )r   r   r   r   rg   	  s    %zColorBar.tickfontc             C   s   || d< d S )Nrg   r   )r   r   r   r   r   rg   	  s    c             C   s   | d S )a
  
        Sets the tick label formatting rule using d3 formatting mini-
        languages which are very similar to those in Python. For
        numbers, see: https://github.com/d3/d3-3.x-api-
        reference/blob/master/Formatting.md#d3_format And for dates
        see: https://github.com/d3/d3-3.x-api-
        reference/blob/master/Time-Formatting.md#format We add one item
        to d3's date formatter: "%{n}f" for fractional seconds with n
        digits. For example, *2016-10-13 09:15:23.456* with tickformat
        "%H~%M~%S.%2f" would display "09~15~23.46"
    
        The 'tickformat' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        
tickformatr   )r   r   r   r   rh    
  s    zColorBar.tickformatc             C   s   || d< d S )Nrh   r   )r   r   r   r   r   rh   
  s    c             C   s   | d S )a:	  
        The 'tickformatstops' property is a tuple of instances of
        Tickformatstop that may be specified as:
          - A list or tuple of instances of plotly.graph_objs.isosurface.colorbar.Tickformatstop
          - A list or tuple of dicts of string/value properties that
            will be passed to the Tickformatstop constructor
    
            Supported dict properties:
                
                dtickrange
                    range [*min*, *max*], where "min", "max" -
                    dtick values which describe some zoom level, it
                    is possible to omit "min" or "max" value by
                    passing "null"
                enabled
                    Determines whether or not this stop is used. If
                    `false`, this stop is ignored even within its
                    `dtickrange`.
                name
                    When used in a template, named items are
                    created in the output figure in addition to any
                    items the figure already has in this array. You
                    can modify these items in the output figure by
                    making your own item with `templateitemname`
                    matching this `name` alongside your
                    modifications (including `visible: false` or
                    `enabled: false` to hide it). Has no effect
                    outside of a template.
                templateitemname
                    Used to refer to a named item in this array in
                    the template. Named items from the template
                    will be created even without a matching item in
                    the input figure, but you can modify one by
                    making an item with `templateitemname` matching
                    its `name`, alongside your modifications
                    (including `visible: false` or `enabled: false`
                    to hide it). If there is no template or no
                    matching item, this item will be hidden unless
                    you explicitly show it with `visible: true`.
                value
                    string - dtickformat for described zoom level,
                    the same as "tickformat"

        Returns
        -------
        tuple[plotly.graph_objs.isosurface.colorbar.Tickformatstop]
        tickformatstopsr   )r   r   r   r   ri   
  s    1zColorBar.tickformatstopsc             C   s   || d< d S )Nri   r   )r   r   r   r   r   ri   P
  s    c             C   s   | d S )a  
        When used in a template (as layout.template.data.isosurface.col
        orbar.tickformatstopdefaults), sets the default property values
        to use for elements of isosurface.colorbar.tickformatstops
    
        The 'tickformatstopdefaults' property is an instance of Tickformatstop
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.colorbar.Tickformatstop`
          - A dict of string/value properties that will be passed
            to the Tickformatstop constructor
    
            Supported dict properties:

        Returns
        -------
        plotly.graph_objs.isosurface.colorbar.Tickformatstop
        tickformatstopdefaultsr   )r   r   r   r   rj   V
  s    zColorBar.tickformatstopdefaultsc             C   s   || d< d S )Nrj   r   )r   r   r   r   r   rj   k
  s    c             C   s   | d S )z
        Sets the tick length (in px).
    
        The 'ticklen' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        ticklenr   )r   r   r   r   rk   q
  s    zColorBar.ticklenc             C   s   || d< d S )Nrk   r   )r   r   r   r   r   rk   
  s    c             C   s   | d S )a  
        Sets the tick mode for this axis. If "auto", the number of
        ticks is set via `nticks`. If "linear", the placement of the
        ticks is determined by a starting position `tick0` and a tick
        step `dtick` ("linear" is the default value if `tick0` and
        `dtick` are provided). If "array", the placement of the ticks
        is set via `tickvals` and the tick text is `ticktext`. ("array"
        is the default value if `tickvals` is provided).
    
        The 'tickmode' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['auto', 'linear', 'array']

        Returns
        -------
        Any
        tickmoder   )r   r   r   r   rl   
  s    zColorBar.tickmodec             C   s   || d< d S )Nrl   r   )r   r   r   r   r   rl   
  s    c             C   s   | d S )z
        Sets a tick label prefix.
    
        The 'tickprefix' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        
tickprefixr   )r   r   r   r   rm   
  s    zColorBar.tickprefixc             C   s   || d< d S )Nrm   r   )r   r   r   r   r   rm   
  s    c             C   s   | d S )a  
        Determines whether ticks are drawn or not. If "", this axis'
        ticks are not drawn. If "outside" ("inside"), this axis' are
        drawn outside (inside) the axis lines.
    
        The 'ticks' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['outside', 'inside', '']

        Returns
        -------
        Any
        ticksr   )r   r   r   r   rn   
  s    zColorBar.ticksc             C   s   || d< d S )Nrn   r   )r   r   r   r   r   rn   
  s    c             C   s   | d S )z
        Sets a tick label suffix.
    
        The 'ticksuffix' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        
ticksuffixr   )r   r   r   r   ro   
  s    zColorBar.ticksuffixc             C   s   || d< d S )Nro   r   )r   r   r   r   r   ro   
  s    c             C   s   | d S )a_  
        Sets the text displayed at the ticks position via `tickvals`.
        Only has an effect if `tickmode` is set to "array". Used with
        `tickvals`.
    
        The 'ticktext' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        ticktextr   )r   r   r   r   rp   
  s    zColorBar.ticktextc             C   s   || d< d S )Nrp   r   )r   r   r   r   r   rp   
  s    c             C   s   | d S )z
        Sets the source reference on plot.ly for  ticktext .
    
        The 'ticktextsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        ticktextsrcr   )r   r   r   r   rq   
  s    zColorBar.ticktextsrcc             C   s   || d< d S )Nrq   r   )r   r   r   r   r   rq     s    c             C   s   | d S )aM  
        Sets the values at which ticks on this axis appear. Only has an
        effect if `tickmode` is set to "array". Used with `ticktext`.
    
        The 'tickvals' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        tickvalsr   )r   r   r   r   rr     s    zColorBar.tickvalsc             C   s   || d< d S )Nrr   r   )r   r   r   r   r   rr     s    c             C   s   | d S )z
        Sets the source reference on plot.ly for  tickvals .
    
        The 'tickvalssrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        tickvalssrcr   )r   r   r   r   rs      s    zColorBar.tickvalssrcc             C   s   || d< d S )Nrs   r   )r   r   r   r   r   rs   .  s    c             C   s   | d S )z
        Sets the tick width (in px).
    
        The 'tickwidth' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        	tickwidthr   )r   r   r   r   rt   4  s    zColorBar.tickwidthc             C   s   || d< d S )Nrt   r   )r   r   r   r   r   rt   B  s    c             C   s   | d S )a  
        The 'title' property is an instance of Title
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.colorbar.Title`
          - A dict of string/value properties that will be passed
            to the Title constructor
    
            Supported dict properties:
                
                font
                    Sets this color bar's title font. Note that the
                    title's font used to be set by the now
                    deprecated `titlefont` attribute.
                side
                    Determines the location of color bar's title
                    with respect to the color bar. Note that the
                    title's location used to be set by the now
                    deprecated `titleside` attribute.
                text
                    Sets the title of the color bar. Note that
                    before the existence of `title.text`, the
                    title's contents used to be defined as the
                    `title` attribute itself. This behavior has
                    been deprecated.

        Returns
        -------
        plotly.graph_objs.isosurface.colorbar.Title
        titler   )r   r   r   r   ru   H  s    zColorBar.titlec             C   s   || d< d S )Nru   r   )r   r   r   r   r   ru   i  s    c             C   s   | d S )ah  
        Deprecated: Please use isosurface.colorbar.title.font instead.
        Sets this color bar's title font. Note that the title's font
        used to be set by the now deprecated `titlefont` attribute.
    
        The 'font' property is an instance of Font
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.colorbar.title.Font`
          - A dict of string/value properties that will be passed
            to the Font constructor
    
            Supported dict properties:
                
                color
    
                family
                    HTML font family - the typeface that will be
                    applied by the web browser. The web browser
                    will only be able to apply a font if it is
                    available on the system which it operates.
                    Provide multiple font families, separated by
                    commas, to indicate the preference in which to
                    apply fonts if they aren't available on the
                    system. The plotly service (at https://plot.ly
                    or on-premise) generates images on a server,
                    where only a select number of fonts are
                    installed and supported. These include "Arial",
                    "Balto", "Courier New", "Droid Sans",, "Droid
                    Serif", "Droid Sans Mono", "Gravitas One", "Old
                    Standard TT", "Open Sans", "Overpass", "PT Sans
                    Narrow", "Raleway", "Times New Roman".
                size

        Returns
        -------
        
        	titlefontr   )r   r   r   r   rv   o  s    'zColorBar.titlefontc             C   s   || d< d S )Nrv   r   )r   r   r   r   r   rv     s    c             C   s   | d S )a  
        Deprecated: Please use isosurface.colorbar.title.side instead.
        Determines the location of color bar's title with respect to
        the color bar. Note that the title's location used to be set by
        the now deprecated `titleside` attribute.
    
        The 'side' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['right', 'top', 'bottom']

        Returns
        -------
        
        	titlesider   )r   r   r   r   rw     s    zColorBar.titlesidec             C   s   || d< d S )Nrw   r   )r   r   r   r   r   rw     s    c             C   s   | d S )z
        Sets the x position of the color bar (in plot fraction).
    
        The 'x' property is a number and may be specified as:
          - An int or float in the interval [-2, 3]

        Returns
        -------
        int|float
        r1   r   )r   r   r   r   r1     s    z
ColorBar.xc             C   s   || d< d S )Nr1   r   )r   r   r   r   r   r1     s    c             C   s   | d S )a  
        Sets this color bar's horizontal position anchor. This anchor
        binds the `x` position to the "left", "center" or "right" of
        the color bar.
    
        The 'xanchor' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['left', 'center', 'right']

        Returns
        -------
        Any
        xanchorr   )r   r   r   r   rx     s    zColorBar.xanchorc             C   s   || d< d S )Nrx   r   )r   r   r   r   r   rx     s    c             C   s   | d S )z
        Sets the amount of padding (in px) along the x direction.
    
        The 'xpad' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        xpadr   )r   r   r   r   ry     s    zColorBar.xpadc             C   s   || d< d S )Nry   r   )r   r   r   r   r   ry     s    c             C   s   | d S )z
        Sets the y position of the color bar (in plot fraction).
    
        The 'y' property is a number and may be specified as:
          - An int or float in the interval [-2, 3]

        Returns
        -------
        int|float
        r2   r   )r   r   r   r   r2     s    z
ColorBar.yc             C   s   || d< d S )Nr2   r   )r   r   r   r   r   r2     s    c             C   s   | d S )a  
        Sets this color bar's vertical position anchor This anchor
        binds the `y` position to the "top", "middle" or "bottom" of
        the color bar.
    
        The 'yanchor' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['top', 'middle', 'bottom']

        Returns
        -------
        Any
        yanchorr   )r   r   r   r   rz   	  s    zColorBar.yanchorc             C   s   || d< d S )Nrz   r   )r   r   r   r   r   rz     s    c             C   s   | d S )z
        Sets the amount of padding (in px) along the y direction.
    
        The 'ypad' property is a number and may be specified as:
          - An int or float in the interval [0, inf]

        Returns
        -------
        int|float
        ypadr   )r   r   r   r   r{      s    zColorBar.ypadc             C   s   || d< d S )Nr{   r   )r   r   r   r   r   r{   .  s    c             C   s   dS )Nr   r   )r   r   r   r   r   4  s    zColorBar._parent_path_strc             C   s   dS )Na#          bgcolor
            Sets the color of padded area.
        bordercolor
            Sets the axis line color.
        borderwidth
            Sets the width (in px) or the border enclosing this
            color bar.
        dtick
            Sets the step in-between ticks on this axis. Use with
            `tick0`. Must be a positive number, or special strings
            available to "log" and "date" axes. If the axis `type`
            is "log", then ticks are set every 10^(n*dtick) where n
            is the tick number. For example, to set a tick mark at
            1, 10, 100, 1000, ... set dtick to 1. To set tick marks
            at 1, 100, 10000, ... set dtick to 2. To set tick marks
            at 1, 5, 25, 125, 625, 3125, ... set dtick to
            log_10(5), or 0.69897000433. "log" has several special
            values; "L<f>", where `f` is a positive number, gives
            ticks linearly spaced in value (but not position). For
            example `tick0` = 0.1, `dtick` = "L0.5" will put ticks
            at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus
            small digits between, use "D1" (all digits) or "D2"
            (only 2 and 5). `tick0` is ignored for "D1" and "D2".
            If the axis `type` is "date", then you must convert the
            time to milliseconds. For example, to set the interval
            between ticks to one day, set `dtick` to 86400000.0.
            "date" also has special values "M<n>" gives ticks
            spaced by a number of months. `n` must be a positive
            integer. To set ticks on the 15th of every third month,
            set `tick0` to "2000-01-15" and `dtick` to "M3". To set
            ticks every 4 years, set `dtick` to "M48"
        exponentformat
            Determines a formatting rule for the tick exponents.
            For example, consider the number 1,000,000,000. If
            "none", it appears as 1,000,000,000. If "e", 1e+9. If
            "E", 1E+9. If "power", 1x10^9 (with 9 in a super
            script). If "SI", 1G. If "B", 1B.
        len
            Sets the length of the color bar This measure excludes
            the padding of both ends. That is, the color bar length
            is this length minus the padding on both ends.
        lenmode
            Determines whether this color bar's length (i.e. the
            measure in the color variation direction) is set in
            units of plot "fraction" or in *pixels. Use `len` to
            set the value.
        nticks
            Specifies the maximum number of ticks for the
            particular axis. The actual number of ticks will be
            chosen automatically to be less than or equal to
            `nticks`. Has an effect only if `tickmode` is set to
            "auto".
        outlinecolor
            Sets the axis line color.
        outlinewidth
            Sets the width (in px) of the axis line.
        separatethousands
            If "true", even 4-digit integers are separated
        showexponent
            If "all", all exponents are shown besides their
            significands. If "first", only the exponent of the
            first tick is shown. If "last", only the exponent of
            the last tick is shown. If "none", no exponents appear.
        showticklabels
            Determines whether or not the tick labels are drawn.
        showtickprefix
            If "all", all tick labels are displayed with a prefix.
            If "first", only the first tick is displayed with a
            prefix. If "last", only the last tick is displayed with
            a suffix. If "none", tick prefixes are hidden.
        showticksuffix
            Same as `showtickprefix` but for tick suffixes.
        thickness
            Sets the thickness of the color bar This measure
            excludes the size of the padding, ticks and labels.
        thicknessmode
            Determines whether this color bar's thickness (i.e. the
            measure in the constant color direction) is set in
            units of plot "fraction" or in "pixels". Use
            `thickness` to set the value.
        tick0
            Sets the placement of the first tick on this axis. Use
            with `dtick`. If the axis `type` is "log", then you
            must take the log of your starting tick (e.g. to set
            the starting tick to 100, set the `tick0` to 2) except
            when `dtick`=*L<f>* (see `dtick` for more info). If the
            axis `type` is "date", it should be a date string, like
            date data. If the axis `type` is "category", it should
            be a number, using the scale where each category is
            assigned a serial number from zero in the order it
            appears.
        tickangle
            Sets the angle of the tick labels with respect to the
            horizontal. For example, a `tickangle` of -90 draws the
            tick labels vertically.
        tickcolor
            Sets the tick color.
        tickfont
            Sets the color bar's tick label font
        tickformat
            Sets the tick label formatting rule using d3 formatting
            mini-languages which are very similar to those in
            Python. For numbers, see:
            https://github.com/d3/d3-3.x-api-
            reference/blob/master/Formatting.md#d3_format And for
            dates see: https://github.com/d3/d3-3.x-api-
            reference/blob/master/Time-Formatting.md#format We add
            one item to d3's date formatter: "%{n}f" for fractional
            seconds with n digits. For example, *2016-10-13
            09:15:23.456* with tickformat "%H~%M~%S.%2f" would
            display "09~15~23.46"
        tickformatstops
            A tuple of :class:`plotly.graph_objects.isosurface.colo
            rbar.Tickformatstop` instances or dicts with compatible
            properties
        tickformatstopdefaults
            When used in a template (as layout.template.data.isosur
            face.colorbar.tickformatstopdefaults), sets the default
            property values to use for elements of
            isosurface.colorbar.tickformatstops
        ticklen
            Sets the tick length (in px).
        tickmode
            Sets the tick mode for this axis. If "auto", the number
            of ticks is set via `nticks`. If "linear", the
            placement of the ticks is determined by a starting
            position `tick0` and a tick step `dtick` ("linear" is
            the default value if `tick0` and `dtick` are provided).
            If "array", the placement of the ticks is set via
            `tickvals` and the tick text is `ticktext`. ("array" is
            the default value if `tickvals` is provided).
        tickprefix
            Sets a tick label prefix.
        ticks
            Determines whether ticks are drawn or not. If "", this
            axis' ticks are not drawn. If "outside" ("inside"),
            this axis' are drawn outside (inside) the axis lines.
        ticksuffix
            Sets a tick label suffix.
        ticktext
            Sets the text displayed at the ticks position via
            `tickvals`. Only has an effect if `tickmode` is set to
            "array". Used with `tickvals`.
        ticktextsrc
            Sets the source reference on plot.ly for  ticktext .
        tickvals
            Sets the values at which ticks on this axis appear.
            Only has an effect if `tickmode` is set to "array".
            Used with `ticktext`.
        tickvalssrc
            Sets the source reference on plot.ly for  tickvals .
        tickwidth
            Sets the tick width (in px).
        title
            :class:`plotly.graph_objects.isosurface.colorbar.Title`
            instance or dict with compatible properties
        titlefont
            Deprecated: Please use isosurface.colorbar.title.font
            instead. Sets this color bar's title font. Note that
            the title's font used to be set by the now deprecated
            `titlefont` attribute.
        titleside
            Deprecated: Please use isosurface.colorbar.title.side
            instead. Determines the location of color bar's title
            with respect to the color bar. Note that the title's
            location used to be set by the now deprecated
            `titleside` attribute.
        x
            Sets the x position of the color bar (in plot
            fraction).
        xanchor
            Sets this color bar's horizontal position anchor. This
            anchor binds the `x` position to the "left", "center"
            or "right" of the color bar.
        xpad
            Sets the amount of padding (in px) along the x
            direction.
        y
            Sets the y position of the color bar (in plot
            fraction).
        yanchor
            Sets this color bar's vertical position anchor This
            anchor binds the `y` position to the "top", "middle" or
            "bottom" of the color bar.
        ypad
            Sets the amount of padding (in px) along the y
            direction.
        r   )r   r   r   r   r   :  s     ?zColorBar._prop_descriptions)ru   rJ   )ru   Zside)rv   rw   Nc-       0         s  t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|-
dd| _ddlm}. |. | jd< |. | jd	< |. | jd
< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |. | jd< |.  | jd< |.! | jd< |." | jd< |.# | jd< |.$ | jd< |.% | jd< |.& | jd< |.' | jd < |.( | jd!< |.) | jd"< |.* | jd#< |.+ | jd$< |., | jd%< |.- | jd&< |.. | jd'< |./ | jd(< |.0 | jd)< |.1 | jd*< |.2 | jd+< |.3 | jd,< |.4 | jd-< |.5 | jd.< |.6 | jd/< |.7 | jd0< |
dd}/|dk	r|n|/| d< |
d	d}/|dk	r|n|/| d	< |
d
d}/|dk	r|n|/| d
< |
dd}/|dk	r*|n|/| d< |
dd}/|dk	rL|n|/| d< |
dd}/|dk	rn|n|/| d< |
dd}/|dk	r|n|/| d< |
dd}/|	dk	r|	n|/| d< |
dd}/|
dk	r|
n|/| d< |
dd}/|dk	r|n|/| d< |
dd}/|dk	r|n|/| d< |
dd}/|dk	r:|n|/| d< |
dd}/|dk	r\|n|/| d< |
dd}/|dk	r~|n|/| d< |
dd}/|dk	r|n|/| d< |
dd}/|dk	r|n|/| d< |
dd}/|dk	r|n|/| d< |
dd}/|dk	r|n|/| d< |
dd}/|dk	r(|n|/| d< |
dd}/|dk	rJ|n|/| d< |
dd}/|dk	rl|n|/| d< |
dd}/|dk	r|n|/| d< |
dd}/|dk	r|n|/| d< |
dd}/|dk	r|n|/| d< |
d d}/|dk	r|n|/| d < |
d!d}/|dk	r|n|/| d!< |
d"d}/|dk	r8|n|/| d"< |
d#d}/|dk	rZ|n|/| d#< |
d$d}/|dk	r||n|/| d$< |
d%d}/|dk	r|n|/| d%< |
d&d}/| dk	r| n|/| d&< |
d'd}/|!dk	r|!n|/| d'< |
d(d}/|"dk	r|"n|/| d(< |
d)d}/|#dk	r&|#n|/| d)< |
d*d}/|$dk	rH|$n|/| d*< |
d1d}/|%dk	rj|%n|/}/|/dk	r|/| d1< |
d2d}/|&dk	r|&n|/}/|/dk	r|/| d2< |
d+d}/|'dk	r|'n|/| d+< |
d,d}/|(dk	r|(n|/| d,< |
d-d}/|)dk	r|)n|/| d-< |
d.d}/|*dk	r0|*n|/| d.< |
d/d}/|+dk	rR|+n|/| d/< |
d0d}/|,dk	rt|,n|/| d0< | j8f t|f|- d| _dS )3a$  
        Construct a new ColorBar object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.ColorBar`
        bgcolor
            Sets the color of padded area.
        bordercolor
            Sets the axis line color.
        borderwidth
            Sets the width (in px) or the border enclosing this
            color bar.
        dtick
            Sets the step in-between ticks on this axis. Use with
            `tick0`. Must be a positive number, or special strings
            available to "log" and "date" axes. If the axis `type`
            is "log", then ticks are set every 10^(n*dtick) where n
            is the tick number. For example, to set a tick mark at
            1, 10, 100, 1000, ... set dtick to 1. To set tick marks
            at 1, 100, 10000, ... set dtick to 2. To set tick marks
            at 1, 5, 25, 125, 625, 3125, ... set dtick to
            log_10(5), or 0.69897000433. "log" has several special
            values; "L<f>", where `f` is a positive number, gives
            ticks linearly spaced in value (but not position). For
            example `tick0` = 0.1, `dtick` = "L0.5" will put ticks
            at 0.1, 0.6, 1.1, 1.6 etc. To show powers of 10 plus
            small digits between, use "D1" (all digits) or "D2"
            (only 2 and 5). `tick0` is ignored for "D1" and "D2".
            If the axis `type` is "date", then you must convert the
            time to milliseconds. For example, to set the interval
            between ticks to one day, set `dtick` to 86400000.0.
            "date" also has special values "M<n>" gives ticks
            spaced by a number of months. `n` must be a positive
            integer. To set ticks on the 15th of every third month,
            set `tick0` to "2000-01-15" and `dtick` to "M3". To set
            ticks every 4 years, set `dtick` to "M48"
        exponentformat
            Determines a formatting rule for the tick exponents.
            For example, consider the number 1,000,000,000. If
            "none", it appears as 1,000,000,000. If "e", 1e+9. If
            "E", 1E+9. If "power", 1x10^9 (with 9 in a super
            script). If "SI", 1G. If "B", 1B.
        len
            Sets the length of the color bar This measure excludes
            the padding of both ends. That is, the color bar length
            is this length minus the padding on both ends.
        lenmode
            Determines whether this color bar's length (i.e. the
            measure in the color variation direction) is set in
            units of plot "fraction" or in *pixels. Use `len` to
            set the value.
        nticks
            Specifies the maximum number of ticks for the
            particular axis. The actual number of ticks will be
            chosen automatically to be less than or equal to
            `nticks`. Has an effect only if `tickmode` is set to
            "auto".
        outlinecolor
            Sets the axis line color.
        outlinewidth
            Sets the width (in px) of the axis line.
        separatethousands
            If "true", even 4-digit integers are separated
        showexponent
            If "all", all exponents are shown besides their
            significands. If "first", only the exponent of the
            first tick is shown. If "last", only the exponent of
            the last tick is shown. If "none", no exponents appear.
        showticklabels
            Determines whether or not the tick labels are drawn.
        showtickprefix
            If "all", all tick labels are displayed with a prefix.
            If "first", only the first tick is displayed with a
            prefix. If "last", only the last tick is displayed with
            a suffix. If "none", tick prefixes are hidden.
        showticksuffix
            Same as `showtickprefix` but for tick suffixes.
        thickness
            Sets the thickness of the color bar This measure
            excludes the size of the padding, ticks and labels.
        thicknessmode
            Determines whether this color bar's thickness (i.e. the
            measure in the constant color direction) is set in
            units of plot "fraction" or in "pixels". Use
            `thickness` to set the value.
        tick0
            Sets the placement of the first tick on this axis. Use
            with `dtick`. If the axis `type` is "log", then you
            must take the log of your starting tick (e.g. to set
            the starting tick to 100, set the `tick0` to 2) except
            when `dtick`=*L<f>* (see `dtick` for more info). If the
            axis `type` is "date", it should be a date string, like
            date data. If the axis `type` is "category", it should
            be a number, using the scale where each category is
            assigned a serial number from zero in the order it
            appears.
        tickangle
            Sets the angle of the tick labels with respect to the
            horizontal. For example, a `tickangle` of -90 draws the
            tick labels vertically.
        tickcolor
            Sets the tick color.
        tickfont
            Sets the color bar's tick label font
        tickformat
            Sets the tick label formatting rule using d3 formatting
            mini-languages which are very similar to those in
            Python. For numbers, see:
            https://github.com/d3/d3-3.x-api-
            reference/blob/master/Formatting.md#d3_format And for
            dates see: https://github.com/d3/d3-3.x-api-
            reference/blob/master/Time-Formatting.md#format We add
            one item to d3's date formatter: "%{n}f" for fractional
            seconds with n digits. For example, *2016-10-13
            09:15:23.456* with tickformat "%H~%M~%S.%2f" would
            display "09~15~23.46"
        tickformatstops
            A tuple of :class:`plotly.graph_objects.isosurface.colo
            rbar.Tickformatstop` instances or dicts with compatible
            properties
        tickformatstopdefaults
            When used in a template (as layout.template.data.isosur
            face.colorbar.tickformatstopdefaults), sets the default
            property values to use for elements of
            isosurface.colorbar.tickformatstops
        ticklen
            Sets the tick length (in px).
        tickmode
            Sets the tick mode for this axis. If "auto", the number
            of ticks is set via `nticks`. If "linear", the
            placement of the ticks is determined by a starting
            position `tick0` and a tick step `dtick` ("linear" is
            the default value if `tick0` and `dtick` are provided).
            If "array", the placement of the ticks is set via
            `tickvals` and the tick text is `ticktext`. ("array" is
            the default value if `tickvals` is provided).
        tickprefix
            Sets a tick label prefix.
        ticks
            Determines whether ticks are drawn or not. If "", this
            axis' ticks are not drawn. If "outside" ("inside"),
            this axis' are drawn outside (inside) the axis lines.
        ticksuffix
            Sets a tick label suffix.
        ticktext
            Sets the text displayed at the ticks position via
            `tickvals`. Only has an effect if `tickmode` is set to
            "array". Used with `tickvals`.
        ticktextsrc
            Sets the source reference on plot.ly for  ticktext .
        tickvals
            Sets the values at which ticks on this axis appear.
            Only has an effect if `tickmode` is set to "array".
            Used with `ticktext`.
        tickvalssrc
            Sets the source reference on plot.ly for  tickvals .
        tickwidth
            Sets the tick width (in px).
        title
            :class:`plotly.graph_objects.isosurface.colorbar.Title`
            instance or dict with compatible properties
        titlefont
            Deprecated: Please use isosurface.colorbar.title.font
            instead. Sets this color bar's title font. Note that
            the title's font used to be set by the now deprecated
            `titlefont` attribute.
        titleside
            Deprecated: Please use isosurface.colorbar.title.side
            instead. Determines the location of color bar's title
            with respect to the color bar. Note that the title's
            location used to be set by the now deprecated
            `titleside` attribute.
        x
            Sets the x position of the color bar (in plot
            fraction).
        xanchor
            Sets this color bar's horizontal position anchor. This
            anchor binds the `x` position to the "left", "center"
            or "right" of the color bar.
        xpad
            Sets the amount of padding (in px) along the x
            direction.
        y
            Sets the y position of the color bar (in plot
            fraction).
        yanchor
            Sets this color bar's vertical position anchor This
            anchor binds the `y` position to the "top", "middle" or
            "bottom" of the color bar.
        ypad
            Sets the amount of padding (in px) along the y
            direction.

        Returns
        -------
        ColorBar
        colorbarNzThe first argument to the plotly.graph_objs.isosurface.ColorBar 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.ColorBar`r   Fr   )r|   rF   rH   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   r1   rx   ry   r2   rz   r{   rv   rw   )9r   rT   r   r   r   r   r   r   r   r   r   r   r   r|   rN   r   rO   ZBorderwidthValidatorZDtickValidatorZExponentformatValidatorZLenValidatorZLenmodeValidatorZNticksValidatorZOutlinecolorValidatorZOutlinewidthValidatorZSeparatethousandsValidatorZShowexponentValidatorZShowticklabelsValidatorZShowtickprefixValidatorZShowticksuffixValidatorZThicknessValidatorZThicknessmodeValidatorZTick0ValidatorZTickangleValidatorZTickcolorValidatorZTickfontValidatorZTickformatValidatorZTickformatstopsValidatorZTickformatstopValidatorZTicklenValidatorZTickmodeValidatorZTickprefixValidatorZTicksValidatorZTicksuffixValidatorZTicktextValidatorZTicktextsrcValidatorZTickvalsValidatorZTickvalssrcValidatorZTickwidthValidatorZTitleValidatorr5   ZXanchorValidatorZXpadValidatorr6   ZYanchorValidatorZYpadValidatorr    )0r   r!   rF   rH   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   rv   rw   r1   rx   ry   r2   rz   r{   r"   Z
v_colorbarr#   )r   r   r   r     s"    z



zColorBar.__init__),NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN)5r$   r%   r&   r'   rF   r(   rH   rU   rV   rW   rX   rY   rZ   r[   r\   r]   r^   r_   r`   ra   rb   rc   rd   re   rf   rg   rh   ri   rj   rk   rl   rm   rn   ro   rp   rq   rr   rs   rt   ru   rv   rw   r1   rx   ry   r2   rz   r{   r   r   Z_mapped_propertiesr   r)   r   r   )r   r   rT   k  s  55 55'3!) B                                           rT   c                   s   e Zd Zedd Zejdd Zedd Zejdd Zedd Zejd	d Zed
d Zedd Z	d fdd	Z
  ZS )Capsc             C   s   | d S )ai  
        The 'x' property is an instance of X
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.caps.X`
          - A dict of string/value properties that will be passed
            to the X constructor
    
            Supported dict properties:
                
                fill
                    Sets the fill ratio of the `caps`. The default
                    fill value of the `caps` is 1 meaning that they
                    are entirely shaded. On the other hand Applying
                    a `fill` ratio less than one would allow the
                    creation of openings parallel to the edges.
                show
                    Sets the fill ratio of the `slices`. The
                    default fill value of the x `slices` is 1
                    meaning that they are entirely shaded. On the
                    other hand Applying a `fill` ratio less than
                    one would allow the creation of openings
                    parallel to the edges.

        Returns
        -------
        plotly.graph_objs.isosurface.caps.X
        r1   r   )r   r   r   r   r1     s    zCaps.xc             C   s   || d< d S )Nr1   r   )r   r   r   r   r   r1     s    c             C   s   | d S )ai  
        The 'y' property is an instance of Y
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.caps.Y`
          - A dict of string/value properties that will be passed
            to the Y constructor
    
            Supported dict properties:
                
                fill
                    Sets the fill ratio of the `caps`. The default
                    fill value of the `caps` is 1 meaning that they
                    are entirely shaded. On the other hand Applying
                    a `fill` ratio less than one would allow the
                    creation of openings parallel to the edges.
                show
                    Sets the fill ratio of the `slices`. The
                    default fill value of the y `slices` is 1
                    meaning that they are entirely shaded. On the
                    other hand Applying a `fill` ratio less than
                    one would allow the creation of openings
                    parallel to the edges.

        Returns
        -------
        plotly.graph_objs.isosurface.caps.Y
        r2   r   )r   r   r   r   r2     s    zCaps.yc             C   s   || d< d S )Nr2   r   )r   r   r   r   r   r2     s    c             C   s   | d S )ai  
        The 'z' property is an instance of Z
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.isosurface.caps.Z`
          - A dict of string/value properties that will be passed
            to the Z constructor
    
            Supported dict properties:
                
                fill
                    Sets the fill ratio of the `caps`. The default
                    fill value of the `caps` is 1 meaning that they
                    are entirely shaded. On the other hand Applying
                    a `fill` ratio less than one would allow the
                    creation of openings parallel to the edges.
                show
                    Sets the fill ratio of the `slices`. The
                    default fill value of the z `slices` is 1
                    meaning that they are entirely shaded. On the
                    other hand Applying a `fill` ratio less than
                    one would allow the creation of openings
                    parallel to the edges.

        Returns
        -------
        plotly.graph_objs.isosurface.caps.Z
        r3   r   )r   r   r   r   r3     s    zCaps.zc             C   s   || d< d S )Nr3   r   )r   r   r   r   r   r3     s    c             C   s   dS )Nr   r   )r   r   r   r   r   !  s    zCaps._parent_path_strc             C   s   dS )Na          x
            :class:`plotly.graph_objects.isosurface.caps.X`
            instance or dict with compatible properties
        y
            :class:`plotly.graph_objects.isosurface.caps.Y`
            instance or dict with compatible properties
        z
            :class:`plotly.graph_objects.isosurface.caps.Z`
            instance or dict with compatible properties
        r   )r   r   r   r   r   '  s    zCaps._prop_descriptionsNc                s  t t| d |dkri }n4t|| jr4| }nt|trJt|}nt	d|
dd| _ddlm} | | jd< | | jd	< | | jd
< |
dd}|dk	r|n|| d< |
d	d}|dk	r|n|| d	< |
d
d}|dk	r|n|| d
< | jf t|f| d| _dS )a  
        Construct a new Caps object
        
        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.isosurface.Caps`
        x
            :class:`plotly.graph_objects.isosurface.caps.X`
            instance or dict with compatible properties
        y
            :class:`plotly.graph_objects.isosurface.caps.Y`
            instance or dict with compatible properties
        z
            :class:`plotly.graph_objects.isosurface.caps.Z`
            instance or dict with compatible properties

        Returns
        -------
        Caps
        capsNzThe first argument to the plotly.graph_objs.isosurface.Caps 
constructor must be a dict or 
an instance of :class:`plotly.graph_objs.isosurface.Caps`r   Fr   )r~   r1   r2   r3   )r   r}   r   r   r   r   r   r   r   r   r   r   r   r~   r5   r   r6   r7   r    )r   r!   r1   r2   r3   r"   Zv_capsr#   )r   r   r   r   5  s,    

zCaps.__init__)NNNN)r$   r%   r&   r'   r1   r(   r2   r3   r   r   r   r)   r   r   )r   r   r}     s   r}   r~   r|   rM   r4   )r4   )rM   )r|   )r~   )Zplotly.basedatatypesr   Z_BaseTraceHierarchyTyper   r   r   r*   r.   r0   r8   r:   rC   rP   rT   r}   __all__Zplotly.graph_objs.isosurfacer4   rM   r|   r~   r   r   r   r   <module>   s    c   a   3   \ @              M S