(axes: Axes | Iterable[Axes])
| 443 | |
| 444 | |
| 445 | def flatten_axes(axes: Axes | Iterable[Axes]) -> Generator[Axes]: |
| 446 | if not is_list_like(axes): |
| 447 | yield axes # type: ignore[misc] |
| 448 | elif isinstance(axes, (np.ndarray, ABCIndex)): |
| 449 | yield from np.asarray(axes).reshape(-1) |
| 450 | else: |
| 451 | yield from axes # type: ignore[misc] |
| 452 | |
| 453 | |
| 454 | def set_ticks_props( |
no test coverage detected