code: def set_ticks_props(
      axes: Axes | Sequence[Axes],
      xlabelsize=None,
      xrot=None,
      ylabelsize=None,
      yrot=None,
  ):
      import matplotlib.pyplot as plt
  
      for ax in flatten_axes(axes):
          if xlabelsize is not None:
              plt.setp(ax.get_xticklabels(), fontsize=xlabelsize)
          if xrot is not None:
              plt.setp(ax.get_xticklabels(), rotation=xrot)
          if ylabelsize is not None:
              plt.setp(ax.get_yticklabels(), fontsize=ylabelsize)
          if yrot is not None:
              plt.setp(ax.get_yticklabels(), rotation=yrot)
      return axes
  
imports: from __future__ import annotations
  from math import ceil
  from typing import TYPE_CHECKING, Iterable, Sequence
  import warnings
  from matplotlib import ticker
  import matplotlib.table
  import numpy
  from pandas.util._exceptions import find_stack_level
  from pandas.core.dtypes.common import is_list_like
  from pandas.core.dtypes.generic import ABCDataFrame, ABCIndex, ABCSeries
label_desc: Use image node_id 11 for calling a global function with example usage: set_ticks_props(axes, xlabelsize, xrot, ylabelsize, yrot) and returns: axes