
    -Phx                     6    d dl mZ d dlZ G d de          ZdS )    )BaseLayoutHierarchyTypeNc                       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"	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 	 d; fd:	Z# xZ$S )<Legendlayoutzlayout.legend>   xyfontxrefyreftitlevalignbgcolorvisiblexanchoryanchor	itemclick	itemwidth
entrywidth
groupclick
itemsizing
traceorder
uirevisionbordercolorborderwidthindentationorientationtracegroupgapentrywidthmodegrouptitlefontitemdoubleclickc                     | d         S )a  
        Sets the legend background color. Defaults to
        `layout.paper_bgcolor`.

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

        Returns
        -------
        str
        r    selfs    `/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/plotly/graph_objs/layout/_legend.pyr   zLegend.bgcolor)   s    " I    c                     || d<   d S )Nr   r"   r$   vals     r%   r   zLegend.bgcolor<       Yr&   c                     | d         S )a  
        Sets the color of the border enclosing the legend.

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

        Returns
        -------
        str
        r   r"   r#   s    r%   r   zLegend.bordercolor@   s      M""r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.bordercolorR       !]r&   c                     | d         S )z
        Sets the width (in px) of the border enclosing the legend.

        The 'borderwidth' 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Legend.borderwidthV        M""r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.borderwidthd   r-   r&   c                     | d         S )a^  
        Sets the width (in px or fraction) of the legend. Use 0 to size
        the entry based on the text width, when `entrywidthmode` is set
        to "pixels".

        The 'entrywidth' 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Legend.entrywidthh   s     L!!r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.entrywidthx        \r&   c                     | d         S )a  
        Determines what entrywidth means.

        The 'entrywidthmode' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['fraction', 'pixels']

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.entrywidthmode|   s     $%%r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.entrywidthmode       !$r&   c                     | d         S )a  
        Sets the font used to text the legend items.

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

        Returns
        -------
        plotly.graph_objs.layout.legend.Font
        r	   r"   r#   s    r%   r	   zLegend.font        F|r&   c                     || d<   d S )Nr	   r"   r(   s     r%   r	   zLegend.font       Vr&   c                     | d         S )a  
        Determines the behavior on legend group item click.
        "toggleitem" toggles the visibility of the individual item
        clicked on the graph. "togglegroup" toggles the visibility of
        all items in the same legendgroup as the item clicked on the
        graph.

        The 'groupclick' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['toggleitem', 'togglegroup']

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.groupclick   s    " L!!r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.groupclick   r3   r&   c                     | d         S )a  
        Sets the font for group titles in legend. Defaults to
        `legend.font` with its size increased about 10%.

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

        Returns
        -------
        plotly.graph_objs.layout.legend.Grouptitlefont
        r   r"   r#   s    r%   r   zLegend.grouptitlefont   s      $%%r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.grouptitlefont   r6   r&   c                     | d         S )z
        Sets the indentation (in px) of the legend entries.

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

        Returns
        -------
        int|float
        r   r"   r#   s    r%   r   zLegend.indentation   r/   r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.indentation   r-   r&   c                     | d         S )a  
        Determines the behavior on legend item click. "toggle" toggles
        the visibility of the item clicked on the graph. "toggleothers"
        makes the clicked item the sole visible item on the graph.
        False disables legend item click interactions.

        The 'itemclick' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['toggle', 'toggleothers', False]

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.itemclick   s      K  r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.itemclick       [r&   c                     | d         S )a  
        Determines the behavior on legend item double-click. "toggle"
        toggles the visibility of the item clicked on the graph.
        "toggleothers" makes the clicked item the sole visible item on
        the graph. False disables legend item double-click
        interactions.

        The 'itemdoubleclick' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['toggle', 'toggleothers', False]

        Returns
        -------
        Any
        r    r"   r#   s    r%   r    zLegend.itemdoubleclick   s    " %&&r&   c                     || d<   d S )Nr    r"   r(   s     r%   r    zLegend.itemdoubleclick  s    "%r&   c                     | d         S )a  
        Determines if the legend items symbols scale with their
        corresponding "trace" attributes or remain "constant"
        independent of the symbol size on the graph.

        The 'itemsizing' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['trace', 'constant']

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.itemsizing  s     L!!r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.itemsizing!  r3   r&   c                     | d         S )a!  
        Sets the width (in px) of the legend item symbols (the part
        other than the title.text).

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

        Returns
        -------
        int|float
        r   r"   r#   s    r%   r   zLegend.itemwidth%  s     K  r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.itemwidth4  rC   r&   c                     | d         S )a  
        Sets the orientation of the legend.

        The 'orientation' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['v', 'h']

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.orientation8  s     M""r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.orientationG  r-   r&   c                     | d         S )a`  
        The 'title' property is an instance of Title
        that may be specified as:
          - An instance of :class:`plotly.graph_objs.layout.legend.Title`
          - A dict of string/value properties that will be passed
            to the Title constructor

        Returns
        -------
        plotly.graph_objs.layout.legend.Title
        r   r"   r#   s    r%   r   zLegend.titleK  s     G}r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.titleZ  s    Wr&   c                     | d         S )a  
        Sets the amount of vertical space (in px) between legend
        groups.

        The 'tracegroupgap' 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Legend.tracegroupgap^  s     O$$r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.tracegroupgapm  s     #_r&   c                     | d         S )a  
        Determines the order at which the legend items are displayed.
        If "normal", the items are displayed top-to-bottom in the same
        order as the input data. If "reversed", the items are displayed
        in the opposite order as "normal". If "grouped", the items are
        displayed in groups (when a trace `legendgroup` is provided).
        if "grouped+reversed", the items are displayed in the opposite
        order as "grouped".

        The 'traceorder' property is a flaglist and may be specified
        as a string containing:
          - Any combination of ['reversed', 'grouped'] joined with '+' characters
            (e.g. 'reversed+grouped')
            OR exactly one of ['normal'] (e.g. 'normal')

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.traceorderq  s    * L!!r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.traceorder  r3   r&   c                     | d         S )z
        Controls persistence of legend-driven changes in trace and pie
        label visibility. Defaults to `layout.uirevision`.

        The 'uirevision' property accepts values of any type

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.uirevision  s     L!!r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.uirevision  r3   r&   c                     | d         S )aD  
        Sets the vertical alignment of the symbols with respect to
        their associated text.

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

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.valign  s     H~r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.valign  s    Xr&   c                     | d         S )z
        Determines whether or not this legend is visible.

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

        Returns
        -------
        bool
        r   r"   r#   s    r%   r   zLegend.visible  s     Ir&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.visible  r*   r&   c                     | d         S )aU  
        Sets the x position with respect to `xref` (in normalized
        coordinates) of the legend. When `xref` is "paper", defaults to
        1.02 for vertical legends and defaults to 0 for horizontal
        legends. When `xref` is "container", defaults to 1 for vertical
        legends and defaults to 0 for horizontal legends. Must be
        between 0 and 1 if `xref` is "container". and between "-2" and
        3 if `xref` is "paper".

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

        Returns
        -------
        int|float
        r   r"   r#   s    r%   r   zLegend.x  s    $ Cyr&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.x      S			r&   c                     | d         S )av  
        Sets the legend's horizontal position anchor. This anchor binds
        the `x` position to the "left", "center" or "right" of the
        legend. Value "auto" anchors legends to the right for `x`
        values greater than or equal to 2/3, anchors legends to the
        left for `x` values less than or equal to 1/3 and anchors
        legends with respect to their center otherwise.

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

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.xanchor      $ Ir&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.xanchor  r*   r&   c                     | d         S )a~  
        Sets the container `x` refers to. "container" spans the entire
        `width` of the plot. "paper" refers to the width of the
        plotting area only.

        The 'xref' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['container', 'paper']

        Returns
        -------
        Any
        r
   r"   r#   s    r%   r
   zLegend.xref  r8   r&   c                     || d<   d S )Nr
   r"   r(   s     r%   r
   zLegend.xref  r:   r&   c                     | d         S )a  
        Sets the y position with respect to `yref` (in normalized
        coordinates) of the legend. When `yref` is "paper", defaults to
        1 for vertical legends, defaults to "-0.1" for horizontal
        legends on graphs w/o range sliders and defaults to 1.1 for
        horizontal legends on graph with one or multiple range sliders.
        When `yref` is "container", defaults to 1. Must be between 0
        and 1 if `yref` is "container" and between "-2" and 3 if `yref`
        is "paper".

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

        Returns
        -------
        int|float
        r   r"   r#   s    r%   r   zLegend.y	  s    & Cyr&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.y  rZ   r&   c                     | d         S )az  
        Sets the legend's vertical position anchor This anchor binds
        the `y` position to the "top", "middle" or "bottom" of the
        legend. Value "auto" anchors legends at their bottom for `y`
        values less than or equal to 1/3, anchors legends to at their
        top for `y` values greater than or equal to 2/3 and anchors
        legends with respect to their middle otherwise.

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

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.yanchor"  r\   r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.yanchor6  r*   r&   c                     | d         S )a  
        Sets the container `y` refers to. "container" spans the entire
        `height` of the plot. "paper" refers to the height of the
        plotting area only.

        The 'yref' property is an enumeration that may be specified as:
          - One of the following enumeration values:
                ['container', 'paper']

        Returns
        -------
        Any
        r   r"   r#   s    r%   r   zLegend.yref:  r8   r&   c                     || d<   d S )Nr   r"   r(   s     r%   r   zLegend.yrefK  r:   r&   c                     dS )NaB          bgcolor
            Sets the legend background color. Defaults to
            `layout.paper_bgcolor`.
        bordercolor
            Sets the color of the border enclosing the legend.
        borderwidth
            Sets the width (in px) of the border enclosing the
            legend.
        entrywidth
            Sets the width (in px or fraction) of the legend. Use 0
            to size the entry based on the text width, when
            `entrywidthmode` is set to "pixels".
        entrywidthmode
            Determines what entrywidth means.
        font
            Sets the font used to text the legend items.
        groupclick
            Determines the behavior on legend group item click.
            "toggleitem" toggles the visibility of the individual
            item clicked on the graph. "togglegroup" toggles the
            visibility of all items in the same legendgroup as the
            item clicked on the graph.
        grouptitlefont
            Sets the font for group titles in legend. Defaults to
            `legend.font` with its size increased about 10%.
        indentation
            Sets the indentation (in px) of the legend entries.
        itemclick
            Determines the behavior on legend item click. "toggle"
            toggles the visibility of the item clicked on the
            graph. "toggleothers" makes the clicked item the sole
            visible item on the graph. False disables legend item
            click interactions.
        itemdoubleclick
            Determines the behavior on legend item double-click.
            "toggle" toggles the visibility of the item clicked on
            the graph. "toggleothers" makes the clicked item the
            sole visible item on the graph. False disables legend
            item double-click interactions.
        itemsizing
            Determines if the legend items symbols scale with their
            corresponding "trace" attributes or remain "constant"
            independent of the symbol size on the graph.
        itemwidth
            Sets the width (in px) of the legend item symbols (the
            part other than the title.text).
        orientation
            Sets the orientation of the legend.
        title
            :class:`plotly.graph_objects.layout.legend.Title`
            instance or dict with compatible properties
        tracegroupgap
            Sets the amount of vertical space (in px) between
            legend groups.
        traceorder
            Determines the order at which the legend items are
            displayed. If "normal", the items are displayed top-to-
            bottom in the same order as the input data. If
            "reversed", the items are displayed in the opposite
            order as "normal". If "grouped", the items are
            displayed in groups (when a trace `legendgroup` is
            provided). if "grouped+reversed", the items are
            displayed in the opposite order as "grouped".
        uirevision
            Controls persistence of legend-driven changes in trace
            and pie label visibility. Defaults to
            `layout.uirevision`.
        valign
            Sets the vertical alignment of the symbols with respect
            to their associated text.
        visible
            Determines whether or not this legend is visible.
        x
            Sets the x position with respect to `xref` (in
            normalized coordinates) of the legend. When `xref` is
            "paper", defaults to 1.02 for vertical legends and
            defaults to 0 for horizontal legends. When `xref` is
            "container", defaults to 1 for vertical legends and
            defaults to 0 for horizontal legends. Must be between 0
            and 1 if `xref` is "container". and between "-2" and 3
            if `xref` is "paper".
        xanchor
            Sets the legend's horizontal position anchor. This
            anchor binds the `x` position to the "left", "center"
            or "right" of the legend. Value "auto" anchors legends
            to the right for `x` values greater than or equal to
            2/3, anchors legends to the left for `x` values less
            than or equal to 1/3 and anchors legends with respect
            to their center otherwise.
        xref
            Sets the container `x` refers to. "container" spans the
            entire `width` of the plot. "paper" refers to the width
            of the plotting area only.
        y
            Sets the y position with respect to `yref` (in
            normalized coordinates) of the legend. When `yref` is
            "paper", defaults to 1 for vertical legends, defaults
            to "-0.1" for horizontal legends on graphs w/o range
            sliders and defaults to 1.1 for horizontal legends on
            graph with one or multiple range sliders. When `yref`
            is "container", defaults to 1. Must be between 0 and 1
            if `yref` is "container" and between "-2" and 3 if
            `yref` is "paper".
        yanchor
            Sets the legend's vertical position anchor This anchor
            binds the `y` position to the "top", "middle" or
            "bottom" of the legend. Value "auto" anchors legends at
            their bottom for `y` values less than or equal to 1/3,
            anchors legends to at their top for `y` values greater
            than or equal to 2/3 and anchors legends with respect
            to their middle otherwise.
        yref
            Sets the container `y` refers to. "container" spans the
            entire `height` of the plot. "paper" refers to the
            height of the plotting area only.
        r"   r#   s    r%   _prop_descriptionszLegend._prop_descriptionsO  s    t tr&   Nc           	         t                                          d           d|v r|d         | _        dS |i }nct          || j                  r|                                }n9t          |t                    rt          j        |          }nt          d          |
                    dd          | _        |
                    dd          | _        |                     d	||           |                     d
