statsmodels.graphics.mosaicplot.mosaic
statsmodels.graphics.mosaicplot.mosaic(data, index=None, ax=None, horizontal=True, gap=0.005, properties= at 0x2ac652f5b6e0>, labelizer=None, title='', statistic=False, axes_label=True, label_rotation=0.0) [source]
Create a mosaic plot from a contingency table. It allows to visualize multivariate categorical data in a rigorous and informative way. Parameters:
data : dict, pandas.Series, np.ndarray, pandas.DataFrame The contingency table that contai