L i@ddlZddlZddlmZGddZedddd d d d d ZeddddZeddddddddddddd d!d"#Zeeeeeee$Z y)%N)NumpyDocStringcteZdZejdej ZddZdZe dZ e dZ y)DocstringComponentsz\n((\n|.)+)\n\s*c|r^i}|jD]A\}}tj|j|}||||<.|j d||<C||_y|j }||_y)z@Read entries from a dict, optionally stripping outer whitespace.Nr)itemsrematchregexpgroupcopyentries)self comp_dictstrip_whitespacerkeyvalms Y/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/seaborn/_docstrings.py__init__zDocstringComponents.__init__ su G%OO- .SHHT[[#.9#&GCL#$771:GCL  .  nn&G c||jvr|j|S |j|S#t$r} |d}~wwxYw)z7Provide dot access to entries for clean raw docstrings.N)r__getattribute__AttributeError)rattrerrs r __getattr__zDocstringComponents.__getattr__sM 4<< <<% % ,,T22!  I s0 A<Ac ||dS)z$Add multiple sub-sets of components.F)r)clskwargss rfrom_nested_componentsz*DocstringComponents.from_nested_components+s6E22rcttj|d}i}|D]B}|j}|j}dj |j }|d|d|||<D||S)zAUse the numpydoc parser to extract components from existing func. Parametersz z : )rpydocgetdocnametypejoindesc)r funcparamsrpr'r(r*s rfrom_function_paramsz(DocstringComponents.from_function_params0sz  T 23LA  =A66D66D==(D!%c$vdV` 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. )dataxyhuepalette hue_orderhue_normcoloraxzP :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 jointgridpairgridz+ 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. ) scatterplotlineplotdisplothistplotkdeplotecdfplotrugplot stripplot swarmplot violinplot pointplot jointplotpairplotr>r?)r,returnsseealso) r r%external.docscraperrdict _core_params _core_returns_seealso_blurbs _core_docsrrrrUs .55~         K* Z   .      g6r | ,  .  0 r