Files
intellecton/venv/lib/python3.12/site-packages/matplotlib/__pycache__/container.cpython-312.pyc
T

91 lines
6.5 KiB
Plaintext
Raw Normal View History

Ë
†RãótddlmZddlmZGdde«ZGdde«ZGdde«ZGd „d
e«Zy ) é)Úcbook)ÚArtistcó¨eZdZdZdZdZddZdZdZe jZ
e jZ e jZ e jZ
e jZy) Ú ContainerzŽ
Base class for containers.
Containers are classes that collect semantically related Artists such as
the bars of a bar plot.
cóLdt|«jdt|«dS)<z object of z artists>)ÚtypeÚ__name__Úlen)Úselfs úW/home/antigravity/intellecton/venv/lib/python3.12/site-packages/matplotlib/container.pyÚ__repr__zContainer.__repr__
s&Ø”4˜“:×' {´3°t³9°+¸có4tj||d«S)Nr)ÚtupleÚ__new__)ÚclsÚargsÚkwargss r
rzContainer.__new__sÜ}‰}˜S $ q¡'Ó*rNcó~tjdg¬«|_d|_|t |«|_yd|_y)pchanged)Úsignals)rÚCallbackRegistryÚ
_callbacksÚ_remove_methodÚstrÚ_label)r ÚklÚlabels r
Ú__init__zContainer.__init__s4Ü×0¸*¸ÔŒØ"ˆÔØ$)Ð$5”c˜%“jˆ ¸4ˆ rcó tj|d¬«D]}|Œ|j«Œ|jr|j|«yy)Ncó"t|t«S©N)Ú
isinstancer)Úxs r
ú<lambda>z"Container.remove.<locals>.<lambda>s
¬
°1´fÓ(=€r)Úscalarp)rÚflattenÚremover)r Úcs r
r)zContainer.removesLÜØÑ ˆAà‰}Ø
ð ð × Ò Ø × Ñ  Õ  rcóXtj|«Dcgc]}|Œ|Œ c}Scc}wr#)rr()r Úchilds r
Ú get_childrenzContainer.get_children s$Ü#(§=¡=°Ó#6ÖL˜%¸%Ñ:KÒLùÒLs˜' 'r#)r
Ú
__module__Ú __qualname__Ú__doc__rrr r)r-rÚ get_labelÚ set_labelÚ add_callbackÚremove_callbackr©rr
rrsZñòHò@ò
Mð× Ñ €IØ× Ñ €IØ×&€LØ×,€OØHrrcó,eZdZdZddddœˆfd ZˆxZS)Ú BarContainera4
Container for the artists of bar plots (e.g. created by `.Axes.bar`).
The container can be treated as a tuple of the *patches* themselves.
Additionally, you can access these and further parameters by the
attributes.
Attributes
----------
patches : list of :class:`~matplotlib.patches.Rectangle`
The artists of the bars.
errorbar : None or :class:`~matplotlib.container.ErrorbarContainer`
A container for the error bar artists if error bars are present.
*None* otherwise.
datavalues : None or array-like
The underlying data values corresponding to the bars.
orientation : {'vertical', 'horizontal'}, default: None
If 'vertical', the bars are assumed to be vertical.
If 'horizontal', the bars are assumed to be horizontal.
N)Ú
datavaluesÚ orientationc ó^||_||_||_||_t ||fi|¤Žyr#)ÚpatchesÚerrorbarr8r9Úsuperr )r r;r<r8r9rÚ __class__s €r
r zBarContainer.__init__Ds2ø€àˆŒ Ø ˆŒ
ØŒØÔÜ
јÑ+ +rr#©r
r.r/r0r Ú
__classcell__©r>s@r
r7r7*sø„ñð2,¸TØ,rr7có$eZdZdZdˆfd„ ZˆxZS)ÚErrorbarContaineraø
Container for the artists of error bars (e.g. created by `.Axes.errorbar`).
The container can be treated as the *lines* tuple itself.
Additionally, you can access these and further parameters by the
attributes.
Attributes
----------
lines : tuple
Tuple of ``(data_line, caplines, barlinecols)``.
- data_line : A `~matplotlib.lines.Line2D` instance of x, y plot markers
and/or line.
- caplines : A tuple of `~matplotlib.lines.Line2D` instances of the error
bar caps.
- barlinecols : A tuple of `~matplotlib.collections.LineCollection` with the
horizontal and vertical error ranges.
has_xerr, has_yerr : bool
``True`` if the errorbar has x/y errors.
c óP||_||_||_t||fi|¤Žyr#)ÚlinesÚhas_xerrÚhas_yerrr=r )r rErFrGrr>s €r
r zErrorbarContainer.__init__fs*ø€ØˆŒ
Ø ˆŒ
Ø ˆŒ
Ü
јÑ) )r)FFr?rAs@r
rCrCMsø„ñ÷0*rrCcó"eZdZdZˆfdZˆxZS)Ú
StemContaineraõ
Container for the artists created in a :meth:`.Axes.stem` plot.
The container can be treated like a namedtuple ``(markerline, stemlines,
baseline)``.
Attributes
----------