
    hMh@                        d dl Z d dlZddlmZ  G d d          Z edddd	d
ddd          Z edddd          Z eddddddddddddd d!d"#          Z e ee           ee           ee          $          Z	dS )%    N   )NumpyDocStringc                   t    e Zd Z ej        dej                  ZddZd Ze	d             Z
e	d             ZdS )	DocstringComponentsz\n((\n|.)+)\n\s*Tc                     |rWi }|                                 D ]?\  }}t          j        | j        |          }||||<   '|                    d          ||<   @n|                                }|| _        dS )z@Read entries from a dict, optionally stripping outer whitespace.Nr   )itemsrematchregexpgroupcopyentries)self	comp_dictstrip_whitespacer   keyvalms          S/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/seaborn/_docstrings.py__init__zDocstringComponents.__init__
   s     		'G%OO-- . .SHT[#..9#&GCLL#$771::GCLL.  nn&&G    c                     || j         v r| j         |         S 	 |                     |          S # t          $ r}	 |d}~ww xY w)z7Provide dot access to entries for clean raw docstrings.TN)r   __getattribute__AttributeError)r   attrerrs      r   __getattr__zDocstringComponents.__getattr__   s^    4<<%%,,T222! 	 	 	I	s   - 
?:?c                      | |d          S )z$Add multiple sub-sets of components.F)r    )clskwargss     r   from_nested_componentsz*DocstringComponents.from_nested_components+   s     s6E2222r   c                     t          t          j        |                    d         }i }|D ]7}|j        }|j        }d                    |j                  }| d| d| ||<   8 | |          S )zAUse the numpydoc parser to extract components from existing func.
Parametersz
    z : )r   pydocgetdocnametypejoindesc)r    funcparamsr   pr'   r(   r*   s           r   from_function_paramsz(DocstringComponents.from_function_params0   s      T 2 233LA	 	= 	=A6D6D==((D!%<<$<<d<<IdOOs9~~r   N)T)__name__
__module____qualname__r	   compile	MULTILINEr   r   r   classmethodr"   r.   r   r   r   r   r      s        RZ+R\::F     $ 3 3 [3 
 
 [
 
 
r   r   a   
data : :class:`pandas.DataFrame`, :class:`numpy.ndarray`, mapping, or sequence
    Input data structure. Either a long-form collection of vectors that can be
    assigned to named variables or a wide-form dataset that will be internally
    reshaped.
    zb
x, y : vectors or keys in ``data``
    Variables that specify positions on the x and y axes.
    zs
hue : vector or key in ``data``
    Semantic variable that is mapped to determine the color of plot elements.
    a2  
palette : string, list, dict, or :class:`matplotlib.colors.Colormap`
    Method for choosing the colors to use when mapping the ``hue`` semantic.
    String values are passed to :func:`color_palette`. List or dict values
    imply categorical mapping, while a colormap object implies numeric mapping.
    z
hue_order : vector of strings
    Specify the order of processing and plotting for categorical levels of the
    ``hue`` semantic.
    z
hue_norm : tuple or :class:`matplotlib.colors.Normalize`
    Either a pair of values that set the normalization range in data units
    or an object that will map from data units into a [0, 1] interval. Usage
    implies numeric mapping.
    z
color : :mod:`matplotlib color <matplotlib.colors>`
    Single color specification for when hue mapping is not used. Otherwise, the
    plot will try to hook into the matplotlib property cycle.
    z
ax : :class:`matplotlib.axes.Axes`
    Pre-existing axes for the plot. Otherwise, call :func:`matplotlib.pyplot.gca`
    internally.
    )dataxyhuepalette	hue_orderhue_normcoloraxzP
:class:`matplotlib.axes.Axes`
    The matplotlib axes containing the plot.
    z
:class:`FacetGrid`
    An object managing one or more subplots that correspond to conditional data
    subsets with convenient methods for batch-setting of axes attributes.
    z
:class:`JointGrid`
    An object managing multiple subplots that correspond to joint and marginal axes
    for plotting a bivariate relationship or distribution.
    z
:class:`PairGrid`
    An object managing multiple subplots that correspond to joint and marginal axes
    for pairwise combinations of multiple variables in a dataset.
    )r<   	facetgrid	jointgridpairgridz+
scatterplot : Plot data using points.
    z'
lineplot : Plot data using lines.
    zF
displot : Figure-level interface to distribution plot functions.
    z\
histplot : Plot a histogram of binned counts with optional normalization or smoothing.
    z[
kdeplot : Plot univariate or bivariate distributions using kernel density estimation.
    zB
ecdfplot : Plot empirical cumulative distribution functions.
    zP
rugplot : Plot a tick at each observation value along the x and/or y axes.
    z9
stripplot : Plot a categorical scatter with jitter.
    zI
swarmplot : Plot a categorical scatter with non-overlapping points.
    zL
violinplot : Draw an enhanced boxplot using kernel density estimation.
    zG
pointplot : Plot point estimates and CIs using markers and lines.
    zO
jointplot : Draw a bivariate plot with univariate marginal distributions.
    zW
jointplot : Draw multiple bivariate plots with univariate marginal distributions.
    zR
JointGrid : Set up a figure with joint and marginal views on bivariate data.
    zU
PairGrid : Set up a figure with joint and marginal views on multiple variables.
    )scatterplotlineplotdisplothistplotkdeplotecdfplotrugplot	stripplot	swarmplot
violinplot	pointplot	jointplotpairplotr>   r?   )r,   returnsseealso)
r	   r%   external.docscraper   r   dict_core_params_core_returns_seealso_blurbs
_core_docsr   r   r   <module>rU      sk   				  . . . . . .5 5 5 5 5 5 5 5~ t
	

K* * *Z 

  . $


g6 6 6r T|,,..00  


r   