
    [6g1j                    6    d dl mZ d dlZ G d de          ZdS )    )BaseTraceTypeNc                   p    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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d0             Zej        d1             Zed2             Zej        d3             Zed4             Z e j        d5             Z ed6             Z!e!j        d7             Z!ed8             Z"e"j        d9             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        dA             Z&edB             Z'e'j        dC             Z'edD             Z(e(j        dE             Z(edF             Z)e)j        dG             Z)edH             Z*e*j        dI             Z*edJ             Z+e+j        dK             Z+edL             Z,e,j        dM             Z,edN             Z-e-j        dO             Z-edP             Z.e.j        dQ             Z.edR             Z/e/j        dS             Z/edT             Z0e0j        dU             Z0edV             Z1e1j        dW             Z1edX             Z2e2j        dY             Z2edZ             Z3e3j        d[             Z3ed\             Z4e4j        d]             Z4ed^             Z5e5j        d_             Z5ed`             Z6e6j        da             Z6edb             Z7e7j        dc             Z7edd             Z8e8j        de             Z8edf             Z9e9j        dg             Z9edh             Z:e:j        di             Z:edj             Z;e;j        dk             Z;edl             Z<e<j        dm             Z<edn             Z=e=j        do             Z=edp             Z>e>j        dq             Z>edr             Z?eds             Z@dtdudvZA	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dy fdx	ZB xZCS )zPie pie>8   idsuidholemetanamepullsorttexttypetitledlabeldomainidssrclabel0labelslegendmarkerstreamvaluesmetasrcopacitypullsrctextsrcvisiblerotationtextfonttextinfo	direction	hoverinfo	hovertext	labelssrc	titlefont	valuessrc
automargin
customdata
hoverlabel
legendrank
scalegroup
showlegend
uirevisionlegendgrouplegendwidthhoverinfosrchovertextsrctextpositiontexttemplatecustomdatasrchovertemplatetitlepositioninsidetextfontoutsidetextfonttextpositionsrctexttemplatesrchovertemplatesrclegendgrouptitleinsidetextorientationc                     | d         S )z
        Determines whether outside text labels can push the margins.

        The 'automargin' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r)    selfs    U/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/plotly/graph_objs/_pie.pyr)   zPie.automarginH   s     L!!    c                     || d<   d S )Nr)   rA   rC   vals     rD   r)   zPie.automarginV        \rE   c                     | d         S )a  
        Assigns extra data each datum. This may be useful when
        listening to hover, click and selection events. Note that,
        "scatter" traces also appends customdata items in the markers
        DOM elements

        The 'customdata' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r*   rA   rB   s    rD   r*   zPie.customdata\        L!!rE   c                     || d<   d S )Nr*   rA   rG   s     rD   r*   zPie.customdatam   rI   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `customdata`.

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

        Returns
        -------
        str
        r6   rA   rB   s    rD   r6   zPie.customdatasrcs   s     O$$rE   c                     || d<   d S )Nr6   rA   rG   s     rD   r6   zPie.customdatasrc        #_rE   c                     | d         S )aC  
        Specifies the direction at which succeeding sectors follow one
        another.

        The 'direction' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['clockwise', 'counterclockwise']

        Returns
        -------
        Any
        r#   rA   rB   s    rD   r#   zPie.direction   s     K  rE   c                     || d<   d S )Nr#   rA   rG   s     rD   r#   zPie.direction       [rE   c                     | d         S )z
        Sets the label step. See `label0` for more info.

        The 'dlabel' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r   rA   rB   s    rD   r   z
