code: def _set_ticks_props(
      axes, xlabelsize=None, xrot=None, ylabelsize=None, yrot=None
  ):
      import matplotlib.pyplot as plt
  
      for ax in _flatten(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
  
file_path: catboost/contrib/python/pandas/py2/pandas/plotting/_tools.py
imports: from __future__ import division
  from math import ceil
  import warnings
  import numpy
  from pandas.compat import range
  from pandas.core.dtypes.common import is_list_like
  from pandas.core.dtypes.generic import ABCDataFrame, ABCIndexClass, ABCSeries
label_desc: Use image node_id 10 for calling a global function with example usage: _set_ticks_props(axes, xlabelsize, xrot, ylabelsize, yrot) and returns: axes