(
self, axis: str, axes: Iterable, label: str | None = None, **kwargs
)
| 895 | getattr(self, f"set_{axis}labels")(str(var)) |
| 896 | |
| 897 | def _set_labels( |
| 898 | self, axis: str, axes: Iterable, label: str | None = None, **kwargs |
| 899 | ) -> None: |
| 900 | if label is None: |
| 901 | label = label_from_attrs(self.data[getattr(self, f"_{axis}_var")]) |
| 902 | for ax in axes: |
| 903 | getattr(ax, f"set_{axis}label")(label, **kwargs) |
| 904 | |
| 905 | def set_xlabels(self, label: str | None = None, **kwargs: Any) -> None: |
| 906 | """Label the x axis on the bottom row of the grid.""" |
no test coverage detected