
    -Ph4                     6    d dl mZ d dlZ G d de          ZdS )    )BaseTraceHierarchyTypeNc                       e Zd ZdZdZh dZed             Zej        d             Zed             Z	e	j        d             Z	ed             Z
e
j        d	             Z
ed
             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Zej        d             Zed             Z	 	 	 	 	 	 	 	 	 	 	 	 	 d fd	Z xZS ) Fillpatternscatterzscatter.fillpattern>   sizeshapebgcolorfgcolorsizesrcfillmodeshapesrcsolidity	fgopacity
bgcolorsrc
fgcolorsrcsoliditysrcc                     | d         S )a  
        When there is no colorscale sets the color of background
        pattern fill. Defaults to a `marker.color` background when
        `fillmode` is "overlay". Otherwise, defaults to a transparent
        background.

        The 'bgcolor' property is a color and may be specified as:
          - A hex string (e.g. '#ff0000')
          - An rgb/rgba string (e.g. 'rgb(255,0,0)')
          - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
          - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
          - A named CSS color: see https://plotly.com/python/css-colors/ for a list
          - A list or array of any of the above

        Returns
        -------
        str|numpy.ndarray
        r	    selfs    f/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/scatter/_fillpattern.pyr	   zFillpattern.bgcolor       ( I    c                     || d<   d S )Nr	   r   r   vals     r   r	   zFillpattern.bgcolor1       Yr   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `bgcolor`.

        The 'bgcolorsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zFillpattern.bgcolorsrc5        L!!r   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.bgcolorsrcC        \r   c                     | d         S )a  
        When there is no colorscale sets the color of foreground
        pattern fill. Defaults to a `marker.color` background when
        `fillmode` is "replace". Otherwise, defaults to dark grey or
        white to increase contrast with the `bgcolor`.

        The 'fgcolor' property is a color and may be specified as:
          - A hex string (e.g. '#ff0000')
          - An rgb/rgba string (e.g. 'rgb(255,0,0)')
          - An hsl/hsla string (e.g. 'hsl(0,100%,50%)')
          - An hsv/hsva string (e.g. 'hsv(0,100%,100%)')
          - A named CSS color: see https://plotly.com/python/css-colors/ for a list
          - A list or array of any of the above

        Returns
        -------
        str|numpy.ndarray
        r
   r   r   s    r   r
   zFillpattern.fgcolorG   r   r   c                     || d<   d S )Nr
   r   r   s     r   r
   zFillpattern.fgcolor]   r   r   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `fgcolor`.

        The 'fgcolorsrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zFillpattern.fgcolorsrca   r   r   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.fgcolorsrco   r!   r   c                     | d         S )aA  
        Sets the opacity of the foreground pattern fill. Defaults to a
        0.5 when `fillmode` is "overlay". Otherwise, defaults to 1.

        The 'fgopacity' property is a number and may be specified as:
          - An int or float in the interval [0, 1]

        Returns
        -------
        int|float
        r   r   r   s    r   r   zFillpattern.fgopacitys   s     K  r   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.fgopacity   s    [r   c                     | d         S )aJ  
        Determines whether `marker.color` should be used as a default
        to `bgcolor` or a `fgcolor`.

        The 'fillmode' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['replace', 'overlay']

        Returns
        -------
        Any
        r   r   r   s    r   r   zFillpattern.fillmode   s     Jr   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.fillmode       Zr   c                     | d         S )a  
        Sets the shape of the pattern fill. By default, no pattern is
        used for filling the area.

        The 'shape' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['', '/', '\', 'x', '-', '|', '+', '.']
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        Any|numpy.ndarray
        r   r   r   s    r   r   zFillpattern.shape   s     G}r   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.shape   s    Wr   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `shape`.

        The 'shapesrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zFillpattern.shapesrc   s     Jr   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.shapesrc   r*   r   c                     | d         S )a  
        Sets the size of unit squares of the pattern fill in pixels,
        which corresponds to the interval of repetition of the pattern.

        The 'size' property is a number and may be specified as:
          - An int or float in the interval [0, inf]
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        int|float|numpy.ndarray
        r   r   r   s    r   r   zFillpattern.size   s     F|r   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.size   s    Vr   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `size`.

        The 'sizesrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zFillpattern.sizesrc   s     Ir   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.sizesrc   r   r   c                     | d         S )a  
        Sets the solidity of the pattern fill. Solidity is roughly the
        fraction of the area filled by the pattern. Solidity of 0 shows
        only the background color without pattern and solidty of 1
        shows only the foreground color without pattern.

        The 'solidity' property is a number and may be specified as:
          - An int or float in the interval [0, 1]
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        int|float|numpy.ndarray
        r   r   r   s    r   r   zFillpattern.solidity   s      Jr   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.solidity   r*   r   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `solidity`.

        The 'soliditysrc' property must be specified as a string or
        as a plotly.grid_objs.Column object

        Returns
        -------
        str
        r   r   r   s    r   r   zFillpattern.soliditysrc   s     M""r   c                     || d<   d S )Nr   r   r   s     r   r   zFillpattern.soliditysrc  s    !]r   c                     dS )Na          bgcolor
            When there is no colorscale sets the color of
            background pattern fill. Defaults to a `marker.color`
            background when `fillmode` is "overlay". Otherwise,
            defaults to a transparent background.
        bgcolorsrc
            Sets the source reference on Chart Studio Cloud for
            `bgcolor`.
        fgcolor
            When there is no colorscale sets the color of
            foreground pattern fill. Defaults to a `marker.color`
            background when `fillmode` is "replace". Otherwise,
            defaults to dark grey or white to increase contrast
            with the `bgcolor`.
        fgcolorsrc
            Sets the source reference on Chart Studio Cloud for
            `fgcolor`.
        fgopacity
            Sets the opacity of the foreground pattern fill.
            Defaults to a 0.5 when `fillmode` is "overlay".
            Otherwise, defaults to 1.
        fillmode
            Determines whether `marker.color` should be used as a
            default to `bgcolor` or a `fgcolor`.
        shape
            Sets the shape of the pattern fill. By default, no
            pattern is used for filling the area.
        shapesrc
            Sets the source reference on Chart Studio Cloud for
            `shape`.
        size
            Sets the size of unit squares of the pattern fill in
            pixels, which corresponds to the interval of repetition
            of the pattern.
        sizesrc
            Sets the source reference on Chart Studio Cloud for
            `size`.
        solidity
            Sets the solidity of the pattern fill. Solidity is
            roughly the fraction of the area filled by the pattern.
            Solidity of 0 shows only the background color without
            pattern and solidty of 1 shows only the foreground
            color without pattern.
        soliditysrc
            Sets the source reference on Chart Studio Cloud for
            `solidity`.
        r   r   s    r   _prop_descriptionszFillpattern._prop_descriptions  s    / /r   Nc           	         t                                          d           d|v r|d         | _        dS |i }nct          || j                  r|                                }n9t          |t                    rt          j        |          }nt          d          |
                    dd          | _        |
                    dd          | _        |                     d	||           |                     d