Pie.dlabel        H~rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z
Pie.dlabel       XrE   c                     | d         S )a  
        The 'domain' property is an instance of Domain
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.Domain`
          - A dict of string/value properties that will be passed
            to the Domain constructor

            Supported dict properties:

                column
                    If there is a layout grid, use the domain for
                    this column in the grid for this pie trace .
                row
                    If there is a layout grid, use the domain for
                    this row in the grid for this pie trace .
                x
                    Sets the horizontal domain of this pie trace
                    (in plot fraction).
                y
                    Sets the vertical domain of this pie trace (in
                    plot fraction).

        Returns
        -------
        plotly.graph_objs.pie.Domain
        r   rA   rB   s    rD   r   z
Pie.domain       8 H~rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z
Pie.domain   rV   rE   c                     | d         S )a  
        Sets the fraction of the radius to cut out of the pie. Use this
        to make a donut chart.

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

        Returns
        -------
        int|float
        r
   rA   rB   s    rD   r
   zPie.hole        F|rE   c                     || d<   d S )Nr
   rA   rG   s     rD   r
   zPie.hole       VrE   c                     | d         S )aq  
        Determines which trace information appear on hover. If `none`
        or `skip` are set, no information is displayed upon hovering.
        But, if `none` is set, click and hover events are still fired.

        The 'hoverinfo' property is a flaglist and may be specified
        as a string containing:
          - Any combination of ['label', 'text', 'value', 'percent', 'name'] joined with '+' characters
            (e.g. 'label+text')
            OR exactly one of ['all', 'none', 'skip'] (e.g. 'skip')
          - A list or array of the above

        Returns
        -------
        Any|numpy.ndarray
        r$   rA   rB   s    rD   r$   zPie.hoverinfo       $ K  rE   c                     || d<   d S )Nr$   rA   rG   s     rD   r$   zPie.hoverinfo   rR   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `hoverinfo`.

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

        Returns
        -------
        str
        r2   rA   rB   s    rD   r2   zPie.hoverinfosrc       N##rE   c                     || d<   d S )Nr2   rA   rG   s     rD   r2   zPie.hoverinfosrc      "^rE   c                     | d         S )a  
        The 'hoverlabel' property is an instance of Hoverlabel
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.Hoverlabel`
          - A dict of string/value properties that will be passed
            to the Hoverlabel constructor

            Supported dict properties:

                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 Chart Studio Cloud
                    for `align`.
                bgcolor
                    Sets the background color of the hover labels
                    for this trace
                bgcolorsrc
                    Sets the source reference on Chart Studio Cloud
                    for `bgcolor`.
                bordercolor
                    Sets the border color of the hover labels for
                    this trace.
                bordercolorsrc
                    Sets the source reference on Chart Studio Cloud
                    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 Chart Studio Cloud
                    for `namelength`.

        Returns
        -------
        plotly.graph_objs.pie.Hoverlabel
        r+   rA   rB   s    rD   r+   zPie.hoverlabel  s    f L!!rE   c                     || d<   d S )Nr+   rA   rG   s     rD   r+   zPie.hoverlabelO  rI   rE   c                     | d         S )a  
        Template string used for rendering the information that appear
        on hover box. Note that this will override `hoverinfo`.
        Variables are inserted using %{variable}, for example "y: %{y}"
        as well as %{xother}, {%_xother}, {%_xother_}, {%xother_}. When
        showing info for several points, "xother" will be added to
        those with different x positions from the first point. An
        underscore before or after "(x|y)other" will add a space on
        that side, only when this field is shown. Numbers are formatted
        using d3-format's syntax %{variable:d3-format}, for example
        "Price: %{y:$.2f}".
        https://github.com/d3/d3-format/tree/v1.4.5#d3-format for
        details on the formatting syntax. Dates are formatted using
        d3-time-format's syntax %{variable|d3-time-format}, for example
        "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-
        format/tree/v2.2.3#locale_format for details on the date
        formatting syntax. The variables available in `hovertemplate`
        are the ones emitted as event data described at this link
        https://plotly.com/javascript/plotlyjs-events/#event-data.
        Additionally, every attributes that can be specified per-point
        (the ones that are `arrayOk: true`) are available. Finally, the
        template string has access to variables `label`, `color`,
        `value`, `percent` and `text`. Anything contained in tag
        `<extra>` is displayed in the secondary box, for example
        "<extra>{fullData.name}</extra>". To hide the secondary box
        completely, use an empty tag `<extra></extra>`.

        The 'hovertemplate' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        str|numpy.ndarray
        r7   rA   rB   s    rD   r7   zPie.hovertemplateU  s    L O$$rE   c                     || d<   d S )Nr7   rA   rG   s     rD   r7   zPie.hovertemplate}  rO   rE   c                     | d         S )a  
        Sets the source reference on Chart Studio Cloud for
        `hovertemplate`.

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

        Returns
        -------
        str
        r=   rA   rB   s    rD   r=   zPie.hovertemplatesrc  s     &''rE   c                     || d<   d S )Nr=   rA   rG   s     rD   r=   zPie.hovertemplatesrc      #&   rE   c                     | d         S )aG  
        Sets hover text elements associated with each sector. If a
        single string, the same string appears for all data points. If
        an array of string, the items are mapped in order of this
        trace's sectors. To be seen, trace `hoverinfo` must contain a
        "text" flag.

        The 'hovertext' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        str|numpy.ndarray
        r%   rA   rB   s    rD   r%   zPie.hovertext  r_   rE   c                     || d<   d S )Nr%   rA   rG   s     rD   r%   zPie.hovertext  rR   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `hovertext`.

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

        Returns
        -------
        str
        r3   rA   rB   s    rD   r3   zPie.hovertextsrc  rb   rE   c                     || d<   d S )Nr3   rA   rG   s     rD   r3   zPie.hovertextsrc  rd   rE   c                     | d         S )am  
        Assigns id labels to each datum. These ids for object constancy
        of data points during animation. Should be an array of strings,
        not numbers or any other type.

        The 'ids' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r   rA   rB   s    rD   r   zPie.ids       E{rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.ids      UrE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `ids`.

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

        Returns
        -------
        str
        r   rA   rB   s    rD   r   z
Pie.idssrc  rT   rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z
Pie.idssrc  rV   rE   c                     | d         S )a  
        Sets the font used for `textinfo` lying inside the sector.

        The 'insidetextfont' property is an instance of Insidetextfont
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.Insidetextfont`
          - A dict of string/value properties that will be passed
            to the Insidetextfont constructor

            Supported dict properties:

                color

                colorsrc
                    Sets the source reference on Chart Studio Cloud
                    for `color`.
                family
                    HTML font family - the typeface that will be
                    applied by the web browser. The web browser
                    will only be able to apply a font if it is
                    available on the system which it operates.
                    Provide multiple font families, separated by
                    commas, to indicate the preference in which to
                    apply fonts if they aren't available on the
                    system. The Chart Studio Cloud (at
                    https://chart-studio.plotly.com or on-premise)
                    generates images on a server, where only a
                    select number of fonts are installed and
                    supported. These include "Arial", "Balto",
                    "Courier New", "Droid Sans", "Droid Serif",
                    "Droid Sans Mono", "Gravitas One", "Old
                    Standard TT", "Open Sans", "Overpass", "PT Sans
                    Narrow", "Raleway", "Times New Roman".
                familysrc
                    Sets the source reference on Chart Studio Cloud
                    for `family`.
                lineposition
                    Sets the kind of decoration line(s) with text,
                    such as an "under", "over" or "through" as well
                    as combinations e.g. "under+over", etc.
                linepositionsrc
                    Sets the source reference on Chart Studio Cloud
                    for `lineposition`.
                shadow
                    Sets the shape and color of the shadow behind
                    text. "auto" places minimal shadow and applies
                    contrast text font color. See
                    https://developer.mozilla.org/en-
                    US/docs/Web/CSS/text-shadow for additional
                    options.
                shadowsrc
                    Sets the source reference on Chart Studio Cloud
                    for `shadow`.
                size

                sizesrc
                    Sets the source reference on Chart Studio Cloud
                    for `size`.
                style
                    Sets whether a font should be styled with a
                    normal or italic face from its family.
                stylesrc
                    Sets the source reference on Chart Studio Cloud
                    for `style`.
                textcase
                    Sets capitalization of text. It can be used to
                    make text appear in all-uppercase or all-
                    lowercase, or with each word capitalized.
                textcasesrc
                    Sets the source reference on Chart Studio Cloud
                    for `textcase`.
                variant
                    Sets the variant of the font.
                variantsrc
                    Sets the source reference on Chart Studio Cloud
                    for `variant`.
                weight
                    Sets the weight (or boldness) of the font.
                weightsrc
                    Sets the source reference on Chart Studio Cloud
                    for `weight`.

        Returns
        -------
        plotly.graph_objs.pie.Insidetextfont
        r9   rA   rB   s    rD   r9   zPie.insidetextfont  s    p $%%rE   c                     || d<   d S )Nr9   rA   rG   s     rD   r9   zPie.insidetextfontK  s    !$rE   c                     | d         S )a  
        Controls the orientation of the text inside chart sectors. When
        set to "auto", text may be oriented in any direction in order
        to be as big as possible in the middle of a sector. The
        "horizontal" option orients text to be parallel with the bottom
        of the chart, and may make text smaller in order to achieve
        that goal. The "radial" option orients text along the radius of
        the sector. The "tangential" option orients text perpendicular
        to the radius of the sector.

        The 'insidetextorientation' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['horizontal', 'radial', 'tangential', 'auto']

        Returns
        -------
        Any
        r?   rA   rB   s    rD   r?   zPie.insidetextorientationQ  s    ( +,,rE   c                     || d<   d S )Nr?   rA   rG   s     rD   r?   zPie.insidetextorientationg  s    (+$%%%rE   c                     | d         S )a9  
        Alternate to `labels`. Builds a numeric set of labels. Use with
        `dlabel` where `label0` is the starting label and `dlabel` the
        step.

        The 'label0' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r   rA   rB   s    rD   r   z
Pie.label0m  s     H~rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z
Pie.label0}  rV   rE   c                     | d         S )a  
        Sets the sector labels. If `labels` entries are duplicated, we
        sum associated `values` or simply count occurrences if `values`
        is not provided. For other array attributes (including color)
        we use the first non-empty entry among all occurrences of the
        label.

        The 'labels' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r   rA   rB   s    rD   r   z
Pie.labels  s      H~rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z
Pie.labels  rV   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `labels`.

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

        Returns
        -------
        str
        r&   rA   rB   s    rD   r&   zPie.labelssrc       K  rE   c                     || d<   d S )Nr&   rA   rG   s     rD   r&   zPie.labelssrc  rR   rE   c                     | d         S )a/  
        Sets the reference to a legend to show this trace in.
        References to these legends are "legend", "legend2", "legend3",
        etc. Settings for these legends are set in the layout, under
        `layout.legend`, `layout.legend2`, etc.

        The 'legend' property is an identifier of a particular
        subplot, of type 'legend', that may be specified as the string 'legend'
        optionally followed by an integer >= 1
        (e.g. 'legend', 'legend1', 'legend2', 'legend3', etc.)

        Returns
        -------
        str
        r   rA   rB   s    rD   r   z
Pie.legend  s    " H~rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z
Pie.legend  rV   rE   c                     | d         S )ar  
        Sets the legend group for this trace. Traces and shapes part of
        the same legend group hide/show at the same time when toggling
        legend items.

        The 'legendgroup' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        r0   rA   rB   s    rD   r0   zPie.legendgroup  s     M""rE   c                     || d<   d S )Nr0   rA   rG   s     rD   r0   zPie.legendgroup      !]rE   c                     | d         S )aG  
        The 'legendgrouptitle' property is an instance of Legendgrouptitle
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.Legendgrouptitle`
          - A dict of string/value properties that will be passed
            to the Legendgrouptitle constructor

            Supported dict properties:

                font
                    Sets this legend group's title font.
                text
                    Sets the title of the legend group.

        Returns
        -------
        plotly.graph_objs.pie.Legendgrouptitle
        r>   rA   rB   s    rD   r>   zPie.legendgrouptitle  s    ( &''rE   c                     || d<   d S )Nr>   rA   rG   s     rD   r>   zPie.legendgrouptitle  rk   rE   c                     | d         S )a  
        Sets the legend rank for this trace. Items and groups with
        smaller ranks are presented on top/left side while with
        "reversed" `legend.traceorder` they are on bottom/right side.
        The default legendrank is 1000, so that you can use ranks less
        than 1000 to place certain items before all unranked items, and
        ranks greater than 1000 to go after all unranked items. When
        having unranked or equal rank items shapes would be displayed
        after traces i.e. according to their order in data and layout.

        The 'legendrank' property is a number and may be specified as:
          - An int or float

        Returns
        -------
        int|float
        r,   rA   rB   s    rD   r,   zPie.legendrank  s    & L!!rE   c                     || d<   d S )Nr,   rA   rG   s     rD   r,   zPie.legendrank  rI   rE   c                     | d         S )a  
        Sets the width (in px or fraction) of the legend for this
        trace.

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

        Returns
        -------
        int|float
        r1   rA   rB   s    rD   r1   zPie.legendwidth  s     M""rE   c                     || d<   d S )Nr1   rA   rG   s     rD   r1   zPie.legendwidth%  r   rE   c                     | d         S )a  
        The 'marker' property is an instance of Marker
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.Marker`
          - A dict of string/value properties that will be passed
            to the Marker constructor

            Supported dict properties:

                colors
                    Sets the color of each sector. If not
                    specified, the default trace color set is used
                    to pick the sector colors.
                colorssrc
                    Sets the source reference on Chart Studio Cloud
                    for `colors`.
                line
                    :class:`plotly.graph_objects.pie.marker.Line`
                    instance or dict with compatible properties
                pattern
                    Sets the pattern within the marker.

        Returns
        -------
        plotly.graph_objs.pie.Marker
        r   rA   rB   s    rD   r   z
Pie.marker+  rX   rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z
Pie.markerI  rV   rE   c                     | d         S )a  
        Assigns extra meta information associated with this trace that
        can be used in various text attributes. Attributes such as
        trace `name`, graph, axis and colorbar `title.text`, annotation
        `text` `rangeselector`, `updatemenues` and `sliders` `label`
        text all support `meta`. To access the trace `meta` values in
        an attribute in the same trace, simply use `%{meta[i]}` where
        `i` is the index or key of the `meta` item in question. To
        access trace `meta` in layout attributes, use
        `%{data[n[.meta[i]}` where `i` is the index or key of the
        `meta` and `n` is the trace index.

        The 'meta' property accepts values of any type

        Returns
        -------
        Any|numpy.ndarray
        r   rA   rB   s    rD   r   zPie.metaO  s    ( F|rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.metae  r]   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `meta`.

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

        Returns
        -------
        str
        r   rA   rB   s    rD   r   zPie.metasrck       IrE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.metasrcy      YrE   c                     | d         S )a#  
        Sets the trace name. The trace name appears as the legend item
        and on hover.

        The 'name' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        r   rA   rB   s    rD   r   zPie.name  s     F|rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.name  r]   rE   c                     | d         S )z
        Sets the opacity of the trace.

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

        Returns
        -------
        int|float
        r   rA   rB   s    rD   r   zPie.opacity  r   rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.opacity  r   rE   c                     | d         S )a  
        Sets the font used for `textinfo` lying outside the sector.

        The 'outsidetextfont' property is an instance of Outsidetextfont
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.Outsidetextfont`
          - A dict of string/value properties that will be passed
            to the Outsidetextfont constructor

            Supported dict properties:

                color

                colorsrc
                    Sets the source reference on Chart Studio Cloud
                    for `color`.
                family
                    HTML font family - the typeface that will be
                    applied by the web browser. The web browser
                    will only be able to apply a font if it is
                    available on the system which it operates.
                    Provide multiple font families, separated by
                    commas, to indicate the preference in which to
                    apply fonts if they aren't available on the
                    system. The Chart Studio Cloud (at
                    https://chart-studio.plotly.com or on-premise)
                    generates images on a server, where only a
                    select number of fonts are installed and
                    supported. These include "Arial", "Balto",
                    "Courier New", "Droid Sans", "Droid Serif",
                    "Droid Sans Mono", "Gravitas One", "Old
                    Standard TT", "Open Sans", "Overpass", "PT Sans
                    Narrow", "Raleway", "Times New Roman".
                familysrc
                    Sets the source reference on Chart Studio Cloud
                    for `family`.
                lineposition
                    Sets the kind of decoration line(s) with text,
                    such as an "under", "over" or "through" as well
                    as combinations e.g. "under+over", etc.
                linepositionsrc
                    Sets the source reference on Chart Studio Cloud
                    for `lineposition`.
                shadow
                    Sets the shape and color of the shadow behind
                    text. "auto" places minimal shadow and applies
                    contrast text font color. See
                    https://developer.mozilla.org/en-
                    US/docs/Web/CSS/text-shadow for additional
                    options.
                shadowsrc
                    Sets the source reference on Chart Studio Cloud
                    for `shadow`.
                size

                sizesrc
                    Sets the source reference on Chart Studio Cloud
                    for `size`.
                style
                    Sets whether a font should be styled with a
                    normal or italic face from its family.
                stylesrc
                    Sets the source reference on Chart Studio Cloud
                    for `style`.
                textcase
                    Sets capitalization of text. It can be used to
                    make text appear in all-uppercase or all-
                    lowercase, or with each word capitalized.
                textcasesrc
                    Sets the source reference on Chart Studio Cloud
                    for `textcase`.
                variant
                    Sets the variant of the font.
                variantsrc
                    Sets the source reference on Chart Studio Cloud
                    for `variant`.
                weight
                    Sets the weight (or boldness) of the font.
                weightsrc
                    Sets the source reference on Chart Studio Cloud
                    for `weight`.

        Returns
        -------
        plotly.graph_objs.pie.Outsidetextfont
        r:   rA   rB   s    rD   r:   zPie.outsidetextfont  s    p %&&rE   c                     || d<   d S )Nr:   rA   rG   s     rD   r:   zPie.outsidetextfont      "%rE   c                     | d         S )a  
        Sets the fraction of larger radius to pull the sectors out from
        the center. This can be a constant to pull all slices apart
        from each other equally or an array to highlight one or more
        slices.

        The 'pull' 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   rA   rB   s    rD   r   zPie.pull	        F|rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.pull  r]   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `pull`.

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

        Returns
        -------
        str
        r   rA   rB   s    rD   r   zPie.pullsrc!  r   rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.pullsrc/  r   rE   c                     | d         S )a  
        Instead of the first slice starting at 12 o'clock, rotate to
        some other angle.

        The 'rotation' property is a angle (in degrees) that may be
        specified as a number between -180 and 180.
        Numeric values outside this range are converted to the equivalent value
        (e.g. 270 is converted to -90).

        Returns
        -------
        int|float
        r    rA   rB   s    rD   r    zPie.rotation5       JrE   c                     || d<   d S )Nr    rA   rG   s     rD   r    zPie.rotationF      ZrE   c                     | d         S )a  
        If there are multiple pie charts that should be sized according
        to their totals, link them by providing a non-empty group id
        here shared by every trace in the same group.

        The 'scalegroup' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        r-   rA   rB   s    rD   r-   zPie.scalegroupL  rK   rE   c                     || d<   d S )Nr-   rA   rG   s     rD   r-   zPie.scalegroup]  rI   rE   c                     | d         S )z
        Determines whether or not an item corresponding to this trace
        is shown in the legend.

        The 'showlegend' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r.   rA   rB   s    rD   r.   zPie.showlegendc  s     L!!rE   c                     || d<   d S )Nr.   rA   rG   s     rD   r.   zPie.showlegendr  rI   rE   c                     | d         S )z
        Determines whether or not the sectors are reordered from
        largest to smallest.

        The 'sort' property must be specified as a bool
        (either True, or False)

        Returns
        -------
        bool
        r   rA   rB   s    rD   r   zPie.sortx  r[   rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.sort  r]   rE   c                     | d         S )a]  
        The 'stream' property is an instance of Stream
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.Stream`
          - A dict of string/value properties that will be passed
            to the Stream constructor

            Supported dict properties:

                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://chart-
                    studio.plotly.com/settings for more details.

        Returns
        -------
        plotly.graph_objs.pie.Stream
        r   rA   rB   s    rD   r   z
Pie.stream  s    2 H~rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z
Pie.stream  rV   rE   c                     | d         S )a  
        Sets text elements associated with each sector. If trace
        `textinfo` contains a "text" flag, these elements will be seen
        on the chart. If trace `hoverinfo` contains a "text" flag and
        "hovertext" is not set, these elements will be seen in the
        hover labels.

        The 'text' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r   rA   rB   s    rD   r   zPie.text  r   rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.text  r]   rE   c                     | d         S )a  
        Sets the font used for `textinfo`.

        The 'textfont' property is an instance of Textfont
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.Textfont`
          - A dict of string/value properties that will be passed
            to the Textfont constructor

            Supported dict properties:

                color

                colorsrc
                    Sets the source reference on Chart Studio Cloud
                    for `color`.
                family
                    HTML font family - the typeface that will be
                    applied by the web browser. The web browser
                    will only be able to apply a font if it is
                    available on the system which it operates.
                    Provide multiple font families, separated by
                    commas, to indicate the preference in which to
                    apply fonts if they aren't available on the
                    system. The Chart Studio Cloud (at
                    https://chart-studio.plotly.com or on-premise)
                    generates images on a server, where only a
                    select number of fonts are installed and
                    supported. These include "Arial", "Balto",
                    "Courier New", "Droid Sans", "Droid Serif",
                    "Droid Sans Mono", "Gravitas One", "Old
                    Standard TT", "Open Sans", "Overpass", "PT Sans
                    Narrow", "Raleway", "Times New Roman".
                familysrc
                    Sets the source reference on Chart Studio Cloud
                    for `family`.
                lineposition
                    Sets the kind of decoration line(s) with text,
                    such as an "under", "over" or "through" as well
                    as combinations e.g. "under+over", etc.
                linepositionsrc
                    Sets the source reference on Chart Studio Cloud
                    for `lineposition`.
                shadow
                    Sets the shape and color of the shadow behind
                    text. "auto" places minimal shadow and applies
                    contrast text font color. See
                    https://developer.mozilla.org/en-
                    US/docs/Web/CSS/text-shadow for additional
                    options.
                shadowsrc
                    Sets the source reference on Chart Studio Cloud
                    for `shadow`.
                size

                sizesrc
                    Sets the source reference on Chart Studio Cloud
                    for `size`.
                style
                    Sets whether a font should be styled with a
                    normal or italic face from its family.
                stylesrc
                    Sets the source reference on Chart Studio Cloud
                    for `style`.
                textcase
                    Sets capitalization of text. It can be used to
                    make text appear in all-uppercase or all-
                    lowercase, or with each word capitalized.
                textcasesrc
                    Sets the source reference on Chart Studio Cloud
                    for `textcase`.
                variant
                    Sets the variant of the font.
                variantsrc
                    Sets the source reference on Chart Studio Cloud
                    for `variant`.
                weight
                    Sets the weight (or boldness) of the font.
                weightsrc
                    Sets the source reference on Chart Studio Cloud
                    for `weight`.

        Returns
        -------
        plotly.graph_objs.pie.Textfont
        r!   rA   rB   s    rD   r!   zPie.textfont  s    p JrE   c                     || d<   d S )Nr!   rA   rG   s     rD   r!   zPie.textfont   r   rE   c                     | d         S )a  
        Determines which trace information appear on the graph.

        The 'textinfo' property is a flaglist and may be specified
        as a string containing:
          - Any combination of ['label', 'text', 'value', 'percent'] joined with '+' characters
            (e.g. 'label+text')
            OR exactly one of ['none'] (e.g. 'none')

        Returns
        -------
        Any
        r"   rA   rB   s    rD   r"   zPie.textinfo&  r   rE   c                     || d<   d S )Nr"   rA   rG   s     rD   r"   zPie.textinfo7  r   rE   c                     | d         S )ay  
        Specifies the location of the `textinfo`.

        The 'textposition' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['inside', 'outside', 'auto', 'none']
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        Any|numpy.ndarray
        r4   rA   rB   s    rD   r4   zPie.textposition=  s     N##rE   c                     || d<   d S )Nr4   rA   rG   s     rD   r4   zPie.textpositionM  rd   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `textposition`.

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

        Returns
        -------
        str
        r;   rA   rB   s    rD   r;   zPie.textpositionsrcS       %&&rE   c                     || d<   d S )Nr;   rA   rG   s     rD   r;   zPie.textpositionsrcb  r   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `text`.

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

        Returns
        -------
        str
        r   rA   rB   s    rD   r   zPie.textsrch  r   rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.textsrcv  r   rE   c                     | d         S )a  
        Template string used for rendering the information text that
        appear on points. Note that this will override `textinfo`.
        Variables are inserted using %{variable}, for example "y:
        %{y}". Numbers are formatted using d3-format's syntax
        %{variable:d3-format}, for example "Price: %{y:$.2f}".
        https://github.com/d3/d3-format/tree/v1.4.5#d3-format for
        details on the formatting syntax. Dates are formatted using
        d3-time-format's syntax %{variable|d3-time-format}, for example
        "Day: %{2019-01-01|%A}". https://github.com/d3/d3-time-
        format/tree/v2.2.3#locale_format for details on the date
        formatting syntax. Every attributes that can be specified per-
        point (the ones that are `arrayOk: true`) are available.
        Finally, the template string has access to variables `label`,
        `color`, `value`, `percent` and `text`.

        The 'texttemplate' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string
          - A tuple, list, or one-dimensional numpy array of the above

        Returns
        -------
        str|numpy.ndarray
        r5   rA   rB   s    rD   r5   zPie.texttemplate|  s    6 N##rE   c                     || d<   d S )Nr5   rA   rG   s     rD   r5   zPie.texttemplate  rd   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for
        `texttemplate`.

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

        Returns
        -------
        str
        r<   rA   rB   s    rD   r<   zPie.texttemplatesrc  r   rE   c                     || d<   d S )Nr<   rA   rG   s     rD   r<   zPie.texttemplatesrc  r   rE   c                     | d         S )aq  
        The 'title' property is an instance of Title
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.Title`
          - A dict of string/value properties that will be passed
            to the Title constructor

            Supported dict properties:

                font
                    Sets the font used for `title`. Note that the
                    title's font used to be set by the now
                    deprecated `titlefont` attribute.
                position
                    Specifies the location of the `title`. Note
                    that the title's position used to be set by the
                    now deprecated `titleposition` attribute.
                text
                    Sets the title of the chart. If it is empty, no
                    title is displayed. Note that before the
                    existence of `title.text`, the title's contents
                    used to be defined as the `title` attribute
                    itself. This behavior has been deprecated.

        Returns
        -------
        plotly.graph_objs.pie.Title
        r   rA   rB   s    rD   r   z	Pie.title  s    < G}rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z	Pie.title  s    WrE   c                     | d         S )a  
        Deprecated: Please use pie.title.font instead. Sets the font
        used for `title`. Note that the title's font used to be set by
        the now deprecated `titlefont` attribute.

        The 'font' property is an instance of Font
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.pie.title.Font`
          - A dict of string/value properties that will be passed
            to the Font constructor

            Supported dict properties:

                color

                colorsrc
                    Sets the source reference on Chart Studio Cloud
                    for `color`.
                family
                    HTML font family - the typeface that will be
                    applied by the web browser. The web browser
                    will only be able to apply a font if it is
                    available on the system which it operates.
                    Provide multiple font families, separated by
                    commas, to indicate the preference in which to
                    apply fonts if they aren't available on the
                    system. The Chart Studio Cloud (at
                    https://chart-studio.plotly.com or on-premise)
                    generates images on a server, where only a
                    select number of fonts are installed and
                    supported. These include "Arial", "Balto",
                    "Courier New", "Droid Sans", "Droid Serif",
                    "Droid Sans Mono", "Gravitas One", "Old
                    Standard TT", "Open Sans", "Overpass", "PT Sans
                    Narrow", "Raleway", "Times New Roman".
                familysrc
                    Sets the source reference on Chart Studio Cloud
                    for `family`.
                lineposition
                    Sets the kind of decoration line(s) with text,
                    such as an "under", "over" or "through" as well
                    as combinations e.g. "under+over", etc.
                linepositionsrc
                    Sets the source reference on Chart Studio Cloud
                    for `lineposition`.
                shadow
                    Sets the shape and color of the shadow behind
                    text. "auto" places minimal shadow and applies
                    contrast text font color. See
                    https://developer.mozilla.org/en-
                    US/docs/Web/CSS/text-shadow for additional
                    options.
                shadowsrc
                    Sets the source reference on Chart Studio Cloud
                    for `shadow`.
                size

                sizesrc
                    Sets the source reference on Chart Studio Cloud
                    for `size`.
                style
                    Sets whether a font should be styled with a
                    normal or italic face from its family.
                stylesrc
                    Sets the source reference on Chart Studio Cloud
                    for `style`.
                textcase
                    Sets capitalization of text. It can be used to
                    make text appear in all-uppercase or all-
                    lowercase, or with each word capitalized.
                textcasesrc
                    Sets the source reference on Chart Studio Cloud
                    for `textcase`.
                variant
                    Sets the variant of the font.
                variantsrc
                    Sets the source reference on Chart Studio Cloud
                    for `variant`.
                weight
                    Sets the weight (or boldness) of the font.
                weightsrc
                    Sets the source reference on Chart Studio Cloud
                    for `weight`.

        Returns
        -------

        r'   rA   rB   s    rD   r'   zPie.titlefont  s    t K  rE   c                     || d<   d S )Nr'   rA   rG   s     rD   r'   zPie.titlefont6  rR   rE   c                     | d         S )a  
        Deprecated: Please use pie.title.position instead. Specifies
        the location of the `title`. Note that the title's position
        used to be set by the now deprecated `titleposition` attribute.

        The 'position' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['top left', 'top center', 'top right', 'middle center',
                'bottom left', 'bottom center', 'bottom right']

        Returns
        -------

        r8   rA   rB   s    rD   r8   zPie.titleposition<  s      O$$rE   c                     || d<   d S )Nr8   rA   rG   s     rD   r8   zPie.titlepositionN  rO   rE   c                     | d         S )aH  
        Assign an id to this trace, Use this to provide object
        constancy between traces during animations and transitions.

        The 'uid' property is a string and must be specified as:
          - A string
          - A number that will be converted to a string

        Returns
        -------
        str
        r	   rA   rB   s    rD   r	   zPie.uidT  rq   rE   c                     || d<   d S )Nr	   rA   rG   s     rD   r	   zPie.uidd  rs   rE   c                     | d         S )aN  
        Controls persistence of some user-driven changes to the trace:
        `constraintrange` in `parcoords` traces, as well as some
        `editable: true` modifications such as `name` and
        `colorbar.title`. Defaults to `layout.uirevision`. Note that
        other user-driven trace attribute changes are controlled by
        `layout` attributes: `trace.visible` is controlled by
        `layout.legend.uirevision`, `selectedpoints` is controlled by
        `layout.selectionrevision`, and `colorbar.(x|y)` (accessible
        with `config: {editable: true}`) is controlled by
        `layout.editrevision`. Trace changes are tracked by `uid`,
        which only falls back on trace index if no `uid` is provided.
        So if your app can add/remove traces before the end of the
        `data` array, such that the same trace has a different index,
        you can still preserve user-driven changes if you give each
        trace a `uid` that stays with it as it moves.

        The 'uirevision' property accepts values of any type

        Returns
        -------
        Any
        r/   rA   rB   s    rD   r/   zPie.uirevisionj  s    2 L!!rE   c                     || d<   d S )Nr/   rA   rG   s     rD   r/   zPie.uirevision  rI   rE   c                     | d         S )a  
        Sets the values of the sectors. If omitted, we count
        occurrences of each label.

        The 'values' property is an array that may be specified as a tuple,
        list, numpy array, or pandas Series

        Returns
        -------
        numpy.ndarray
        r   rA   rB   s    rD   r   z
