
    6Dh8#                     .    S SK Jr  S SKr " S S\5      rg)    )BaseTraceHierarchyTypeNc                      ^  \ rS rSrSrSr1 Skr\S 5       r\R                  S 5       r\S 5       r
\
R                  S 5       r
\S	 5       r\R                  S
 5       r\S 5       rSU 4S jjrSrU =r$ )YBins   	histogramzhistogram.ybins>   endsizestartc                     U S   $ )a  
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.

The 'end' property accepts values of any type

Returns
-------
Any
r    selfs    T/var/www/html/env/lib/python3.13/site-packages/plotly/graph_objs/histogram/_ybins.pyr   	YBins.end   s      E{    c                     XS'   g )Nr   r   r   vals     r   r   r       s	    Ur   c                     U S   $ )a  
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.

The 'size' property accepts values of any type

Returns
-------
Any
r	   r   r   s    r   r	   
YBins.size$   s    , F|r   c                     XS'   g )Nr	   r   r   s     r   r	   r   <   s	    Vr   c                     U S   $ )aU  
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.

The 'start' property accepts values of any type

Returns
-------
Any
r
   r   r   s    r   r
   YBins.start@   s    . G}r   c                     XS'   g )Nr
   r   r   s     r   r
   r   Y   s	    Wr   c                     g)Na          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   s    r   _prop_descriptionsYBins._prop_descriptions]   s    &r   c           	      $  > [         TU ]  S5        SU;   a  US   U l        gUc  0 nOb[        XR                  5      (       a  UR                  5       nO7[        U[        5      (       a  [        R                  " U5      nO[        S5      eUR                  SS5      U l        UR                  SS5      U l        U R                  S	X5        U R                  S
X5        U R                  SX5        U R                  " S0 [        U40 UD6D6  SU l        g)aY  
Construct a new YBins object

Parameters
----------
arg
    dict of properties compatible with this constructor or
    an instance of
    :class:`plotly.graph_objs.histogram.YBins`
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.

Returns
-------
YBins
ybins_parentNzThe first argument to the plotly.graph_objs.histogram.YBins
constructor must be a dict or
an instance of :class:`plotly.graph_objs.histogram.YBins`skip_invalidF	_validateTr   r	   r
   r   )super__init__r    
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr"   _set_property_process_kwargs)r   argr   r	   r
   kwargsr&   s         r   r$   YBins.__init__   s    h 	!!),DL;C^^,,$$&CT""**S/C=  $ZZ>K65#+63-7C/3tC2623"r   )r    r-   r"   )NNNN)__name__
__module____qualname____firstlineno___parent_path_str	_path_str_valid_propspropertyr   setterr	   r
   r   r$   __static_attributes____classcell__)r&   s   @r   r   r      s    "!I+L " 	ZZ   . 
[[   0 \\  ' 'RN# N#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper*   r)   r   r   r   r   <module>r@      s    S M## M#r   