||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||	           |                     d||
           |                     d||           |                     d||           |                     d||            | j        di t          |fi | d| _        dS )a0	  
        Construct a new Fillpattern object

        Sets the pattern within the marker.

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.scatter.Fillpattern`
        bgcolor
            When there is no colorscale sets the color of
            background pattern fill. Defaults to a `marker.color`
            background when `fillmode` is "overlay". Otherwise,
            defaults to a transparent background.
        bgcolorsrc
            Sets the source reference on Chart Studio Cloud for
            `bgcolor`.
        fgcolor
            When there is no colorscale sets the color of
            foreground pattern fill. Defaults to a `marker.color`
            background when `fillmode` is "replace". Otherwise,
            defaults to dark grey or white to increase contrast
            with the `bgcolor`.
        fgcolorsrc
            Sets the source reference on Chart Studio Cloud for
            `fgcolor`.
        fgopacity
            Sets the opacity of the foreground pattern fill.
            Defaults to a 0.5 when `fillmode` is "overlay".
            Otherwise, defaults to 1.
        fillmode
            Determines whether `marker.color` should be used as a
            default to `bgcolor` or a `fgcolor`.
        shape
            Sets the shape of the pattern fill. By default, no
            pattern is used for filling the area.
        shapesrc
            Sets the source reference on Chart Studio Cloud for
            `shape`.
        size
            Sets the size of unit squares of the pattern fill in
            pixels, which corresponds to the interval of repetition
            of the pattern.
        sizesrc
            Sets the source reference on Chart Studio Cloud for
            `size`.
        solidity
            Sets the solidity of the pattern fill. Solidity is
            roughly the fraction of the area filled by the pattern.
            Solidity of 0 shows only the background color without
            pattern and solidty of 1 shows only the foreground
            color without pattern.
        soliditysrc
            Sets the source reference on Chart Studio Cloud for
            `solidity`.

        Returns
        -------
        Fillpattern
        fillpattern_parentNzThe first argument to the plotly.graph_objs.scatter.Fillpattern
constructor must be a dict or
an instance of :class:`plotly.graph_objs.scatter.Fillpattern`skip_invalidF	_validateTr	   r   r
   r   r   r   r   r   r   r   r   r   r   )super__init__r;   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr=   _set_property_process_kwargs)r   argr	   r   r
   r   r   r   r   r   r   r   r   r   kwargsrA   s                  r   r?   zFillpattern.__init__B  s*   ^ 	'''!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CCA   $ZZ>>K669c7333<j9999c7333<j999;Y777:sH5557C///:sH55563---9c7333:sH555=#{;;;33tC22622333"r   )NNNNNNNNNNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr	   setterr   r
   r   r   r   r   r   r   r   r   r   r8   r?   __classcell__)rA   s   @r   r   r      sP        %I  L   X* ^  ^ " " X" ! ! !   X* ^  ^ " " X" ! ! ! ! ! X!           X  _  _   X  \  \     X  _  _   X 
[  [   X ^  ^     X " _  _ # # X# " " " 0 0 X0h r# r# r# r# r# r# r# r# r# r#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyperE   rD   r   r   r   r   <module>rX      se    S R R R R R    l# l# l# l# l#) l# l# l# l# l#r   