B
    >c                 @   s|  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 dl ZG d.d/ d/ejjZ"d dl ZG d0d1 d1ejj#Z$d dl ZG d2d3 d3ejj#Z%d dl ZG d4d5 d5ejjZ&d dl ZG d6d7 d7ejjZ'd dl ZG d8d9 d9e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@dA dAejjZ,d dl ZG dBdC dCejjZ-d dl ZG dDdE dEejjZ.d dl ZG dFdG dGejjZ/d dl ZG dHdI dIejjZ0d dl ZG dJdK dKejjZ1d dl ZG dLdM dMejjZ2d dl ZG dNdO dOejj3Z4d dl ZG dPdQ dQejjZ5d dl ZG dRdS dSejjZ6d dl ZG dTdU dUejjZ7d dl ZG dVdW dWejjZ8d dl ZG dXdY dYejjZ9d dl ZG dZd[ 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`da daejjZ=d dl ZG dbdc dcejjZ>d dl ZG ddde deejjZ?dS )f    Nc                   s   e Zd Zd fdd	Z  ZS )YsrcValidatorysrc	histogramc          	      s4   t t| jf |||dd|ddd| d S )N	edit_typenoneroleinfo)plotly_nameparent_namer   r   )superr   __init__pop)selfr	   r
   kwargs)	__class__ U/var/www/cleansys/lib/python3.7/site-packages/plotly/validators/histogram/__init__.pyr      s    
zYsrcValidator.__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 )YcalendarValidator	ycalendarr   c                s^   t t| jf |||dd|dd|ddddd	d
dddddddddddgd| d S )Nr   calcr   r   values	gregorianchinesecoptic	discworld	ethiopianhebrewislamicjulianmayan
nanakshahinepalipersianjalalitaiwanthai	ummalqura)r	   r
   r   r   r   )r   r   r   r   )r   r	   r
   r   )r   r   r   r      s0    


zYcalendarValidator.__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 )YBinsValidatorybinsr   c          	      s4   t t| jf |||dd|ddd| d S )Ndata_class_strZYBins	data_docsa	  
            end
                Sets the end value for the y axis bins. The
                last bin may not end exactly at this value, we
                increment the bin edge by `size` from `start`
                until we reach or exceed `end`. Defaults to the
                maximum data value. Like `start`, for dates use
                a date string, and for category data `end` is
                based on the category serial numbers.
            size
                Sets the size of each y axis bin. Default
                behavior: If `nbinsy` is 0 or omitted, we
                choose a nice round bin size such that the
                number of bins is about the same as the typical
                number of samples in each bin. If `nbinsy` is
                provided, we choose a nice round bin size
                giving no more than that many bins. For date
                data, use milliseconds or "M<n>" for months, as
                in `axis.dtick`. For category data, the number
                of categories to bin together (always defaults
                to 1). If multiple non-overlaying histograms
                share a subplot, the first explicit `size` is
                used and all others discarded. If no `size` is
                provided,the sample data from all traces is
                combined to determine `size` as described
                above.
            start
                Sets the starting value for the y axis bins.
                Defaults to the minimum data value, shifted
                down if necessary to make nice round values and
                to remove ambiguous bin edges. For example, if
                most of the data is integers we shift the bin
                edges 0.5 down, so a `size` of 5 would have a
                default `start` of -0.5, so it is clear that
                0-4 are in the first bin, 5-9 in the second,
                but continuous data gets a start of 0 and bins
                [0,5), [5,10) etc. Dates behave similarly, and
                `start` should be a date string. For category
                data, `start` is based on the category serial
                numbers, and defaults to -0.5. If multiple non-
                overlaying histograms share a subplot, the
                first explicit `start` is used exactly and all
                others are shifted down (if necessary) to
                differ from that one by an integer number of
                bins.
)r	   r
   r-   r.   )r   r+   r   r   )r   r	   r
   r   )r   r   r   r   6   s    
