
    [6g]                    6    d dl mZ d dlZ G d de          ZdS )    )BaseTraceTypeNc                   
    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             Z8ede             Z9	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 dh fdg	Z: xZ;S )iTreemap treemap>1   idsuidmetanamerootsorttexttypecountleveldomainidssrclabelslegendmarkerstreamtilingvaluesmetasrcopacityparentspathbartextsrcvisiblemaxdepthtextfonttextinfo	hoverinfo	hovertext	labelssrc	valuessrc
customdata
hoverlabel
legendrank
parentssrc
uirevisionlegendwidthbranchvalueshoverinfosrchovertextsrctextpositiontexttemplatecustomdatasrchovertemplateinsidetextfontoutsidetextfonttexttemplatesrchovertemplatesrclegendgrouptitlec                     | d         S )aI  
        Determines how the items in `values` are summed. When set to
        "total", items in `values` are taken to be value of all its
        descendants. When set to "remainder", items in `values`
        corresponding to the root and the branches sectors are taken to
        be the extra part not part of the sum of the values at their
        leaves.

        The 'branchvalues' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['remainder', 'total']

        Returns
        -------
        Any
        r-    selfs    Y/var/www/surfInsights/venv3-11/lib/python3.11/site-packages/plotly/graph_objs/_treemap.pyr-   zTreemap.branchvaluesA   s    $ N##    c                     || d<   d S )Nr-   r:   r<   vals     r=   r-   zTreemap.branchvaluesU       "^r>   c                     | d         S )a  
        Determines default for `values` when it is not provided, by
        inferring a 1 for each of the "leaves" and/or "branches",
        otherwise 0.

        The 'count' property is a flaglist and may be specified
        as a string containing:
          - Any combination of ['branches', 'leaves'] joined with '+' characters
            (e.g. 'branches+leaves')

        Returns
        -------
        Any
        r   r:   r;   s    r=   r   zTreemap.count[   s      G}r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.countm       Wr>   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'   r:   r;   s    r=   r'   zTreemap.customdatas   s     L!!r>   c                     || d<   d S )Nr'   r:   r@   s     r=   r'   zTreemap.customdata        \r>   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
        r2   r:   r;   s    r=   r2   zTreemap.customdatasrc   s     O$$r>   c                     || d<   d S )Nr2   r:   r@   s     r=   r2   zTreemap.customdatasrc        #_r>   c                     | d         S )a  
        The 'domain' property is an instance of Domain
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.treemap.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 treemap trace
                    .
                row
                    If there is a layout grid, use the domain for
                    this row in the grid for this treemap trace .
                x
                    Sets the horizontal domain of this treemap
                    trace (in plot fraction).
                y
                    Sets the vertical domain of this treemap trace
                    (in plot fraction).

        Returns
        -------
        plotly.graph_objs.treemap.Domain
        r   r:   r;   s    r=   r   zTreemap.domain   s    : H~r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.domain       Xr>   c                     | d         S )a  
        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', 'name', 'current path', 'percent root', 'percent entry', 'percent parent'] 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#   r:   r;   s    r=   r#   zTreemap.hoverinfo       $ K  r>   c                     || d<   d S )Nr#   r:   r@   s     r=   r#   zTreemap.hoverinfo       [r>   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
        r.   r:   r;   s    r=   r.   zTreemap.hoverinfosrc        N##r>   c                     || d<   d S )Nr.   r:   r@   s     r=   r.   zTreemap.hoverinfosrc   rB   r>   c                     | d         S )a  
        The 'hoverlabel' property is an instance of Hoverlabel
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.treemap.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.treemap.Hoverlabel
        r(   r:   r;   s    r=   r(   zTreemap.hoverlabel   s    f L!!r>   c                     || d<   d S )Nr(   r:   r@   s     r=   r(   zTreemap.hoverlabel(  rH   r>   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 `currentPath`, `root`,
        `entry`, `percentRoot`, `percentEntry` and `percentParent`.
        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
        r3   r:   r;   s    r=   r3   zTreemap.hovertemplate.  s    N O$$r>   c                     || d<   d S )Nr3   r:   r@   s     r=   r3   zTreemap.hovertemplateW  rK   r>   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
        r7   r:   r;   s    r=   r7   zTreemap.hovertemplatesrc]  s     &''r>   c                     || d<   d S )Nr7   r:   r@   s     r=   r7   zTreemap.hovertemplatesrcl      #&   r>   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$   r:   r;   s    r=   r$   zTreemap.hovertextr  rP   r>   c                     || d<   d S )Nr$   r:   r@   s     r=   r$   zTreemap.hovertext  rR   r>   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
        r/   r:   r;   s    r=   r/   zTreemap.hovertextsrc  rT   r>   c                     || d<   d S )Nr/   r:   r@   s     r=   r/   zTreemap.hovertextsrc  rB   r>   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   r:   r;   s    r=   r   zTreemap.ids       E{r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.ids      Ur>   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   r:   r;   s    r=   r   zTreemap.idssrc       H~r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.idssrc  rN   r>   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.treemap.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.treemap.Insidetextfont
        r4   r:   r;   s    r=   r4   zTreemap.insidetextfont  s    p $%%r>   c                     || d<   d S )Nr4   r:   r@   s     r=   r4   zTreemap.insidetextfont%  s    !$r>   c                     | d         S )z
        Sets the labels of each of the sectors.

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

        Returns
        -------
        numpy.ndarray
        r   r:   r;   s    r=   r   zTreemap.labels+  rf   r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.labels9  rN   r>   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%   r:   r;   s    r=   r%   zTreemap.labelssrc?       K  r>   c                     || d<   d S )Nr%   r:   r@   s     r=   r%   zTreemap.labelssrcM  rR   r>   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   r:   r;   s    r=   r   zTreemap.legendS  s    " H~r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.legendf  rN   r>   c                     | d         S )aO  
        The 'legendgrouptitle' property is an instance of Legendgrouptitle
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.treemap.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.treemap.Legendgrouptitle
        r8   r:   r;   s    r=   r8   zTreemap.legendgrouptitlel  s    ( &''r>   c                     || d<   d S )Nr8   r:   r@   s     r=   r8   zTreemap.legendgrouptitle  r\   r>   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)   r:   r;   s    r=   r)   zTreemap.legendrank  s    & L!!r>   c                     || d<   d S )Nr)   r:   r@   s     r=   r)   zTreemap.legendrank  rH   r>   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
        r,   r:   r;   s    r=   r,   zTreemap.legendwidth  s     M""r>   c                     || d<   d S )Nr,   r:   r@   s     r=   r,   zTreemap.legendwidth  s    !]r>   c                     | d         S )as  
        Sets the level from which this trace hierarchy is rendered. Set
        `level` to `''` to start from the root node in the hierarchy.
        Must be an "id" if `ids` is filled in, otherwise plotly
        attempts to find a matching item in `labels`.

        The 'level' property accepts values of any type

        Returns
        -------
        Any
        r   r:   r;   s    r=   r   zTreemap.level  s     G}r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.level  rE   r>   c                     | d         S )a  
        The 'marker' property is an instance of Marker
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.treemap.Marker`
          - A dict of string/value properties that will be passed
            to the Marker constructor

            Supported dict properties:

                autocolorscale
                    Determines whether the colorscale is a default
                    palette (`autocolorscale: true`) or the palette
                    determined by `marker.colorscale`. Has an
                    effect only if colors is set to a numerical
                    array. In case `colorscale` is unspecified or
                    `autocolorscale` is true, the default palette
                    will be chosen according to whether numbers in
                    the `color` array are all positive, all
                    negative or mixed.
                cauto
                    Determines whether or not the color domain is
                    computed with respect to the input data (here
                    colors) or the bounds set in `marker.cmin` and
                    `marker.cmax` Has an effect only if colors is
                    set to a numerical array. Defaults to `false`
                    when `marker.cmin` and `marker.cmax` are set by
                    the user.
                cmax
                    Sets the upper bound of the color domain. Has
                    an effect only if colors is set to a numerical
                    array. Value should have the same units as
                    colors and if set, `marker.cmin` must be set as
                    well.
                cmid
                    Sets the mid-point of the color domain by
                    scaling `marker.cmin` and/or `marker.cmax` to
                    be equidistant to this point. Has an effect
                    only if colors is set to a numerical array.
                    Value should have the same units as colors. Has
                    no effect when `marker.cauto` is `false`.
                cmin
                    Sets the lower bound of the color domain. Has
                    an effect only if colors is set to a numerical
                    array. Value should have the same units as
                    colors and if set, `marker.cmax` must be set as
                    well.
                coloraxis
                    Sets a reference to a shared color axis.
                    References to these shared color axes are
                    "coloraxis", "coloraxis2", "coloraxis3", etc.
                    Settings for these shared color axes are set in
                    the layout, under `layout.coloraxis`,
                    `layout.coloraxis2`, etc. Note that multiple
                    color scales can be linked to the same color
                    axis.
                colorbar
                    :class:`plotly.graph_objects.treemap.marker.Col
                    orBar` instance or dict with compatible
                    properties
                colors
                    Sets the color of each sector of this trace. If
                    not specified, the default trace color set is
                    used to pick the sector colors.
                colorscale
                    Sets the colorscale. Has an effect only if
                    colors is set to a numerical array. The
                    colorscale must be an array containing arrays
                    mapping a normalized value to an rgb, rgba,
                    hex, hsl, hsv, or named color string. At
                    minimum, a mapping for the lowest (0) and
                    highest (1) values are required. For example,
                    `[[0, 'rgb(0,0,255)'], [1, 'rgb(255,0,0)']]`.
                    To control the bounds of the colorscale in
                    color space, use `marker.cmin` and
                    `marker.cmax`. Alternatively, `colorscale` may
                    be a palette name string of the following list:
                    Blackbody,Bluered,Blues,Cividis,Earth,Electric,
                    Greens,Greys,Hot,Jet,Picnic,Portland,Rainbow,Rd
                    Bu,Reds,Viridis,YlGnBu,YlOrRd.
                colorssrc
                    Sets the source reference on Chart Studio Cloud
                    for `colors`.
                cornerradius
                    Sets the maximum rounding of corners (in px).
                depthfade
                    Determines if the sector colors are faded
                    towards the background from the leaves up to
                    the headers. This option is unavailable when a
                    `colorscale` is present, defaults to false when
                    `marker.colors` is set, but otherwise defaults
                    to true. When set to "reversed", the fading
                    direction is inverted, that is the top elements
                    within hierarchy are drawn with fully saturated
                    colors while the leaves are faded towards the
                    background color.
                line
                    :class:`plotly.graph_objects.treemap.marker.Lin
                    e` instance or dict with compatible properties
                pad
                    :class:`plotly.graph_objects.treemap.marker.Pad
                    ` instance or dict with compatible properties
                pattern
                    Sets the pattern within the marker.
                reversescale
                    Reverses the color mapping if true. Has an
                    effect only if colors is set to a numerical
                    array. If true, `marker.cmin` will correspond
                    to the last color in the array and
                    `marker.cmax` will correspond to the first
                    color.
                showscale
                    Determines whether or not a colorbar is
                    displayed for this trace. Has an effect only if
                    colors is set to a numerical array.

        Returns
        -------
        plotly.graph_objs.treemap.Marker
        r   r:   r;   s    r=   r   zTreemap.marker  s    r H~r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.markerI  rN   r>   c                     | d         S )aE  
        Sets the number of rendered sectors from any given `level`. Set
        `maxdepth` to "-1" to render all the levels in the hierarchy.

        The 'maxdepth' property is a integer and may be specified as:
          - An int (or float that will be cast to an int)

        Returns
        -------
        int
        r    r:   r;   s    r=   r    zTreemap.maxdepthO  s     Jr>   c                     || d<   d S )Nr    r:   r@   s     r=   r    zTreemap.maxdepth^      Zr>   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
   r:   r;   s    r=   r
   zTreemap.metad  s    ( F|r>   c                     || d<   d S )Nr
   r:   r@   s     r=   r
   zTreemap.metaz      Vr>   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   r:   r;   s    r=   r   zTreemap.metasrc       Ir>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.metasrc      Yr>   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   r:   r;   s    r=   r   zTreemap.name  s     F|r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.name  r   r>   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   r:   r;   s    r=   r   zTreemap.opacity  r   r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.opacity  r   r>   c                     | d         S )a  
        Sets the font used for `textinfo` lying outside the sector.
        This option refers to the root of the hierarchy presented on
        top left corner of a treemap graph. Please note that if a
        hierarchy has multiple root nodes, this option won't have any
        effect and `insidetextfont` would be used.

        The 'outsidetextfont' property is an instance of Outsidetextfont
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.treemap.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.treemap.Outsidetextfont
        r5   r:   r;   s    r=   r5   zTreemap.outsidetextfont  s    x %&&r>   c                     || d<   d S )Nr5   r:   r@   s     r=   r5   zTreemap.outsidetextfont      "%r>   c                     | d         S )a#  
        Sets the parent sectors for each of the sectors. Empty string
        items '' are understood to reference the root node in the
        hierarchy. If `ids` is filled, `parents` items are understood
        to be "ids" themselves. When `ids` is not set, plotly attempts
        to find matching items in `labels`, but beware they must be
        unique.

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

        Returns
        -------
        numpy.ndarray
        r   r:   r;   s    r=   r   zTreemap.parents"  s    " Ir>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.parents5  r   r>   c                     | d         S )z
        Sets the source reference on Chart Studio Cloud for `parents`.

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

        Returns
        -------
        str
        r*   r:   r;   s    r=   r*   zTreemap.parentssrc;  s     L!!r>   c                     || d<   d S )Nr*   r:   r@   s     r=   r*   zTreemap.parentssrcI  rH   r>   c                     | d         S )ax  
        The 'pathbar' property is an instance of Pathbar
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.treemap.Pathbar`
          - A dict of string/value properties that will be passed
            to the Pathbar constructor

            Supported dict properties:

                edgeshape
                    Determines which shape is used for edges
                    between `barpath` labels.
                side
                    Determines on which side of the the treemap the
                    `pathbar` should be presented.
                textfont
                    Sets the font used inside `pathbar`.
                thickness
                    Sets the thickness of `pathbar` (in px). If not
                    specified the `pathbar.textfont.size` is used
                    with 3 pixles extra padding on each side.
                visible
                    Determines if the path bar is drawn i.e.
                    outside the trace `domain` and with one pixel
                    gap.

        Returns
        -------
        plotly.graph_objs.treemap.Pathbar
        r   r:   r;   s    r=   r   zTreemap.pathbarO  s    @ Ir>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.pathbarq  r   r>   c                     | d         S )ad  
        The 'root' property is an instance of Root
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.treemap.Root`
          - A dict of string/value properties that will be passed
            to the Root constructor

            Supported dict properties:

                color
                    sets the color of the root node for a
                    sunburst/treemap/icicle trace. this has no
                    effect when a colorscale is used to set the
                    markers.

        Returns
        -------
        plotly.graph_objs.treemap.Root
        r   r:   r;   s    r=   r   zTreemap.rootw  s    * F|r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.root  r   r>   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   r:   r;   s    r=   r   zTreemap.sort  s     F|r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.sort  r   r>   c                     | d         S )ae  
        The 'stream' property is an instance of Stream
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.treemap.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.treemap.Stream
        r   r:   r;   s    r=   r   zTreemap.stream  s    2 H~r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.stream  rN   r>   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   r:   r;   s    r=   r   zTreemap.text  s      F|r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.text  r   r>   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.treemap.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.treemap.Textfont
        r!   r:   r;   s    r=   r!   zTreemap.textfont  s    p Jr>   c                     || d<   d S )Nr!   r:   r@   s     r=   r!   zTreemap.textfont<  r}   r>   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', 'current path', 'percent root', 'percent entry', 'percent parent'] joined with '+' characters
            (e.g. 'label+text')
            OR exactly one of ['none'] (e.g. 'none')

        Returns
        -------
        Any
        r"   r:   r;   s    r=   r"   zTreemap.textinfoB  s     Jr>   c                     || d<   d S )Nr"   r:   r@   s     r=   r"   zTreemap.textinfoS  r}   r>   c                     | d         S )a  
        Sets the positions of the `text` elements.

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

        Returns
        -------
        Any
        r0   r:   r;   s    r=   r0   zTreemap.textpositionY  s     N##r>   c                     || d<   d S )Nr0   r:   r@   s     r=   r0   zTreemap.textpositionj  rB   r>   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   r:   r;   s    r=   r   zTreemap.textsrcp  r   r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.textsrc~  r   r>   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
        `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`,
        `percentParent`, `label` and `value`.

        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
        r1   r:   r;   s    r=   r1   zTreemap.texttemplate  s    8 N##r>   c                     || d<   d S )Nr1   r:   r@   s     r=   r1   zTreemap.texttemplate  rB   r>   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
        r6   r:   r;   s    r=   r6   zTreemap.texttemplatesrc  s     %&&r>   c                     || d<   d S )Nr6   r:   r@   s     r=   r6   zTreemap.texttemplatesrc  r   r>   c                     | d         S )a  
        The 'tiling' property is an instance of Tiling
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.treemap.Tiling`
          - A dict of string/value properties that will be passed
            to the Tiling constructor

            Supported dict properties:

                flip
                    Determines if the positions obtained from
                    solver are flipped on each axis.
                packing
                    Determines d3 treemap solver. For more info
                    please refer to
                    https://github.com/d3/d3-hierarchy#treemap-
                    tiling
                pad
                    Sets the inner padding (in px).
                squarifyratio
                    When using "squarify" `packing` algorithm,
                    according to https://github.com/d3/d3-
                    hierarchy/blob/v3.1.1/README.md#squarify_ratio
                    this option specifies the desired aspect ratio
                    of the generated rectangles. The ratio must be
                    specified as a number greater than or equal to
                    one. Note that the orientation of the generated
                    rectangles (tall or wide) is not implied by the
                    ratio; for example, a ratio of two will attempt
                    to produce a mixture of rectangles whose
                    width:height ratio is either 2:1 or 1:2. When
                    using "squarify", unlike d3 which uses the
                    Golden Ratio i.e. 1.618034, Plotly applies 1 to
                    increase squares in treemap layouts.

        Returns
        -------
        plotly.graph_objs.treemap.Tiling
        r   r:   r;   s    r=   r   zTreemap.tiling  s    R H~r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.tiling  rN   r>   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	   r:   r;   s    r=   r	   zTreemap.uid  rb   r>   c                     || d<   d S )Nr	   r:   r@   s     r=   r	   zTreemap.uid  rd   r>   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+   r:   r;   s    r=   r+   zTreemap.uirevision  s    2 L!!r>   c                     || d<   d S )Nr+   r:   r@   s     r=   r+   zTreemap.uirevision  rH   r>   c                     | d         S )a>  
        Sets the values associated with each of the sectors. Use with
        `branchvalues` to determine how the values are summed.

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

        Returns
        -------
        numpy.ndarray
        r   r:   r;   s    r=   r   zTreemap.values%  s     H~r>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.values4  rN   r>   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&   r:   r;   s    r=   r&   zTreemap.valuessrc:  rm   r>   c                     || d<   d S )Nr&   r:   r@   s     r=   r&   zTreemap.valuessrcH  rR   r>   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   r:   r;   s    r=   r   zTreemap.visibleN  s     Ir>   c                     || d<   d S )Nr   r:   r@   s     r=   r   zTreemap.visible_  r   r>   c                     | j         d         S )Nr   )_propsr;   s    r=   r   zTreemap.typee  s    {6""r>   c                     dS )Na0          branchvalues
            Determines how the items in `values` are summed. When
            set to "total", items in `values` are taken to be value
            of all its descendants. When set to "remainder", items
            in `values` corresponding to the root and the branches
            sectors are taken to be the extra part not part of the
            sum of the values at their leaves.
        count
            Determines default for `values` when it is not
            provided, by inferring a 1 for each of the "leaves"
            and/or "branches", otherwise 0.
        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`.
        domain
            :class:`plotly.graph_objects.treemap.Domain` instance
            or dict with compatible properties
        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.treemap.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 `currentPath`, `root`, `entry`,
            `percentRoot`, `percentEntry` and `percentParent`.
            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.
        labels
            Sets the labels of each of the sectors.
        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.
        legendgrouptitle
            :class:`plotly.graph_objects.treemap.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.
        level
            Sets the level from which this trace hierarchy is
            rendered. Set `level` to `''` to start from the root
            node in the hierarchy. Must be an "id" if `ids` is
            filled in, otherwise plotly attempts to find a matching
            item in `labels`.
        marker
            :class:`plotly.graph_objects.treemap.Marker` instance
            or dict with compatible properties
        maxdepth
            Sets the number of rendered sectors from any given
            `level`. Set `maxdepth` to "-1" to render all the
            levels in the hierarchy.
        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. This option refers to the root of the hierarchy
            presented on top left corner of a treemap graph. Please
            note that if a hierarchy has multiple root nodes, this
            option won't have any effect and `insidetextfont` would
            be used.
        parents
            Sets the parent sectors for each of the sectors. Empty
            string items '' are understood to reference the root
            node in the hierarchy. If `ids` is filled, `parents`
            items are understood to be "ids" themselves. When `ids`
            is not set, plotly attempts to find matching items in
            `labels`, but beware they must be unique.
        parentssrc
            Sets the source reference on Chart Studio Cloud for
            `parents`.
        pathbar
            :class:`plotly.graph_objects.treemap.Pathbar` instance
            or dict with compatible properties
        root
            :class:`plotly.graph_objects.treemap.Root` instance or
            dict with compatible properties
        sort
            Determines whether or not the sectors are reordered
            from largest to smallest.
        stream
            :class:`plotly.graph_objects.treemap.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
            Sets the positions of the `text` elements.
        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 `currentPath`, `root`, `entry`,
            `percentRoot`, `percentEntry`, `percentParent`, `label`
            and `value`.
        texttemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `texttemplate`.
        tiling
            :class:`plotly.graph_objects.treemap.Tiling` instance
            or dict with compatible properties
        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 associated with each of the sectors.
            Use with `branchvalues` to determine how the values are
            summed.
        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).
        r:   r;   s    r=   _prop_descriptionszTreemap._prop_descriptionsk  s    | |r>   Nc2           	      X   t          t          |                               d           d|2v r|2d         | _        dS |i }nct	          || j                  r|                                }n9t	          |t                    rt          j	        |          }nt          d          |2                    dd          | _        |2                    dd          | _        |                    d	d          }3||n|3}3|3|3| d	<   |                    d
d          }3||n|3}3|3|3| d
<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3|	|	n|3}3|3|3| d<   |                    dd          }3|
|
n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    dd          }3||n|3}3|3|3| d<   |                    d d          }3||n|3}3|3|3| d <   |                    d!d          }3||n|3}3|3|3| d!<   |                    d"d          }3||n|3}3|3|3| d"<   |                    d#d          }3||n|3}3|3|3| d#<   |                    d$d          }3||n|3}3|3|3| d$<   |                    d%d          }3||n|3}3|3|3| d%<   |                    d&d          }3||n|3}3|3|3| d&<   |                    d'd          }3| | n|3}3|3|3| d'<   |                    d(d          }3|!|!n|3}3|3|3| d(<   |                    d)d          }3|"|"n|3}3|3|3| d)<   |                    d*d          }3|#|#n|3}3|3|3| d*<   |                    d+d          }3|$|$n|3}3|3|3| d+<   |                    d,d          }3|%|%n|3}3|3|3| d,<   |                    d-d          }3|&|&n|3}3|3|3| d-<   |                    d.d          }3|'|'n|3}3|3|3| d.<   |                    d/d          }3|(|(n|3}3|3|3| d/<   |                    d0d          }3|)|)n|3}3|3|3| d0<   |                    d1d          }3|*|*n|3}3|3|3| d1<   |                    d2d          }3|+|+n|3}3|3|3| d2<   |                    d3d          }3|,|,n|3}3|3|3| d3<   |                    d4d          }3|-|-n|3}3|3|3| d4<   |                    d5d          }3|.|.n|3}3|3|3| d5<   |                    d6d          }3|/|/n|3}3|3|3| d6<   |                    d7d          }3|0|0n|3}3|3|3| d7<   |                    d8d          }3|1|1n|3}3|3|3| d8<   d| j        d9<   |                    d9d            | j        d:i t          |fi |2 d| _        dS );a2  
        Construct a new Treemap object

        Visualize hierarchal data from leaves (and/or outer branches)
        towards root with rectangles. The treemap sectors are
        determined by the entries in "labels" or "ids" and in
        "parents".

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.Treemap`
        branchvalues
            Determines how the items in `values` are summed. When
            set to "total", items in `values` are taken to be value
            of all its descendants. When set to "remainder", items
            in `values` corresponding to the root and the branches
            sectors are taken to be the extra part not part of the
            sum of the values at their leaves.
        count
            Determines default for `values` when it is not
            provided, by inferring a 1 for each of the "leaves"
            and/or "branches", otherwise 0.
        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`.
        domain
            :class:`plotly.graph_objects.treemap.Domain` instance
            or dict with compatible properties
        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.treemap.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 `currentPath`, `root`, `entry`,
            `percentRoot`, `percentEntry` and `percentParent`.
            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.
        labels
            Sets the labels of each of the sectors.
        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.
        legendgrouptitle
            :class:`plotly.graph_objects.treemap.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.
        level
            Sets the level from which this trace hierarchy is
            rendered. Set `level` to `''` to start from the root
            node in the hierarchy. Must be an "id" if `ids` is
            filled in, otherwise plotly attempts to find a matching
            item in `labels`.
        marker
            :class:`plotly.graph_objects.treemap.Marker` instance
            or dict with compatible properties
        maxdepth
            Sets the number of rendered sectors from any given
            `level`. Set `maxdepth` to "-1" to render all the
            levels in the hierarchy.
        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. This option refers to the root of the hierarchy
            presented on top left corner of a treemap graph. Please
            note that if a hierarchy has multiple root nodes, this
            option won't have any effect and `insidetextfont` would
            be used.
        parents
            Sets the parent sectors for each of the sectors. Empty
            string items '' are understood to reference the root
            node in the hierarchy. If `ids` is filled, `parents`
            items are understood to be "ids" themselves. When `ids`
            is not set, plotly attempts to find matching items in
            `labels`, but beware they must be unique.
        parentssrc
            Sets the source reference on Chart Studio Cloud for
            `parents`.
        pathbar
            :class:`plotly.graph_objects.treemap.Pathbar` instance
            or dict with compatible properties
        root
            :class:`plotly.graph_objects.treemap.Root` instance or
            dict with compatible properties
        sort
            Determines whether or not the sectors are reordered
            from largest to smallest.
        stream
            :class:`plotly.graph_objects.treemap.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
            Sets the positions of the `text` elements.
        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 `currentPath`, `root`, `entry`,
            `percentRoot`, `percentEntry`, `percentParent`, `label`
            and `value`.
        texttemplatesrc
            Sets the source reference on Chart Studio Cloud for
            `texttemplate`.
        tiling
            :class:`plotly.graph_objects.treemap.Tiling` instance
            or dict with compatible properties
        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 associated with each of the sectors.
            Use with `branchvalues` to determine how the values are
            summed.
        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
        -------
        Treemap
        r   _parentNzThe first argument to the plotly.graph_objs.Treemap
constructor must be a dict or
an instance of :class:`plotly.graph_objs.Treemap`skip_invalidF	_validateTr-   r   r'   r2   r   r#   r.   r(   r3   r7   r$   r/   r   r   r4   r   r%   r   r8   r)   r,   r   r   r    r
   r   r   r   r5   r   r*   r   r   r   r   r   r!   r"   r0   r   r1   r6   r   r	   r+   r   r&   r   r   r:   )superr   __init__r   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidr   r   _process_kwargs)5r<   argr-   r   r'   r2   r   r#   r.   r(   r3   r7   r$   r/   r   r   r4   r   r%   r   r8   r)   r,   r   r   r    r
   r   r   r   r5   r   r*   r   r   r   r   r   r!   r"   r0   r   r1   r6   r   r	   r+   r   r&   r   kwargs_vr   s5                                                       r=   r   zTreemap.__init__k  s.
   D
 	gt%%i000!),DLF ;CCT^,, 
	$$&&CCT"" 	*S//CC5   $ZZ>>K66 WW^T**)5\\2>#%D WWWd##'UUR>DMWW\4((%1ZZr>!#DWW_d+++7]]R>$&D!WWXt$$)VVr>DN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!"WWXt$$)VVr>DNWW[$''#/YYR> "DWWXt$$)VVr>DNWW'..!1!=2>')D#$WW\4((%1ZZr>!#DWW]D))'3[[>"$DWWWd##'UUR>DMWWXt$$)VVr>DNWWZ&&!-XX2>!DWWVT""%TT2>DLWWY%%+WW> DOWWVT""%TT2>DLWWY%%+WW> DOWW&-- / ;__>&(D"#WWY%%+WW> DOWW\4((%1ZZr>!#DWWY%%+WW> DOWWVT""%TT2>DLWWVT""%TT2>DLWWXt$$)VVr>DNWWVT""%TT2>DLWWZ&&!-XX2>!DWWZ&&!-XX2>!DWW^T**)5\\2>#%D WWY%%+WW> DOWW^T**)5\\2>#%D WW&-- / ;__>&(D"#WWXt$$)VVr>DN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 #r>   )1NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN)<__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr-   setterr   r'   r2   r   r#   r.   r(   r3   r7   r$   r/   r   r   r4   r   r%   r   r8   r)   r,   r   r   r    r
   r   r   r   r5   r   r*   r   r   r   r   r   r!   r"   r0   r   r1   r6   r   r	   r+   r   r&   r   r   r   r   __classcell__)r   s   @r=   r   r      s        I2 2 2Ll $ $ X$& # # #
   X" \  \
 " " X"  ! ! !
 % % X% $ $ $
   X< ]  ]
 ! ! X!&      
 $ $ X$ # # #
 2" 2" X2"h ! ! !
 &% &% X&%P $ $ $
 ( ( X( ' ' '
 ! ! X!&      
 $ $ X$ # # #
   X 	Z  Z
   X ]  ]
 W& W& XW&r % % %
   X ]  ]
 ! ! X!      
   X$ ]  ]
 ( ( X(* ' ' '
 " " X"( ! ! !
 # # X# " " "
   X \  \
 x x Xxt ]  ]
     X  _  _
   X* 
[  [
   X ^  ^
   X 
[  [
   X ^  ^
 [' [' X['z & & &
   X$ ^  ^
 " " X" ! ! !
   XB ^  ^
   X, 
[  [
   X 
[  [
   X4 ]  ]
   X" 
[  [
 W  W  XW r _  _
     X   _  _
 $ $ X$  # # #
   X ^  ^
 $ $ X$: # # #
 ' ' X' & & &
 ( ( X(T ]  ]
   X 	Z  Z
 " " X"4 ! ! !
   X ]  ]
 ! ! X!      
   X  ^  ^
 # # X#
 } } X}B el# l# l# l# l# l# l# l# l# l#r>   r   )plotly.basedatatypesr   _BaseTraceTyper   r   r   r:   r>   r=   <module>r      sa    @ @ @ @ @ @    R&# R&# R&# R&# R&#n R&# R&# R&# R&# R&#r>   