def _check_ax_scales(self, axes, xaxis='<STR_LIT>', yaxis='<STR_LIT>'):
axes = self._flatten_visible(axes)<EOL>for ax in axes:<EOL><INDENT>assert ax.xaxis.get_scale() == xaxis<EOL>assert ax.yaxis.get_scale() == yaxis<EOL><DEDENT>
Check each axes has expected scales

Parameters
----------
axes : matplotlib Axes object, or its list-like
xaxis : {'linear', 'log'}
    expected xaxis scale
yaxis :  {'linear', 'log'}
    expected yaxis scale