.zYBinsValidator.__init__)r,   r   )r   r   r   r   r   r   r   )r   r   r+   5   s   r+   c                   s   e Zd Zd fdd	Z  ZS )YAxisValidatoryaxisr   c          
      s>   t t| jf |||dd|dd|ddd| d S )Ndfltyr   zcalc+clearAxisTypesr   r   )r	   r
   r1   r   r   )r   r/   r   r   )r   r	   r
   r   )r   r   r   r   t   s    

zYAxisValidator.__init__)r0   r   )r   r   r   r   r   r   r   )r   r   r/   s   s   r/   c                   s   e Zd Zd fdd	Z  ZS )
YValidatorr2   r   c          	      s4   t t| jf |||dd|ddd| d S )Nr   zcalc+clearAxisTypesr   data)r	   r
   r   r   )r   r3   r   r   )r   r	   r
   r   )r   r   r   r      s    
zYValidator.__init__)r2   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 )XsrcValidatorxsrcr   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XsrcValidator.__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 )XcalendarValidator	xcalendarr   c                s^   t t| jf |||dd|dd|ddddd	d
dddddddddddgd| d S )Nr   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   r7   r   r   )r   r	   r
   r   )r   r   r   r      s0    


zXcalendarValidator.__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 )XBinsValidatorxbinsr   c          	      s4   t t| jf |||dd|ddd| d S )Nr-   ZXBinsr.   a	  
            end
                Sets the end value for the x axis bins. The
                last bin may not end exactly at this value, we
                increment the bin edge by `size` from `start`
                until we reach or exceed `end`. Defaults to the
                maximum data value. Like `start`, for dates use
                a date string, and for category data `end` is
                based on the category serial numbers.
            size
                Sets the size of each x axis bin. Default
                behavior: If `nbinsx` is 0 or omitted, we
                choose a nice round bin size such that the
                number of bins is about the same as the typical
                number of samples in each bin. If `nbinsx` is
                provided, we choose a nice round bin size
                giving no more than that many bins. For date
                data, use milliseconds or "M<n>" for months, as
                in `axis.dtick`. For category data, the number
                of categories to bin together (always defaults
                to 1). If multiple non-overlaying histograms
                share a subplot, the first explicit `size` is
                used and all others discarded. If no `size` is
                provided,the sample data from all traces is
                combined to determine `size` as described
                above.
            start
                Sets the starting value for the x axis bins.
                Defaults to the minimum data value, shifted
                down if necessary to make nice round values and
                to remove ambiguous bin edges. For example, if
                most of the data is integers we shift the bin
                edges 0.5 down, so a `size` of 5 would have a
                default `start` of -0.5, so it is clear that
                0-4 are in the first bin, 5-9 in the second,
                but continuous data gets a start of 0 and bins
                [0,5), [5,10) etc. Dates behave similarly, and
                `start` should be a date string. For category
                data, `start` is based on the category serial
                numbers, and defaults to -0.5. If multiple non-
                overlaying histograms share a subplot, the
                first explicit `start` is used exactly and all
                others are shifted down (if necessary) to
                differ from that one by an integer number of
                bins.
)r	   r
   r-   r.   )r   r9   r   r   )r   r	   r
   r   )r   r   r   r      s    
.zXBinsValidator.__init__)r:   r   )r   r   r   r   r   r   r   )r   r   r9      s   r9   c                   s   e Zd Zd fdd	Z  ZS )XAxisValidatorxaxisr   c          
      s>   t t| jf |||dd|dd|ddd| d S )Nr1   xr   zcalc+clearAxisTypesr   r   )r	   r
   r1   r   r   )r   r;   r   r   )r   r	   r
   r   )r   r   r   r      s    

zXAxisValidator.__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 )
XValidatorr=   r   c          	      s4   t t| jf |||dd|ddd| d S )Nr   zcalc+clearAxisTypesr   r4   )r	   r
   r   r   )r   r>   r   r   )r   r	   r
   r   )r   r   r   r     s    
