(self, data, x, y, **kwargs)
| 1261 | _layout_type = "single" |
| 1262 | |
| 1263 | def __init__(self, data, x, y, **kwargs) -> None: |
| 1264 | MPLPlot.__init__(self, data, **kwargs) |
| 1265 | if x is None or y is None: |
| 1266 | raise ValueError(self._kind + " requires an x and y column") |
| 1267 | if is_integer(x) and not holds_integer(self.data.columns): |
| 1268 | x = self.data.columns[x] |
| 1269 | if is_integer(y) and not holds_integer(self.data.columns): |
| 1270 | y = self.data.columns[y] |
| 1271 | |
| 1272 | self.x = x |
| 1273 | self.y = y |
| 1274 | |
| 1275 | @final |
| 1276 | def _get_nseries(self, data: Series | DataFrame) -> int: |
nothing calls this directly
no test coverage detected