||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||	           |                     d||
           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d||           |                     d ||           |                     d!||           |                     d"||            | j        d#i t          |fi | d| _        dS )$aS  
        Construct a new Legend object

        Parameters
        ----------
        arg
            dict of properties compatible with this constructor or
            an instance of :class:`plotly.graph_objs.layout.Legend`
        bgcolor
            Sets the legend background color. Defaults to
            `layout.paper_bgcolor`.
        bordercolor
            Sets the color of the border enclosing the legend.
        borderwidth
            Sets the width (in px) of the border enclosing the
            legend.
        entrywidth
            Sets the width (in px or fraction) of the legend. Use 0
            to size the entry based on the text width, when
            `entrywidthmode` is set to "pixels".
        entrywidthmode
            Determines what entrywidth means.
        font
            Sets the font used to text the legend items.
        groupclick
            Determines the behavior on legend group item click.
            "toggleitem" toggles the visibility of the individual
            item clicked on the graph. "togglegroup" toggles the
            visibility of all items in the same legendgroup as the
            item clicked on the graph.
        grouptitlefont
            Sets the font for group titles in legend. Defaults to
            `legend.font` with its size increased about 10%.
        indentation
            Sets the indentation (in px) of the legend entries.
        itemclick
            Determines the behavior on legend item click. "toggle"
            toggles the visibility of the item clicked on the
            graph. "toggleothers" makes the clicked item the sole
            visible item on the graph. False disables legend item
            click interactions.
        itemdoubleclick
            Determines the behavior on legend item double-click.
            "toggle" toggles the visibility of the item clicked on
            the graph. "toggleothers" makes the clicked item the
            sole visible item on the graph. False disables legend
            item double-click interactions.
        itemsizing
            Determines if the legend items symbols scale with their
            corresponding "trace" attributes or remain "constant"
            independent of the symbol size on the graph.
        itemwidth
            Sets the width (in px) of the legend item symbols (the
            part other than the title.text).
        orientation
            Sets the orientation of the legend.
        title
            :class:`plotly.graph_objects.layout.legend.Title`
            instance or dict with compatible properties
        tracegroupgap
            Sets the amount of vertical space (in px) between
            legend groups.
        traceorder
            Determines the order at which the legend items are
            displayed. If "normal", the items are displayed top-to-
            bottom in the same order as the input data. If
            "reversed", the items are displayed in the opposite
            order as "normal". If "grouped", the items are
            displayed in groups (when a trace `legendgroup` is
            provided). if "grouped+reversed", the items are
            displayed in the opposite order as "grouped".
        uirevision
            Controls persistence of legend-driven changes in trace
            and pie label visibility. Defaults to
            `layout.uirevision`.
        valign
            Sets the vertical alignment of the symbols with respect
            to their associated text.
        visible
            Determines whether or not this legend is visible.
        x
            Sets the x position with respect to `xref` (in
            normalized coordinates) of the legend. When `xref` is
            "paper", defaults to 1.02 for vertical legends and
            defaults to 0 for horizontal legends. When `xref` is
            "container", defaults to 1 for vertical legends and
            defaults to 0 for horizontal legends. Must be between 0
            and 1 if `xref` is "container". and between "-2" and 3
            if `xref` is "paper".
        xanchor
            Sets the legend's horizontal position anchor. This
            anchor binds the `x` position to the "left", "center"
            or "right" of the legend. Value "auto" anchors legends
            to the right for `x` values greater than or equal to
            2/3, anchors legends to the left for `x` values less
            than or equal to 1/3 and anchors legends with respect
            to their center otherwise.
        xref
            Sets the container `x` refers to. "container" spans the
            entire `width` of the plot. "paper" refers to the width
            of the plotting area only.
        y
            Sets the y position with respect to `yref` (in
            normalized coordinates) of the legend. When `yref` is
            "paper", defaults to 1 for vertical legends, defaults
            to "-0.1" for horizontal legends on graphs w/o range
            sliders and defaults to 1.1 for horizontal legends on
            graph with one or multiple range sliders. When `yref`
            is "container", defaults to 1. Must be between 0 and 1
            if `yref` is "container" and between "-2" and 3 if
            `yref` is "paper".
        yanchor
            Sets the legend's vertical position anchor This anchor
            binds the `y` position to the "top", "middle" or
            "bottom" of the legend. Value "auto" anchors legends at
            their bottom for `y` values less than or equal to 1/3,
            anchors legends to at their top for `y` values greater
            than or equal to 2/3 and anchors legends with respect
            to their middle otherwise.
        yref
            Sets the container `y` refers to. "container" spans the
            entire `height` of the plot. "paper" refers to the
            height of the plotting area only.

        Returns
        -------
        Legend
        legend_parentNzThe first argument to the plotly.graph_objs.layout.Legend