zXValidator.__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 )VisibleValidatorvisibler   c                sD   t t| jf |||dd|dd|ddddgd	| d S )
Nr   r   r   r   r   TFZ
legendonly)r	   r
   r   r   r   )r   r?   r   r   )r   r	   r
   r   )r   r   r   r     s    

zVisibleValidator.__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 )UnselectedValidator
unselectedr   c          	      s4   t t| jf |||dd|ddd| d S )Nr-   Z
Unselectedr.   aY  
            marker
                :class:`plotly.graph_objects.histogram.unselect
                ed.Marker` instance or dict with compatible
                properties
            textfont
                :class:`plotly.graph_objects.histogram.unselect
                ed.Textfont` instance or dict with compatible
                properties
)r	   r
   r-   r.   )r   rA   r   r   )r   r	   r
   r   )r   r   r   r   ,  s    

zUnselectedValidator.__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 )UirevisionValidator
uirevisionr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r	   r
   r   r   )r   rC   r   r   )r   r	   r
   r   )r   r   r   r   F  s    
zUirevisionValidator.__init__)rD   r   )r   r   r   r   r   r   r   )r   r   rC   E  s   rC   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   rE   r   r   )r   r	   r
   r   )r   r   r   r   T  s    
zUidValidator.__init__)rF   r   )r   r   r   r   r   r   r   )r   r   rE   S  s   rE   c                   s   e Zd Zd fdd	Z  ZS )TextsrcValidatortextsrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r	   r
   r   r   )r   rH   r   r   )r   r	   r
   r   )r   r   r   r   b  s    
zTextsrcValidator.__init__)rI   r   )r   r   r   r   r   r   r   )r   r   rH   a  s   rH   c                   s   e Zd Zd fdd	Z  ZS )TextValidatortextr   c          
      s>   t t| jf |||dd|dd|ddd| d S )Narray_okTr   r   r   r   )r	   r
   rL   r   r   )r   rJ   r   r   )r   r	   r
   r   )r   r   r   r   p  s    

zTextValidator.__init__)rK   r   )r   r   r   r   r   r   r   )r   r   rJ   o  s   rJ   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 )Nr-   ZStreamr.   a  
            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   rM   r   r   )r   r	   r
   r   )r   r   r   r     s    
zStreamValidator.__init__)rN   r   )r   r   r   r   r   r   r   )r   r   rM   ~  s   rM   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   rO   r   r   )r   r	   r
   r   )r   r   r   r     s    
zShowlegendValidator.__init__)rP   r   )r   r   r   r   r   r   r   )r   r   rO     s   rO   c                   s   e Zd Zd fdd	Z  ZS )SelectedpointsValidatorselectedpointsr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r	   r
   r   r   )r   rR   r   r   )r   r	   r
   r   )r   r   r   r     s    
z SelectedpointsValidator.__init__)rS   r   )r   r   r   r   r   r   r   )r   r   rR     s   rR   c                   s   e Zd Zd fdd	Z  ZS )SelectedValidatorselectedr   c          	      s4   t t| jf |||dd|ddd| d S )Nr-   ZSelectedr.   aU  
            marker
                :class:`plotly.graph_objects.histogram.selected
                .Marker` instance or dict with compatible
                properties
            textfont
                :class:`plotly.graph_objects.histogram.selected
                .Textfont` instance or dict with compatible
                properties
)r	   r
   r-   r.   )r   rT   r   r   )r   r	   r
   r   )r   r   r   r     s    

zSelectedValidator.__init__)rU   r   )r   r   r   r   r   r   r   )r   r   rT     s   rT   c                   s   e Zd Zd fdd	Z  ZS )OrientationValidatororientationr   c                sB   t t| jf |||dd|dd|dddgd| d S )	Nr   zcalc+clearAxisTypesr   r   r   vh)r	   r
   r   r   r   )r   rV   r   r   )r   r	   r
   r   )r   r   r   r     s    

