def grouped_hist(data, column=None, by=None, ax=None, bins=<NUM_LIT:50>, figsize=None,<EOL>layout=None, sharex=False, sharey=False, rot=<NUM_LIT>, grid=True,<EOL>xlabelsize=None, xrot=None, ylabelsize=None, yrot=None,<EOL>**kwargs):
_raise_if_no_mpl()<EOL>_converter._WARN = False<EOL>def plot_group(group, ax):<EOL><INDENT>ax.hist(group.dropna().values, bins=bins, **kwargs)<EOL><DEDENT>xrot = xrot or rot<EOL>fig, axes = _grouped_plot(plot_group, data, column=column,<EOL>by=by, sharex=sharex, sharey=sharey, ax=ax,<EOL>figsize=figsize, layout=layout, rot=rot)<EOL>_set_ticks_props(axes, xlabelsize=xlabelsize, xrot=xrot,<EOL>ylabelsize=ylabelsize, yrot=yrot)<EOL>fig.subplots_adjust(bottom=<NUM_LIT>, top=<NUM_LIT>, left=<NUM_LIT:0.1>, right=<NUM_LIT>,<EOL>hspace=<NUM_LIT:0.5>, wspace=<NUM_LIT>)<EOL>return axes<EOL>
Grouped histogram

Parameters
----------
data : Series/DataFrame
column : object, optional
by : object, optional
ax : axes, optional
bins : int, default 50
figsize : tuple, optional
layout : optional
sharex : bool, default False
sharey : bool, default False
rot : int, default 90
grid : bool, default True
kwargs : dict, keyword arguments passed to matplotlib.Axes.hist

Returns
-------
collection of Matplotlib Axes