B
    >c5                 @   sl  d dl ZG dd dejjZd dl ZG dd dejjZd dl ZG dd dejjZd dl ZG dd	 d	ejj	Z
d dl ZG d
d dejjZd dl ZG dd dejjZd dl ZG dd dejjZd dl ZG dd dejj	Zd dl ZG dd dejjZd dl ZG dd dejjZd dl ZG dd dejjZd dl ZG dd dejj	Zd dl ZG dd dejjZd dl ZG dd dejjZd dl ZG dd dejjZd dl ZG d d! d!ejj	Zd dl ZG d"d# d#ejjZd dl ZG d$d% d%ejjZd dl ZG d&d' d'ejj	Zd dl ZG d(d) d)ejjZd dl ZG d*d+ d+ejj	Z d dl ZG d,d- d-ejjZ!dS ).    Nc                   s   e Zd Zd fdd	Z  ZS )VisibleValidatorvisibleareac                sD   t t| jf |||dd|dd|ddddgd	| d S )
N	edit_typecalcroleinfovaluesTFZ
legendonly)plotly_nameparent_namer   r   r	   )superr   __init__pop)selfr
   r   kwargs)	__class__ P/var/www/cleansys/lib/python3.7/site-packages/plotly/validators/area/__init__.pyr      s    

zVisibleValidator.__init__)r   r   )__name__
__module____qualname__r   __classcell__r   r   )r   r   r      s   r   c                   s   e Zd Zd fdd	Z  ZS )UirevisionValidator
uirevisionr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   noner   r   )r
   r   r   r   )r   r   r   r   )r   r
   r   r   )r   r   r   r      s    
zUirevisionValidator.__init__)r   r   )r   r   r   r   r   r   r   )r   r   r      s   r   c                   s   e Zd Zd fdd	Z  ZS )UidValidatoruidr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   plotr   r   )r
   r   r   r   )r   r   r   r   )r   r
   r   r   )r   r   r   r   "   s    
zUidValidator.__init__)r   r   )r   r   r   r   r   r   r   )r   r   r   !   s   r   c                   s   e Zd Zd fdd	Z  ZS )TsrcValidatortsrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r
   r   r   r   )r   r   r   r   )r   r
   r   r   )r   r   r   r   0   s    
zTsrcValidator.__init__)r   r   )r   r   r   r   r   r   r   )r   r   r   /   s   r   c                   s   e Zd Zd fdd	Z  ZS )
TValidatortr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   data)r
   r   r   r   )r   r    r   r   )r   r
   r   r   )r   r   r   r   >   s    
zTValidator.__init__)r!   r   )r   r   r   r   r   r   r   )r   r   r    =   s   r    c                   s   e Zd Zd fdd	Z  ZS )StreamValidatorstreamr   c          	      s4   t t| jf |||dd|ddd| d S )Ndata_class_strZStream	data_docsa  
            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#   r   r   )r   r
   r   r   )r   r   r   r   L   s    
zStreamValidator.__init__)r$   r   )r   r   r   r   r   r   r   )r   r   r#   K   s   r#   c                   s   e Zd Zd fdd	Z  ZS )ShowlegendValidator
showlegendr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   styler   r   )r
   r   r   r   )r   r'   r   r   )r   r
   r   r   )r   r   r   r   g   s    
zShowlegendValidator.__init__)r(   r   )r   r   r   r   r   r   r   )r   r   r'   f   s   r'   c                   s   e Zd Zd fdd	Z  ZS )RsrcValidatorrsrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r
   r   r   r   )r   r*   r   r   )r   r
   r   r   )r   r   r   r   u   s    
zRsrcValidator.__init__)r+   r   )r   r   r   r   r   r   r   )r   r   r*   t   s   r*   c                   s   e Zd Zd fdd	Z  ZS )
RValidatorrr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r"   )r
   r   r   r   )r   r,   r   r   )r   r
   r   r   )r   r   r   r      s    
zRValidator.__init__)r-   r   )r   r   r   r   r   r   r   )r   r   r,      s   r,   c                   s   e Zd Zd fdd	Z  ZS )OpacityValidatoropacityr   c                sH   t t| jf |||dd|dd|dd|ddd| d S )	Nr   r)   max   minr   r   )r
   r   r   r0   r2   r   )r   r.   r   r   )r   r
   r   r   )r   r   r   r      s    


zOpacityValidator.__init__)r/   r   )r   r   r   r   r   r   r   )r   r   r.      s   r.   c                   s   e Zd Zd fdd	Z  ZS )NameValidatornamer   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r)   r   r   )r
   r   r   r   )r   r3   r   r   )r   r
   r   r   )r   r   r   r      s    
zNameValidator.__init__)r4   r   )r   r   r   r   r   r   r   )r   r   r3      s   r3   c                   s   e Zd Zd fdd	Z  ZS )MetasrcValidatormetasrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r
   r   r   r   )r   r5   r   r   )r   r
   r   r   )r   r   r   r      s    
zMetasrcValidator.__init__)r6   r   )r   r   r   r   r   r   r   )r   r   r5      s   r5   c                   s   e Zd Zd fdd	Z  ZS )MetaValidatormetar   c          
      s>   t t| jf |||dd|dd|ddd| d S )Narray_okTr   r   r   r   )r
   r   r9   r   r   )r   r7   r   r   )r   r
   r   r   )r   r   r   r      s    