zOrientationValidator.__init__)rW   r   )r   r   r   r   r   r   r   )r   r   rV     s   rV   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   rQ   max   minr   r   )r	   r
   r   r\   r^   r   )r   rZ   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   rZ     s   rZ   c                   s   e Zd Zd fdd	Z  ZS )OffsetgroupValidatoroffsetgroupr   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OffsetgroupValidator.__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 )NbinsyValidatornbinsyr   c          
      s>   t t| jf |||dd|dd|ddd| d S )Nr   r   r^   r   r   rQ   )r	   r
   r   r^   r   )r   ra   r   r   )r   r	   r
   r   )r   r   r   r     s    

zNbinsyValidator.__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 )NbinsxValidatornbinsxr   c          
      s>   t t| jf |||dd|dd|ddd| d S )Nr   r   r^   r   r   rQ   )r	   r
   r   r^   r   )r   rc   r   r   )r   r	   r
   r   )r   r   r   r     s    

zNbinsxValidator.__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 )NameValidatornamer   c          	      s4   t t| jf |||dd|ddd| d S )Nr   rQ   r   r   )r	   r
   r   r   )r   re   r   r   )r   r	   r
   r   )r   r   r   r     s    
zNameValidator.__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 )MetasrcValidatormetasrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r	   r
   r   r   )r   rg   r   r   )r   r	   r
   r   )r   r   r   r   )  s    
zMetasrcValidator.__init__)rh   r   )r   r   r   r   r   r   r   )r   r   rg   (  s   rg   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 )NrL   Tr   rG   r   r   )r	   r
   rL   r   r   )r   ri   r   r   )r   r	   r
   r   )r   r   r   r   7  s    

