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

Ë
†RjÕãót—ddlmZddlmZGd„de«ZGd„de«ZGd„de«ZGd „d
e«Zy ) é)Úcbook)ÚArtistcó¨—eZdZdZd„Zd„Zdd„Zd„Zd„Ze 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óL—dt|«j›dt|«›d�S)Nú<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°+¸YÐGÐGócó4—tj||d«S)Nr)ÚtupleÚ__new__)ÚclsÚargsÚkwargss r
rzContainer.__new__s€Ü�}‰}˜S $ q¡'Ó*Ð*rNcó~—tjdg¬«|_d|_|�t |«|_yd|_y)NÚpchanged)Úsignals)rÚCallbackRegistryÚ
_callbacksÚ_remove_methodÚstrÚ_label)r ÚklÚlabels r
Ú__init__zContainer.__init__s4€Ü×0Ñ0¸*¸ÔFˆŒØ"ˆÔØ$)Ð$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óX—tj|«D�cgc]}|€Œ|‘Œ c}Scc}wr#)rr()r Úchilds r
Ú get_childrenzContainer.get_children s$€Ü#(§=¡=°Ó#6ÖL˜%¸%Ñ:K’ÒLÐ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ø€àˆŒ Ø ˆŒ
Ø$ˆŒØ&ˆÔÜ
‰Ñ˜Ñ+ FÓ+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ˆfd„Zˆ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
----------