constructor must be a dict or
an instance of :class:`plotly.graph_objs.layout.Legend`skip_invalidF	_validateTr   r   r   r   r   r	   r   r   r   r   r    r   r   r   r   r   r   r   r   r   r   r   r
   r   r   r   r"   )super__init__rj   
isinstance	__class__to_plotly_jsondict_copycopy
ValueErrorpop_skip_invalidrl   _set_property_process_kwargs)r$   argr   r   r   r   r   r	   r   r   r   r   r    r   r   r   r   r   r   r   r   r   r   r   r
   r   r   r   kwargsrp   s                                r%   rn   zLegend.__init__  s|   ~ 	"""!),DLF;CCT^,, 
	$$&&CCT"" 	*S//CC;   $ZZ>>K669c7333=#{;;;=#{;;;<j999+S.AAA63---<j999+S.AAA=#{;;;;Y777,c?CCC<j999;Y777=#{;;;7C///?C???<j999<j9998S&1119c73333Q'''9c733363---3Q'''9c733363---33tC22622333"r&   )NNNNNNNNNNNNNNNNNNNNNNNNNNN)%__name__
__module____qualname___parent_path_str	_path_str_valid_propspropertyr   setterr   r   r   r   r	   r   r   r   r   r    r   r   r   r   r   r   r   r   r   r   r   r
   r   r   r   rg   rn   __classcell__)rp   s   @r%   r   r      s       I  L:   X$ ^  ^ # # X#" " " " # # X# " " " " " X" ! ! ! & & X& % % %   X  
[  [ " " X"$ ! ! ! & & X&" % % % # # X# " " " ! ! X!"       ' ' X'$ & & & " " X"  ! ! ! ! ! X!       # # X# " " "   X \  \ % % X% $ $ $ " " X", ! ! ! " " X" ! ! !   X ]  ]   X ^  ^   X& X  X   X& ^  ^   X  
[  [   X( X  X   X& ^  ^   X  
[  [ u u Xur 

9P# P# P# P# P# P# P# P# P# P#r&   r   )plotly.basedatatypesr   _BaseLayoutHierarchyTypert   rs   r   r"   r&   r%   <module>r      se    U T T T T T    O# O# O# O# O#% O# O# O# O# O#r&   