zMetaValidator.__init__)rj   r   )r   r   r   r   r   r   r   )r   r   ri   6  s   ri   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.   a  
            autocolorscale
                Determines whether the colorscale is a default
                palette (`autocolorscale: true`) or the palette
                determined by `marker.colorscale`. Has an
                effect only if in `marker.color`is set to a
                numerical array. In case `colorscale` is
                unspecified or `autocolorscale` is true, the
                default  palette will be chosen according to
                whether numbers in the `color` array are all
                positive, all negative or mixed.
            cauto
                Determines whether or not the color domain is
                computed with respect to the input data (here
                in `marker.color`) or the bounds set in
                `marker.cmin` and `marker.cmax`  Has an effect
                only if in `marker.color`is set to a numerical
                array. Defaults to `false` when `marker.cmin`
                and `marker.cmax` are set by the user.
            cmax
                Sets the upper bound of the color domain. Has
                an effect only if in `marker.color`is set to a
                numerical array. Value should have the same
                units as in `marker.color` and if set,
                `marker.cmin` must be set as well.
            cmid
                Sets the mid-point of the color domain by
                scaling `marker.cmin` and/or `marker.cmax` to
                be equidistant to this point. Has an effect
                only if in `marker.color`is set to a numerical
                array. Value should have the same units as in
                `marker.color`. Has no effect when
                `marker.cauto` is `false`.
            cmin
                Sets the lower bound of the color domain. Has
                an effect only if in `marker.color`is set to a
                numerical array. Value should have the same
                units as in `marker.color` and if set,
                `marker.cmax` must be set as well.
            color
                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.
            coloraxis
                Sets a reference to a shared color axis.
                References to these shared color axes are
                "coloraxis", "coloraxis2", "coloraxis3", etc.
                Settings for these shared color axes are set in
                the layout, under `layout.coloraxis`,
                `layout.coloraxis2`, etc. Note that multiple
                color scales can be linked to the same color
                axis.
            colorbar
                :class:`plotly.graph_objects.histogram.marker.C
                olorBar` instance or dict with compatible
                properties
            colorscale
                Sets the colorscale. Has an effect only if in
                `marker.color`is set to a numerical array. The
                colorscale must be an array containing arrays
                mapping a normalized value to an rgb, rgba,
                hex, hsl, hsv, or named color string. At
                minimum, a mapping for the lowest (0) and
                highest (1) values are required. For example,
                `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
                To control the bounds of the colorscale in
                color space, use`marker.cmin` and
                `marker.cmax`. Alternatively, `colorscale` may
                be a palette name string of the following list:
                Greys,YlGnBu,Greens,YlOrRd,Bluered,RdBu,Reds,Bl
                ues,Picnic,Rainbow,Portland,Jet,Hot,Blackbody,E
                arth,Electric,Viridis,Cividis.
            colorsrc
                Sets the source reference on plot.ly for  color
                .
            line
                :class:`plotly.graph_objects.histogram.marker.L
                ine` instance or dict with compatible
                properties
            opacity
                Sets the opacity of the bars.
            opacitysrc
                Sets the source reference on plot.ly for
                opacity .
            reversescale
                Reverses the color mapping if true. Has an
                effect only if in `marker.color`is set to a
                numerical array. If true, `marker.cmin` will
                correspond to the last color in the array and
                `marker.cmax` will correspond to the first
                color.
            showscale
                Determines whether or not a colorbar is
                displayed for this trace. Has an effect only if
                in `marker.color`is set to a numerical array.
)r	   r
   r-   r.   )r   rk   r   r   )r   r	   r
   r   )r   r   r   r   F  s    
bzMarkerValidator.__init__)rl   r   )r   r   r   r   r   r   r   )r   r   rk   E  s   rk   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   rQ   r   r   )r	   r
   r   r   )r   rn   r   r   )r   r	   r
   r   )r   r   r   r     s    
zLegendgroupValidator.__init__)ro   r   )r   r   r   r   r   r   r   )r   r   rn     s   rn   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   rp   r   r   )r   r	   r
   r   )r   r   r   r     s    
zIdssrcValidator.__init__)rq   r   )r   r   r   r   r   r   r   )r   r   rp     s   rp   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   r4   )r	   r
   r   r   )r   rr   r   r   )r   r	   r
   r   )r   r   r   r     s    
zIdsValidator.__init__)rs   r   )r   r   r   r   r   r   r   )r   r   rr     s   rr   c                   s   e Zd Zd fdd	Z  ZS )HovertextsrcValidatorhovertextsrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r	   r
   r   r   )r   rt   r   r   )r   r	   r
   r   )r   r   r   r     s    
zHovertextsrcValidator.__init__)ru   r   )r   r   r   r   r   r   r   )r   r   rt     s   rt   c                   s   e Zd Zd fdd	Z  ZS )HovertextValidator	hovertextr   c          
      s>   t t| jf |||dd|dd|ddd| d S )NrL   Tr   rQ   r   r   )r	   r
   rL   r   r   )r   rv   r   r   )r   r	   r
   r   )r   r   r   r     s    

zHovertextValidator.__init__)rw   r   )r   r   r   r   r   r   r   )r   r   rv     s   rv   c                   s   e Zd Zd fdd	Z  ZS )HovertemplatesrcValidatorhovertemplatesrcr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r   )r	   r
   r   r   )r   rx   r   r   )r   r	   r
   r   )r   r   r   r     s    
z"HovertemplatesrcValidator.__init__)ry   r   )r   r   r   r   r   r   r   )r   r   rx     s   rx   c                   s   e Zd Zd fdd	Z  ZS )HovertemplateValidatorhovertemplater   c          
      s>   t t| jf |||dd|dd|ddd| d S )NrL   Tr   r   r   r   )r	   r
   rL   r   r   )r   rz   r   r   )r   r	   r
   r   )r   r   r   r     s    

zHovertemplateValidator.__init__)r{   r   )r   r   r   r   r   r   r   )r   r   rz     s   rz   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   r|   r   r   )r   r	   r
   r   )r   r   r   r     s    
%zHoverlabelValidator.__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 )HoverinfosrcValidatorhoverinfosrcr   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  s    
zHoverinfosrcValidator.__init__)r   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 )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 )NrL   Tr   r   extrasallskipflagsr=   r2   zrK   rf   r   r   )r	   r
   rL   r   r   r   r   )r   r   r   r   )r   r	   r
   r   )r   r   r   r   a  s    

zHoverinfoValidator.__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 )HistnormValidatorhistnormr   c                sH   t t| jf |||dd|dd|ddddd	d
gd| d S )Nr   r   r   rQ   r    percentZprobabilityZdensityzprobability density)r	   r
   r   r   r   )r   r   r   r   )r   r	   r
   r   )r   r   r   r   r  s    

zHistnormValidator.__init__)r   r   )r   r   r   r   r   r   r   )r   r   r   q  s   r   c                   s   e Zd Zd fdd	Z  ZS )HistfuncValidatorhistfuncr   c                sH   t t| jf |||dd|dd|ddddd	d
gd| d S )Nr   r   r   rQ   r   countsumavgr^   r\   )r	   r
   r   r   r   )r   r   r   r   )r   r	   r
   r   )r   r   r   r     s    

zHistfuncValidator.__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 )ErrorYValidatorerror_yr   c          	      s4   t t| jf |||dd|ddd| d S )Nr-   ZErrorYr.   a	  
            array
                Sets the data corresponding the length of each
                error bar. Values are plotted relative to the
                underlying data.
            arrayminus
                Sets the data corresponding the length of each
                error bar in the bottom (left) direction for
                vertical (horizontal) bars Values are plotted
                relative to the underlying data.
            arrayminussrc
                Sets the source reference on plot.ly for
                arrayminus .
            arraysrc
                Sets the source reference on plot.ly for  array
                .
            color
                Sets the stoke color of the error bars.
            symmetric
                Determines whether or not the error bars have
                the same length in both direction (top/bottom
                for vertical bars, left/right for horizontal
                bars.
            thickness
                Sets the thickness (in px) of the error bars.
            traceref

            tracerefminus

            type
                Determines the rule used to generate the error
                bars. If *constant`, the bar lengths are of a
                constant value. Set this constant in `value`.
                If "percent", the bar lengths correspond to a
                percentage of underlying data. Set this
                percentage in `value`. If "sqrt", the bar
                lengths correspond to the sqaure of the
                underlying data. If "data", the bar lengths are
                set with data set `array`.
            value
                Sets the value of either the percentage (if
                `type` is set to "percent") or the constant (if
                `type` is set to "constant") corresponding to
                the lengths of the error bars.
            valueminus
                Sets the value of either the percentage (if
                `type` is set to "percent") or the constant (if
                `type` is set to "constant") corresponding to
                the lengths of the error bars in the bottom
                (left) direction for vertical (horizontal) bars
            visible
                Determines whether or not this set of error
                bars is visible.
            width
                Sets the width (in px) of the cross-bar at both
                ends of the error bars.
)r	   r
   r-   r.   )r   r   r   r   )r   r	   r
   r   )r   r   r   r     s    