Pie.values  s     H~rE   c                     || d<   d S )Nr   rA   rG   s     rD   r   z
Pie.values  rV   rE   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `values`.

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

        Returns
        -------
        str
        r(   rA   rB   s    rD   r(   zPie.valuessrc  r   rE   c                     || d<   d S )Nr(   rA   rG   s     rD   r(   zPie.valuessrc  rR   rE   c                     | d         S )a  
        Determines whether or not this trace is visible. If
        "legendonly", the trace is not drawn, but can appear as a
        legend item (provided that the legend itself is visible).

        The 'visible' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                [True, False, 'legendonly']

        Returns
        -------
        Any
        r   rA   rB   s    rD   r   zPie.visible  s     IrE   c                     || d<   d S )Nr   rA   rG   s     rD   r   zPie.visible  r   rE   c                     | j         d         S )Nr   )_propsrB   s    rD   r   zPie.type  s    {6""rE   c                     dS )Na4          automargin
            Determines whether outside text labels can push the
            margins.
        customdata
            Assigns extra data each datum. This may be useful when
            listening to hover, click and selection events. Note
            that, "scatter" traces also appends customdata items in
            the markers DOM elements
        customdatasrc
            Sets the source reference on Chart Studio Cloud for
            `customdata`.
        direction
            Specifies the direction at which succeeding sectors
            follow one another.
        dlabel
            Sets the label step. See `label0` for more info.
        domain
            :class:`plotly.graph_objects.pie.Domain` instance or
            dict with compatible properties
        hole
            Sets the fraction of the radius to cut out of the pie.
            Use this to make a donut chart.
        hoverinfo
            Determines which trace information appear on hover. If
            `none` or `skip` are set, no information is displayed
            upon hovering. But, if `none` is set, click and hover
            events are still fired.
        hoverinfosrc
            Sets the source reference on Chart Studio Cloud for
            `hoverinfo`.
        hoverlabel
            :class:`plotly.graph_objects.pie.Hoverlabel` instance
            or dict with compatible properties
        hovertemplate
            Template string used for rendering the information that
            appear on hover box. Note that this will override
            `hoverinfo`. Variables are inserted using %{variable},
            for example "y: %{y}" as well as %{xother}, {%_xother},
            {%_xother_}, {%xother_}. When showing info for several
            points, "xother" will be added to those with different
            x positions from the first point. An underscore before
            or after "(x|y)other" will add a space on that side,
            only when this field is shown. Numbers are formatted
            using d3-format's syntax %{variable:d3-format}, for
            example "Price: %{y:$.2f}".
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format
            for details on the formatting syntax. Dates are
            formatted using d3-time-format's syntax
            %{variable|d3-time-format}, for example "Day:
            %{2019-01-01|%A}". https://github.com/d3/d3-time-
            format/tree/v2.2.3#locale_format for details on the
            date formatting syntax. The variables available in
            `hovertemplate` are the ones emitted as event data
            described at this link
            https://plotly.com/javascript/plotlyjs-events/#event-
            data. Additionally, every attributes that can be
            specified per-point (the ones that are `arrayOk: true`)
            are available. Finally, the template string has access
            to variables `label`, `color`, `value`, `percent` and
            `text`. Anything contained in tag `<extra>` is
            displayed in the secondary box, for example
            "<extra>{fullData.name}</extra>". To hide the secondary
            box completely, use an empty tag `<extra></extra>`.
        hovertemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `hovertemplate`.
        hovertext
            Sets hover text elements associated with each sector.
            If a single string, the same string appears for all
            data points. If an array of string, the items are
            mapped in order of this trace's sectors. To be seen,
            trace `hoverinfo` must contain a "text" flag.
        hovertextsrc
            Sets the source reference on Chart Studio Cloud for
            `hovertext`.
        ids
            Assigns id labels to each datum. These ids for object
            constancy of data points during animation. Should be an
            array of strings, not numbers or any other type.
        idssrc
            Sets the source reference on Chart Studio Cloud for
            `ids`.
        insidetextfont
            Sets the font used for `textinfo` lying inside the
            sector.
        insidetextorientation
            Controls the orientation of the text inside chart
            sectors. When set to "auto", text may be oriented in
            any direction in order to be as big as possible in the
            middle of a sector. The "horizontal" option orients
            text to be parallel with the bottom of the chart, and
            may make text smaller in order to achieve that goal.
            The "radial" option orients text along the radius of
            the sector. The "tangential" option orients text
            perpendicular to the radius of the sector.
        label0
            Alternate to `labels`. Builds a numeric set of labels.
            Use with `dlabel` where `label0` is the starting label
            and `dlabel` the step.
        labels
            Sets the sector labels. If `labels` entries are
            duplicated, we sum associated `values` or simply count
            occurrences if `values` is not provided. For other
            array attributes (including color) we use the first
            non-empty entry among all occurrences of the label.
        labelssrc
            Sets the source reference on Chart Studio Cloud for
            `labels`.
        legend
            Sets the reference to a legend to show this trace in.
            References to these legends are "legend", "legend2",
            "legend3", etc. Settings for these legends are set in
            the layout, under `layout.legend`, `layout.legend2`,
            etc.
        legendgroup
            Sets the legend group for this trace. Traces and shapes
            part of the same legend group hide/show at the same
            time when toggling legend items.
        legendgrouptitle
            :class:`plotly.graph_objects.pie.Legendgrouptitle`
            instance or dict with compatible properties
        legendrank
            Sets the legend rank for this trace. Items and groups
            with smaller ranks are presented on top/left side while
            with "reversed" `legend.traceorder` they are on
            bottom/right side. The default legendrank is 1000, so
            that you can use ranks less than 1000 to place certain
            items before all unranked items, and ranks greater than
            1000 to go after all unranked items. When having
            unranked or equal rank items shapes would be displayed
            after traces i.e. according to their order in data and
            layout.
        legendwidth
            Sets the width (in px or fraction) of the legend for
            this trace.
        marker
            :class:`plotly.graph_objects.pie.Marker` instance or
            dict with compatible properties
        meta
            Assigns extra meta information associated with this
            trace that can be used in various text attributes.
            Attributes such as trace `name`, graph, axis and
            colorbar `title.text`, annotation `text`
            `rangeselector`, `updatemenues` and `sliders` `label`
            text all support `meta`. To access the trace `meta`
            values in an attribute in the same trace, simply use
            `%{meta[i]}` where `i` is the index or key of the
            `meta` item in question. To access trace `meta` in
            layout attributes, use `%{data[n[.meta[i]}` where `i`
            is the index or key of the `meta` and `n` is the trace
            index.
        metasrc
            Sets the source reference on Chart Studio Cloud for
            `meta`.
        name
            Sets the trace name. The trace name appears as the
            legend item and on hover.
        opacity
            Sets the opacity of the trace.
        outsidetextfont
            Sets the font used for `textinfo` lying outside the
            sector.
        pull
            Sets the fraction of larger radius to pull the sectors
            out from the center. This can be a constant to pull all
            slices apart from each other equally or an array to
            highlight one or more slices.
        pullsrc
            Sets the source reference on Chart Studio Cloud for
            `pull`.
        rotation
            Instead of the first slice starting at 12 o'clock,
            rotate to some other angle.
        scalegroup
            If there are multiple pie charts that should be sized
            according to their totals, link them by providing a
            non-empty group id here shared by every trace in the
            same group.
        showlegend
            Determines whether or not an item corresponding to this
            trace is shown in the legend.
        sort
            Determines whether or not the sectors are reordered
            from largest to smallest.
        stream
            :class:`plotly.graph_objects.pie.Stream` instance or
            dict with compatible properties
        text
            Sets text elements associated with each sector. If
            trace `textinfo` contains a "text" flag, these elements
            will be seen on the chart. If trace `hoverinfo`
            contains a "text" flag and "hovertext" is not set,
            these elements will be seen in the hover labels.
        textfont
            Sets the font used for `textinfo`.
        textinfo
            Determines which trace information appear on the graph.
        textposition
            Specifies the location of the `textinfo`.
        textpositionsrc
            Sets the source reference on Chart Studio Cloud for
            `textposition`.
        textsrc
            Sets the source reference on Chart Studio Cloud for
            `text`.
        texttemplate
            Template string used for rendering the information text
            that appear on points. Note that this will override
            `textinfo`. Variables are inserted using %{variable},
            for example "y: %{y}". Numbers are formatted using
            d3-format's syntax %{variable:d3-format}, for example
            "Price: %{y:$.2f}".
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format
            for details on the formatting syntax. Dates are
            formatted using d3-time-format's syntax
            %{variable|d3-time-format}, for example "Day:
            %{2019-01-01|%A}". https://github.com/d3/d3-time-
            format/tree/v2.2.3#locale_format for details on the
            date formatting syntax. Every attributes that can be
            specified per-point (the ones that are `arrayOk: true`)
            are available. Finally, the template string has access
            to variables `label`, `color`, `value`, `percent` and
            `text`.
        texttemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `texttemplate`.
        title
            :class:`plotly.graph_objects.pie.Title` instance or
            dict with compatible properties
        titlefont
            Deprecated: Please use pie.title.font instead. Sets the
            font used for `title`. Note that the title's font used
            to be set by the now deprecated `titlefont` attribute.
        titleposition
            Deprecated: Please use pie.title.position instead.
            Specifies the location of the `title`. Note that the
            title's position used to be set by the now deprecated
            `titleposition` attribute.
        uid
            Assign an id to this trace, Use this to provide object
            constancy between traces during animations and
            transitions.
        uirevision
            Controls persistence of some user-driven changes to the
            trace: `constraintrange` in `parcoords` traces, as well
            as some `editable: true` modifications such as `name`
            and `colorbar.title`. Defaults to `layout.uirevision`.
            Note that other user-driven trace attribute changes are
            controlled by `layout` attributes: `trace.visible` is
            controlled by `layout.legend.uirevision`,
            `selectedpoints` is controlled by
            `layout.selectionrevision`, and `colorbar.(x|y)`
            (accessible with `config: {editable: true}`) is
            controlled by `layout.editrevision`. Trace changes are
            tracked by `uid`, which only falls back on trace index
            if no `uid` is provided. So if your app can add/remove
            traces before the end of the `data` array, such that
            the same trace has a different index, you can still
            preserve user-driven changes if you give each trace a
            `uid` that stays with it as it moves.
        values
            Sets the values of the sectors. If omitted, we count
            occurrences of each label.
        valuessrc
            Sets the source reference on Chart Studio Cloud for
            `values`.
        visible
            Determines whether or not this trace is visible. If
            "legendonly", the trace is not drawn, but can appear as
            a legend item (provided that the legend itself is
            visible).
        rA   rB   s    rD   _prop_descriptionszPie._prop_descriptions  s    P PrE   )r   font)r   position)r'   r8   Nc9           	      B   t          t          |                               d           d|9v r|9d         | _        dS |i }nct	          || j                  r|                                }n9t	          |t                    rt          j	        |          }nt          d          |9                    dd          | _        |9                    dd          | _        |                    d	d          }:||n|:}:|:|:| d	<   |                    d
