MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / ErrorbarContainer

Class ErrorbarContainer

lib/matplotlib/container.py:119–148  ·  view source on GitHub ↗

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 ``(da

Source from the content-addressed store, hash-verified

117
118
119class ErrorbarContainer(Container):
120 """
121 Container for the artists of error bars (e.g. created by `.Axes.errorbar`).
122
123 The container can be treated as the *lines* tuple itself.
124 Additionally, you can access these and further parameters by the
125 attributes.
126
127 Attributes
128 ----------
129 lines : tuple
130 Tuple of ``(data_line, caplines, barlinecols)``.
131
132 - data_line : A `~matplotlib.lines.Line2D` instance of x, y plot markers
133 and/or line.
134 - caplines : A tuple of `~matplotlib.lines.Line2D` instances of the error
135 bar caps.
136 - barlinecols : A tuple of `~matplotlib.collections.LineCollection` with the
137 horizontal and vertical error ranges.
138
139 has_xerr, has_yerr : bool
140 ``True`` if the errorbar has x/y errors.
141
142 """
143
144 def __init__(self, lines, has_xerr=False, has_yerr=False, **kwargs):
145 self.lines = lines
146 self.has_xerr = has_xerr
147 self.has_yerr = has_yerr
148 super().__init__(lines, **kwargs)
149
150
151class PieContainer:

Callers 1

errorbarMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…