9zErrorYValidator.__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 )ErrorXValidatorerror_xr   c          	      s4   t t| jf |||dd|ddd| d S )Nr-   ZErrorXr.   a	  
            array
                Sets the data corresponding the length of each
                error bar. Values are plotted relative to the
                underlying data.
            arrayminus
                Sets the data corresponding the length of each
                error bar in the bottom (left) direction for
                vertical (horizontal) bars Values are plotted
                relative to the underlying data.
            arrayminussrc
                Sets the source reference on plot.ly for
                arrayminus .
            arraysrc
                Sets the source reference on plot.ly for  array
                .
            color
                Sets the stoke color of the error bars.
            copy_ystyle

            symmetric
                Determines whether or not the error bars have
                the same length in both direction (top/bottom
                for vertical bars, left/right for horizontal
                bars.
            thickness
                Sets the thickness (in px) of the error bars.
            traceref

            tracerefminus

            type
                Determines the rule used to generate the error
                bars. If *constant`, the bar lengths are of a
                constant value. Set this constant in `value`.
                If "percent", the bar lengths correspond to a
                percentage of underlying data. Set this
                percentage in `value`. If "sqrt", the bar
                lengths correspond to the sqaure of the
                underlying data. If "data", the bar lengths are
                set with data set `array`.
            value
                Sets the value of either the percentage (if
                `type` is set to "percent") or the constant (if
                `type` is set to "constant") corresponding to
                the lengths of the error bars.
            valueminus
                Sets the value of either the percentage (if
                `type` is set to "percent") or the constant (if
                `type` is set to "constant") corresponding to
                the lengths of the error bars in the bottom
                (left) direction for vertical (horizontal) bars
            visible
                Determines whether or not this set of error
                bars is visible.
            width
                Sets the width (in px) of the cross-bar at both
                ends of the error bars.
)r	   r
   r-   r.   )r   r   r   r   )r   r	   r
   r   )r   r   r   r     s    
;zErrorXValidator.__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 )CustomdatasrcValidatorcustomdatasrcr   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CustomdatasrcValidator.__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 )CustomdataValidator
customdatar   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   r4   )r	   r
   r   r   )r   r   r   r   )r   r	   r
   r   )r   r   r   r   5  s    
zCustomdataValidator.__init__)r   r   )r   r   r   r   r   r   r   )r   r   r   4  s   r   c                   s   e Zd Zd fdd	Z  ZS )CumulativeValidator
cumulativer   c          	      s4   t t| jf |||dd|ddd| d S )Nr-   Z
Cumulativer.   az  
            currentbin
                Only applies if cumulative is enabled. Sets
                whether the current bin is included, excluded,
                or has half of its value included in the
                current cumulative value. "include" is the
                default for compatibility with various other
                tools, however it introduces a half-bin bias to
                the results. "exclude" makes the opposite half-
                bin bias, and "half" removes it.
            direction
                Only applies if cumulative is enabled. If
                "increasing" (default) we sum all prior bins,
                so the result increases from left to right. If
                "decreasing" we sum later bins so the result
                decreases from left to right.
            enabled
                If true, display the cumulative distribution by
                summing the binned values. Use the `direction`
                and `centralbin` attributes to tune the
                accumulation method. Note: in this mode, the
                "density" `histnorm` settings behave the same
                as their equivalents without "density": "" and
                "density" both rise to the number of data
                points, and "probability" and *probability
                density* both rise to the number of sample
                points.
)r	   r
   r-   r.   )r   r   r   r   )r   r	   r
   r   )r   r   r   r   C  s    
zCumulativeValidator.__init__)r   r   )r   r   r   r   r   r   r   )r   r   r   B  s   r   c                   s   e Zd Zd fdd	Z  ZS )BingroupValidatorbingroupr   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   o  s    
zBingroupValidator.__init__)r   r   )r   r   r   r   r   r   r   )r   r   r   n  s   r   c                   s   e Zd Zd fdd	Z  ZS )AutobinyValidatorautobinyr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   rQ   )r	   r
   r   r   )r   r   r   r   )r   r	   r
   r   )r   r   r   r   }  s    
zAutobinyValidator.__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 )AutobinxValidatorautobinxr   c          	      s4   t t| jf |||dd|ddd| d S )Nr   r   r   rQ   )r	   r
   r   r   )r   r   r   r   )r   r	   r
   r   )r   r   r   r     s    
zAutobinxValidator.__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 )AlignmentgroupValidatoralignmentgroupr   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 AlignmentgroupValidator.__init__)r   r   )r   r   r   r   r   r   r   )r   r   r     s   r   )@Z_plotly_utils.basevalidatorsZ_plotly_utilsZbasevalidatorsZSrcValidatorr   ZEnumeratedValidatorr   ZCompoundValidatorr+   ZSubplotidValidatorr/   ZDataArrayValidatorr3   r5   r7   r9   r;   r>   r?   rA   ZAnyValidatorrC   ZStringValidatorrE   rH   rJ   rM   ZBooleanValidatorrO   rR   rT   rV   ZNumberValidatorrZ   r_   ZIntegerValidatorra   rc   re   rg   ri   rk   rn   rp   rr   rt   rv   rx   rz   r|   r~   ZFlaglistValidatorr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   <module>   s    ; ;o2FH)