(
axes: Axes | Iterable[Axes],
xlabelsize: int | None = None,
xrot=None,
ylabelsize: int | None = None,
yrot=None,
)
| 452 | |
| 453 | |
| 454 | def set_ticks_props( |
| 455 | axes: Axes | Iterable[Axes], |
| 456 | xlabelsize: int | None = None, |
| 457 | xrot=None, |
| 458 | ylabelsize: int | None = None, |
| 459 | yrot=None, |
| 460 | ): |
| 461 | for ax in flatten_axes(axes): |
| 462 | if xlabelsize is not None: |
| 463 | mpl.artist.setp(ax.get_xticklabels(), fontsize=xlabelsize) # type: ignore[arg-type] |
| 464 | if xrot is not None: |
| 465 | mpl.artist.setp(ax.get_xticklabels(), rotation=xrot) # type: ignore[arg-type] |
| 466 | if ylabelsize is not None: |
| 467 | mpl.artist.setp(ax.get_yticklabels(), fontsize=ylabelsize) # type: ignore[arg-type] |
| 468 | if yrot is not None: |
| 469 | mpl.artist.setp(ax.get_yticklabels(), rotation=yrot) # type: ignore[arg-type] |
| 470 | return axes |
| 471 | |
| 472 | |
| 473 | def get_all_lines(ax: Axes) -> list[Line2D]: |
no test coverage detected