d          }:||n|:}:|:|:| d
<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:|	|	n|:}:|:|:| d<   |                    dd          }:|
|
n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    dd          }:||n|:}:|:|:| d<   |                    d d          }:||n|:}:|:|:| d <   |                    d!d          }:||n|:}:|:|:| d!<   |                    d"d          }:||n|:}:|:|:| d"<   |                    d#d          }:||n|:}:|:|:| d#<   |                    d$d          }:||n|:}:|:|:| d$<   |                    d%d          }:||n|:}:|:|:| d%<   |                    d&d          }:||n|:}:|:|:| d&<   |                    d'd          }:| | n|:}:|:|:| d'<   |                    d(d          }:|!|!n|:}:|:|:| d(<   |                    d)d          }:|"|"n|:}:|:|:| d)<   |                    d*d          }:|#|#n|:}:|:|:| d*<   |                    d+d          }:|$|$n|:}:|:|:| d+<   |                    d,d          }:|%|%n|:}:|:|:| d,<   |                    d-d          }:|&|&n|:}:|:|:| d-<   |                    d.d          }:|'|'n|:}:|:|:| d.<   |                    d/d          }:|(|(n|:}:|:|:| d/<   |                    d0d          }:|)|)n|:}:|:|:| d0<   |                    d1d          }:|*|*n|:}:|:|:| d1<   |                    d2d          }:|+|+n|:}:|:|:| d2<   |                    d3d          }:|,|,n|:}:|:|:| d3<   |                    d4d          }:|-|-n|:}:|:|:| d4<   |                    d5d          }:|.|.n|:}:|:|:| d5<   |                    d6d          }:|/|/n|:}:|:|:| d6<   |                    d7d          }:|0|0n|:}:|:|:| d7<   |                    d8d          }:|1|1n|:}:|:|:| d8<   |                    d9d          }:|2|2n|:}:|:|:| d9<   |                    d:d          }:|3|3n|:}:|:|:| d:<   |                    d;d          }:|4|4n|:}:|:|:| d;<   |                    d<d          }:|5|5n|:}:|:|:| d<<   |                    d=d          }:|6|6n|:}:|:|:| d=<   |                    d>d          }:|7|7n|:}:|:|:| d><   |                    d?d          }:|8|8n|:}:|:|:| d?<   d| j        d@<   |                    d@d            | j        dAi t          |fi |9 d| _        dS )Ba5  
        Construct a new Pie object

        A data visualized by the sectors of the pie is set in `values`.
        The sector labels are set in `labels`. The sector colors are
        set in `marker.colors`

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.Pie`
        automargin
            Determines whether outside text labels can push the
            margins.
        customdata
            Assigns extra data each datum. This may be useful when
            listening to hover, click and selection events. Note
            that, "scatter" traces also appends customdata items in
            the markers DOM elements
        customdatasrc
            Sets the source reference on Chart Studio Cloud for
            `customdata`.
        direction
            Specifies the direction at which succeeding sectors
            follow one another.
        dlabel
            Sets the label step. See `label0` for more info.
        domain
            :class:`plotly.graph_objects.pie.Domain` instance or
            dict with compatible properties
        hole
            Sets the fraction of the radius to cut out of the pie.
            Use this to make a donut chart.
        hoverinfo
            Determines which trace information appear on hover. If
            `none` or `skip` are set, no information is displayed
            upon hovering. But, if `none` is set, click and hover
            events are still fired.
        hoverinfosrc
            Sets the source reference on Chart Studio Cloud for
            `hoverinfo`.
        hoverlabel
            :class:`plotly.graph_objects.pie.Hoverlabel` instance
            or dict with compatible properties
        hovertemplate
            Template string used for rendering the information that
            appear on hover box. Note that this will override
            `hoverinfo`. Variables are inserted using %{variable},
            for example "y: %{y}" as well as %{xother}, {%_xother},
            {%_xother_}, {%xother_}. When showing info for several
            points, "xother" will be added to those with different
            x positions from the first point. An underscore before
            or after "(x|y)other" will add a space on that side,
            only when this field is shown. Numbers are formatted
            using d3-format's syntax %{variable:d3-format}, for
            example "Price: %{y:$.2f}".
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format
            for details on the formatting syntax. Dates are
            formatted using d3-time-format's syntax
            %{variable|d3-time-format}, for example "Day:
            %{2019-01-01|%A}". https://github.com/d3/d3-time-
            format/tree/v2.2.3#locale_format for details on the
            date formatting syntax. The variables available in
            `hovertemplate` are the ones emitted as event data
            described at this link
            https://plotly.com/javascript/plotlyjs-events/#event-
            data. Additionally, every attributes that can be
            specified per-point (the ones that are `arrayOk: true`)
            are available. Finally, the template string has access
            to variables `label`, `color`, `value`, `percent` and
            `text`. Anything contained in tag `<extra>` is
            displayed in the secondary box, for example
            "<extra>{fullData.name}</extra>". To hide the secondary
            box completely, use an empty tag `<extra></extra>`.
        hovertemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `hovertemplate`.
        hovertext
            Sets hover text elements associated with each sector.
            If a single string, the same string appears for all
            data points. If an array of string, the items are
            mapped in order of this trace's sectors. To be seen,
            trace `hoverinfo` must contain a "text" flag.
        hovertextsrc
            Sets the source reference on Chart Studio Cloud for
            `hovertext`.
        ids
            Assigns id labels to each datum. These ids for object
            constancy of data points during animation. Should be an
            array of strings, not numbers or any other type.
        idssrc
            Sets the source reference on Chart Studio Cloud for
            `ids`.
        insidetextfont
            Sets the font used for `textinfo` lying inside the
            sector.
        insidetextorientation
            Controls the orientation of the text inside chart
            sectors. When set to "auto", text may be oriented in
            any direction in order to be as big as possible in the
            middle of a sector. The "horizontal" option orients
            text to be parallel with the bottom of the chart, and
            may make text smaller in order to achieve that goal.
            The "radial" option orients text along the radius of
            the sector. The "tangential" option orients text
            perpendicular to the radius of the sector.
        label0
            Alternate to `labels`. Builds a numeric set of labels.
            Use with `dlabel` where `label0` is the starting label
            and `dlabel` the step.
        labels
            Sets the sector labels. If `labels` entries are
            duplicated, we sum associated `values` or simply count
            occurrences if `values` is not provided. For other
            array attributes (including color) we use the first
            non-empty entry among all occurrences of the label.
        labelssrc
            Sets the source reference on Chart Studio Cloud for
            `labels`.
        legend
            Sets the reference to a legend to show this trace in.
            References to these legends are "legend", "legend2",
            "legend3", etc. Settings for these legends are set in
            the layout, under `layout.legend`, `layout.legend2`,
            etc.
        legendgroup
            Sets the legend group for this trace. Traces and shapes
            part of the same legend group hide/show at the same
            time when toggling legend items.
        legendgrouptitle
            :class:`plotly.graph_objects.pie.Legendgrouptitle`
            instance or dict with compatible properties
        legendrank
            Sets the legend rank for this trace. Items and groups
            with smaller ranks are presented on top/left side while
            with "reversed" `legend.traceorder` they are on
            bottom/right side. The default legendrank is 1000, so
            that you can use ranks less than 1000 to place certain
            items before all unranked items, and ranks greater than
            1000 to go after all unranked items. When having
            unranked or equal rank items shapes would be displayed
            after traces i.e. according to their order in data and
            layout.
        legendwidth
            Sets the width (in px or fraction) of the legend for
            this trace.
        marker
            :class:`plotly.graph_objects.pie.Marker` instance or
            dict with compatible properties
        meta
            Assigns extra meta information associated with this
            trace that can be used in various text attributes.
            Attributes such as trace `name`, graph, axis and
            colorbar `title.text`, annotation `text`
            `rangeselector`, `updatemenues` and `sliders` `label`
            text all support `meta`. To access the trace `meta`
            values in an attribute in the same trace, simply use
            `%{meta[i]}` where `i` is the index or key of the
            `meta` item in question. To access trace `meta` in
            layout attributes, use `%{data[n[.meta[i]}` where `i`
            is the index or key of the `meta` and `n` is the trace
            index.
        metasrc
            Sets the source reference on Chart Studio Cloud for
            `meta`.
        name
            Sets the trace name. The trace name appears as the
            legend item and on hover.
        opacity
            Sets the opacity of the trace.
        outsidetextfont
            Sets the font used for `textinfo` lying outside the
            sector.
        pull
            Sets the fraction of larger radius to pull the sectors
            out from the center. This can be a constant to pull all
            slices apart from each other equally or an array to
            highlight one or more slices.
        pullsrc
            Sets the source reference on Chart Studio Cloud for
            `pull`.
        rotation
            Instead of the first slice starting at 12 o'clock,
            rotate to some other angle.
        scalegroup
            If there are multiple pie charts that should be sized
            according to their totals, link them by providing a
            non-empty group id here shared by every trace in the
            same group.
        showlegend
            Determines whether or not an item corresponding to this
            trace is shown in the legend.
        sort
            Determines whether or not the sectors are reordered
            from largest to smallest.
        stream
            :class:`plotly.graph_objects.pie.Stream` instance or
            dict with compatible properties
        text
            Sets text elements associated with each sector. If
            trace `textinfo` contains a "text" flag, these elements
            will be seen on the chart. If trace `hoverinfo`
            contains a "text" flag and "hovertext" is not set,
            these elements will be seen in the hover labels.
        textfont
            Sets the font used for `textinfo`.
        textinfo
            Determines which trace information appear on the graph.
        textposition
            Specifies the location of the `textinfo`.
        textpositionsrc
            Sets the source reference on Chart Studio Cloud for
            `textposition`.
        textsrc
            Sets the source reference on Chart Studio Cloud for
            `text`.
        texttemplate
            Template string used for rendering the information text
            that appear on points. Note that this will override
            `textinfo`. Variables are inserted using %{variable},
            for example "y: %{y}". Numbers are formatted using
            d3-format's syntax %{variable:d3-format}, for example
            "Price: %{y:$.2f}".
            https://github.com/d3/d3-format/tree/v1.4.5#d3-format
            for details on the formatting syntax. Dates are
            formatted using d3-time-format's syntax
            %{variable|d3-time-format}, for example "Day:
            %{2019-01-01|%A}". https://github.com/d3/d3-time-
            format/tree/v2.2.3#locale_format for details on the
            date formatting syntax. Every attributes that can be
            specified per-point (the ones that are `arrayOk: true`)
            are available. Finally, the template string has access
            to variables `label`, `color`, `value`, `percent` and
            `text`.
        texttemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `texttemplate`.
        title
            :class:`plotly.graph_objects.pie.Title` instance or
            dict with compatible properties
        titlefont
            Deprecated: Please use pie.title.font instead. Sets the
            font used for `title`. Note that the title's font used
            to be set by the now deprecated `titlefont` attribute.
        titleposition
            Deprecated: Please use pie.title.position instead.
            Specifies the location of the `title`. Note that the
            title's position used to be set by the now deprecated
            `titleposition` attribute.
        uid
            Assign an id to this trace, Use this to provide object
            constancy between traces during animations and
            transitions.
        uirevision
            Controls persistence of some user-driven changes to the
            trace: `constraintrange` in `parcoords` traces, as well
            as some `editable: true` modifications such as `name`
            and `colorbar.title`. Defaults to `layout.uirevision`.
            Note that other user-driven trace attribute changes are
            controlled by `layout` attributes: `trace.visible` is
            controlled by `layout.legend.uirevision`,
            `selectedpoints` is controlled by
            `layout.selectionrevision`, and `colorbar.(x|y)`
            (accessible with `config: {editable: true}`) is
            controlled by `layout.editrevision`. Trace changes are
            tracked by `uid`, which only falls back on trace index
            if no `uid` is provided. So if your app can add/remove
            traces before the end of the `data` array, such that
            the same trace has a different index, you can still
            preserve user-driven changes if you give each trace a
            `uid` that stays with it as it moves.
        values
            Sets the values of the sectors. If omitted, we count
            occurrences of each label.
        valuessrc
            Sets the source reference on Chart Studio Cloud for
            `values`.
        visible
            Determines whether or not this trace is visible. If
            "legendonly", the trace is not drawn, but can appear as
            a legend item (provided that the legend itself is
            visible).

        Returns
        -------
        Pie
        r   _parentNz{The first argument to the plotly.graph_objs.Pie
constructor must be a dict or
an instance of :class:`plotly.graph_objs.Pie`skip_invalidF	_validateTr)   r*   r6   r#   r   r   r
   r$   r2   r+   r7   r=   r%   r3   r   r   r9   r?   r   r   r&   r   r0   r>   r,   r1   r   r   r   r   r   r:   r   r   r    r-   r.   r   r   r   r!   r"   r4   r;   r   r5   r<   r   r'   r8   r	   r/   r   r(   r   r   rA   )superr   __init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   r   _process_kwargs)<rC   argr)   r*   r6   r#   r   r   r
   r$   r2   r+   r7   r=   r%   r3   r   r   r9   r?   r   r   r&   r   r0   r>   r,   r1   r   r   r   r   r   r:   r   r   r    r-   r.   r   r   r   r!   r"   r4   r;   r   r5   r<   r   r'   r8   r	   r/   r   r(   r   kwargs_vr   s<                                                              rD   r   zPie.__init__  s   x
 	c4!!%(((!),DLF ;CCT^,, 
	$$&&CCT"" 	*S//CC1   $ZZ>>K66 WW\4((%1ZZr>!#DWW\4((%1ZZr>!#DWW_d+++7]]R>$&D!WW[$''#/YYR> "DWWXt$$)VVr>DNWWXt$$)VVr>DNWWVT""%TT2>DLWW[$''#/YYR> "DWW^T**)5\\2>#%D WW\4((%1ZZr>!#DWW_d+++7]]R>$&D!WW'..!1!=2>')D#$WW[$''#/YYR> "DWW^T**)5\\2>#%D WWUD!!OSS>DKWWXt$$)VVr>DNWW%t,,-9^^r>%'D!"WW,d33&;&G""R>,.D()WWXt$$)VVr>DNWWXt$$)VVr>DNWW[$''#/YYR> "DWWXt$$)VVr>DNWW]D))'3[[>"$DWW'..!1!=2>')D#$WW\4((%1ZZr>!#DWW]D))'3[[>"$DWWXt$$)VVr>DNWWVT""%TT2>DLWWY%%+WW> DOWWVT""%TT2>DLWWY%%+WW> DOWW&-- / ;__>&(D"#WWVT""%TT2>DLWWY%%+WW> DOWWZ&&!-XX2>!DWW\4((%1ZZr>!#DWW\4((%1ZZr>!#DWWVT""%TT2>DLWWXt$$)VVr>DNWWVT""%TT2>DLWWZ&&!-XX2>!DWWZ&&!-XX2>!DWW^T**)5\\2>#%D WW&-- / ;__>&(D"#WWY%%+WW> DOWW^T**)5\\2>#%D WW&-- / ;__>&(D"#WWWd##'UUR>DMWW[$''#/YYR> "DWW_d+++7]]R>$&D!WWUD!!OSS>DKWW\4((%1ZZr>!#DWWXt$$)VVr>DNWW[$''#/YYR> "DWWY%%+WW> DO
 $F 	33tC22622333 #rE   )8NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN)D__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr)   setterr*   r6   r#   r   r   r
   r$   r2   r+   r7   r=   r%   r3   r   r   r9   r?   r   r   r&   r   r0   r>   r,   r1   r   r   r   r   r   r:   r   r   r    r-   r.   r   r   r   r!   r"   r4   r;   r   r5   r<   r   r'   r8   r	   r/   r   r(   r   r   r   _mapped_propertiesr   __classcell__)r   s   @rD   r   r      s        I9 9 9Lz " " X" ! ! !
 " " X"  ! ! !
 % % X% $ $ $
 ! ! X!      
   X ]  ]
   X: ]  ]
   X 
[  [
 ! ! X!&      
 $ $ X$ # # #
 2" 2" X2"h ! ! !
 %% %% X%%N $ $ $
 ( ( X( ' ' '
 ! ! X!&      
 $ $ X$ # # #
   X 	Z  Z
   X ]  ]
 W& W& XW&r % % %
 - - X-* !, , "!,
   X ]  ]
   X" ]  ]
 ! ! X!      
   X$ ]  ]
 # # X#  " " "
 ( ( X(* ' ' '
 " " X"( ! ! !
 # # X# " " "
   X: ]  ]
   X* 
[  [
   X ^  ^
   X 
[  [
   X ^  ^
 W' W' XW'r & & &
   X" 
[  [
   X ^  ^
     X   _  _
 " " X"  ! ! !
 " " X" ! ! !
   X 
[  [
   X4 ]  ]
   X" 
[  [
 W  W  XW r _  _
     X   _  _
 $ $ X$ # # #
 ' ' X' & & &
   X ^  ^
 $ $ X$8 # # #
 ' ' X' & & &
   X> \  \
 Y! Y! XY!v      
 % % X%" $ $ $
   X 	Z  Z
 " " X"4 ! ! !
   X ]  ]
 ! ! X!      
   X  ^  ^
 # # X#
 Q Q XQh '.  "sb	# b	# b	# b	# b	# b	# b	# b	# b	# b	#rE   r   )plotly.basedatatypesr   _BaseTraceTyper   r   r   rA   rE   rD   <module>r      sa    @ @ @ @ @ @    G)# G)# G)# G)# G)#. G)# G)# G)# G)# G)#rE   