zMetaValidator.__init__)r8   r   )r   r   r   r   r   r   r   )r   r   r7      s   r7   c                   s   e Zd Zd fdd	Z  ZS )MarkerValidatormarkerr   c          	      s4   t t| jf |||dd|ddd| d S )Nr%   Markerr&   aF  
            color
                Area traces are deprecated! Please switch to
                the "barpolar" trace type. Sets themarkercolor.
                It accepts either a specific color or an array
                of numbers that are mapped to the colorscale
                relative to the max and min values of the array
                or relative to `marker.cmin` and `marker.cmax`
                if set.
            colorsrc
                Sets the source reference on plot.ly for  color
                .
            opacity
                Area traces are deprecated! Please switch to
                the "barpolar" trace type. Sets the marker
                opacity.
            opacitysrc
                Sets the source reference on plot.ly for
                opacity .
            size
                Area traces are deprecated! Please switch to
                the "barpolar" trace type. Sets the marker size
                (in px).
            sizesrc
                Sets the source reference on plot.ly for  size
                .
            symbol
                Area traces are deprecated! Please switch to
                the "barpolar" trace type. Sets the marker
                symbol type. Adding 100 is equivalent to
                appending "-open" to a symbol name. Adding 200
                is equivalent to appending "-dot" to a symbol
                name. Adding 300 is equivalent to appending
                "-open-dot" or "dot-open" to a symbol name.
            symbolsrc
                Sets the source reference on plot.ly for
                symbol .
)r
   r   r%   r&   )r   r:   r   r   )r   r
   r   r   )r   r   r   r      s    
&zMarkerValidator.__init__)r;   r   )r   r   r   r   r   r   r   )r   r   r:      s   r:   c                   s   e Zd Zd fdd	Z  ZS )LegendgroupValidatorlegendgroupr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r)   r   r   )r
   r   r   r   )r   r=   r   r   )r   r
   r   r   )r   r   r   r     s    
zLegendgroupValidator.__init__)r>   r   )r   r   r   r   r   r   r   )r   r   r=     s   r=   c                   s   e Zd Zd fdd	Z  ZS )IdssrcValidatoridssrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r
   r   r   r   )r   r?   r   r   )r   r
   r   r   )r   r   r   r     s    
zIdssrcValidator.__init__)r@   r   )r   r   r   r   r   r   r   )r   r   r?     s   r?   c                   s   e Zd Zd fdd	Z  ZS )IdsValidatoridsr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r"   )r
   r   r   r   )r   rA   r   r   )r   r
   r   r   )r   r   r   r     s    
zIdsValidator.__init__)rB   r   )r   r   r   r   r   r   r   )r   r   rA     s   rA   c                   s   e Zd Zd fdd	Z  ZS )HoverlabelValidator
hoverlabelr   c          	      s4   t t| jf |||dd|ddd| d S )Nr%   Z
Hoverlabelr&   a  
            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   rC   r   r   )r   r
   r   r   )r   r   r   r   ,  s    
%zHoverlabelValidator.__init__)rD   r   )r   r   r   r   r   r   r   )r   r   rC   +  s   rC   c                   s   e Zd Zd fdd	Z  ZS )HoverinfosrcValidatorhoverinfosrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r
   r   r   r   )r   rE   r   r   )r   r
   r   r   )r   r   r   r   a  s    
zHoverinfosrcValidator.__init__)rF   r   )r   r   r   r   r   r   r   )r   r   rE   `  s   rE   c                   s   e Zd Zd fdd	Z  ZS )HoverinfoValidator	hoverinfor   c                sb   t t| jf |||dd|dd|ddddg|dd	d
dddg|ddd| d S )Nr9   Tr   r   extrasallskipflagsxyztextr4   r   r   )r
   r   r9   r   rI   rL   r   )r   rG   r   r   )r   r
   r   r   )r   r   r   r   o  s    

zHoverinfoValidator.__init__)rH   r   )r   r   r   r   r   r   r   )r   r   rG   n  s   rG   c                   s   e Zd Zd fdd	Z  ZS )CustomdatasrcValidatorcustomdatasrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r
   r   r   r   )r   rQ   r   r   )r   r
   r   r   )r   r   r   r     s    
zCustomdatasrcValidator.__init__)rR   r   )r   r   r   r   r   r   r   )r   r   rQ     s   rQ   c                   s   e Zd Zd fdd	Z  ZS )CustomdataValidator
customdatar   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r"   )r
   r   r   r   )r   rS   r   r   )r   r
   r   r   )r   r   r   r     s    
zCustomdataValidator.__init__)rT   r   )r   r   r   r   r   r   r   )r   r   rS     s   rS   )"Z_plotly_utils.basevalidatorsZ_plotly_utilsZbasevalidatorsZEnumeratedValidatorr   ZAnyValidatorr   ZStringValidatorr   ZSrcValidatorr   ZDataArrayValidatorr    ZCompoundValidatorr#   ZBooleanValidatorr'   r*   r,   ZNumberValidatorr.   r3   r5   r7   r:   r=   r?   rA   rC   rE   ZFlaglistValidatorrG   rQ   rS   r   r   r   r   <module>   sV   32