def _check_ticks_props(self, axes, xlabelsize=None, xrot=None,<EOL>ylabelsize=None, yrot=None):
from matplotlib.ticker import NullFormatter<EOL>axes = self._flatten_visible(axes)<EOL>for ax in axes:<EOL><INDENT>if xlabelsize or xrot:<EOL><INDENT>if isinstance(ax.xaxis.get_minor_formatter(), NullFormatter):<EOL><INDENT>labels = ax.get_xticklabels()<EOL><DEDENT>else:<EOL><INDENT>labels = ax.get_xticklabels() + ax.get_xticklabels(<EOL>minor=True)<EOL><DEDENT>for label in labels:<EOL><INDENT>if xlabelsize is not None:<EOL><INDENT>tm.assert_almost_equal(label.get_fontsize(),<EOL>xlabelsize)<EOL><DEDENT>if xrot is not None:<EOL><INDENT>tm.assert_almost_equal(label.get_rotation(), xrot)<EOL><DEDENT><DEDENT><DEDENT>if ylabelsize or yrot:<EOL><INDENT>if isinstance(ax.yaxis.get_minor_formatter(), NullFormatter):<EOL><INDENT>labels = ax.get_yticklabels()<EOL><DEDENT>else:<EOL><INDENT>labels = ax.get_yticklabels() + ax.get_yticklabels(<EOL>minor=True)<EOL><DEDENT>for label in labels:<EOL><INDENT>if ylabelsize is not None:<EOL><INDENT>tm.assert_almost_equal(label.get_fontsize(),<EOL>ylabelsize)<EOL><DEDENT>if yrot is not None:<EOL><INDENT>tm.assert_almost_equal(label.get_rotation(), yrot)<EOL><DEDENT><DEDENT><DEDENT><DEDENT>
Check each axes has expected tick properties

Parameters
----------
axes : matplotlib Axes object, or its list-like
xlabelsize : number
    expected xticks font size
xrot : number
    expected xticks rotation
ylabelsize : number
    expected yticks font size
yrot : number
    expected yticks rotation