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
| 117 | |
| 118 | |
| 119 | class 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 | |
| 151 | class PieContainer: |
no outgoing calls
no test coverage detected
searching dependent graphs…