
    -Ph                     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	 	 	 	 	 	 d fd	Z xZS )Textfontscattermapboxzscattermapbox.textfont>   sizecolorstylefamilyweightc                     | d         S )a  
        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: see https://plotly.com/python/css-colors/ for a list

        Returns
        -------
        str
        r    selfs    i/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/scattermapbox/_textfont.pyr   zTextfont.color        G}    c                     || d<   d S )Nr   r   r   vals     r   r   zTextfont.color       Wr   c                     | d         S )a  
        HTML font family - the typeface that will be applied by the web
        browser. The web browser can only apply a font if it is
        available on the system where it runs. Provide multiple font
        families, separated by commas, to indicate the order in which
        to apply fonts if they aren't available.

        The 'family' property is a string and must be specified as:
          - A non-empty string

        Returns
        -------
        str
        r
   r   r   s    r   r
   zTextfont.family"   s      H~r   c                     || d<   d S )Nr
   r   r   s     r   r
   zTextfont.family4       Xr   c                     | d         S )z
        The 'size' property is a number and may be specified as:
          - An int or float in the interval [1, inf]

        Returns
        -------
        int|float
        r   r   r   s    r   r   zTextfont.size8   s     F|r   c                     || d<   d S )Nr   r   r   s     r   r   zTextfont.sizeD   s    Vr   c                     | d         S )a=  
        Sets whether a font should be styled with a normal or italic
        face from its family.

        The 'style' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['normal', 'italic']

        Returns
        -------
        Any
        r	   r   r   s    r   r	   zTextfont.styleH   r   r   c                     || d<   d S )Nr	   r   r   s     r   r	   zTextfont.styleX   r   r   c                     | d         S )aM  
        Sets the weight (or boldness) of the font.

        The 'weight' property is a integer and may be specified as:
          - An int (or float that will be cast to an int)
            in the interval [1, 1000]
            OR exactly one of ['normal', 'bold'] (e.g. 'bold')

        Returns
        -------
        int
        r   r   r   s    r   r   zTextfont.weight\   s     H~r   c                     || d<   d S )Nr   r   r   s     r   r   zTextfont.weightl   r   r   c                     dS )NaW          color

        family
            HTML font family - the typeface that will be applied by
            the web browser. The web browser can only apply a font
            if it is available on the system where it runs. Provide
            multiple font families, separated by commas, to
            indicate the order in which to apply fonts if they
            aren't available.
        size

        style
            Sets whether a font should be styled with a normal or
            italic face from its family.
        weight
            Sets the weight (or boldness) of the font.
        r   r   s    r   _prop_descriptionszTextfont._prop_descriptionsp   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||            | j        di t          |fi | d| _        dS )a0  
        Construct a new Textfont object

        Sets the icon text font (color=mapbox.layer.paint.text-color,
        size=mapbox.layer.layout.text-size). Has an effect only when
        `type` is set to "symbol".

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of
            :class:`plotly.graph_objs.scattermapbox.Textfont`
        color

        family
            HTML font family - the typeface that will be applied by
            the web browser. The web browser can only apply a font
            if it is available on the system where it runs. Provide
            multiple font families, separated by commas, to
            indicate the order in which to apply fonts if they
            aren't available.
        size

        style
            Sets whether a font should be styled with a normal or
            italic face from its family.
        weight
            Sets the weight (or boldness) of the font.

        Returns
        -------
        Textfont
        textfont_parentNzThe first argument to the plotly.graph_objs.scattermapbox.Textfont
constructor must be a dict or
an instance of :class:`plotly.graph_objs.scattermapbox.Textfont`skip_invalidF	_validateTr   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   kwargsr*   s	           r   r(   zTextfont.__init__   s   X 	$$$!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CCD   $ZZ>>K667C///8S&11163---7C///8S&11133tC22622333"r   )NNNNNN)__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr
   r   r	   r   r!   r(   __classcell__)r*   s   @r   r   r      s       &(IAAAL  X \  \   X" ]  ] 	 	 X	 
[  [   X \  \   X ]  ]   X, H# H# H# H# H# H# H# H# H# H#r   r   )plotly.basedatatypesr   _BaseTraceHierarchyTyper.   r-   r   r   r   r   <module>rA      se    S R R R R R    E# E# E# E# E#& E# E# E# E# E#r   