类别图的catplot为分类散点图、分类分布图和分类估计图的统一接口,通过kind属性指定值,实现对应的绘制效果,如kind="strip"(默认值),实现的是stripplot的效果,"swarm"对应swarmplot,"box"对应boxplot,"violin"对应violinplot,"boxen"对应boxenplot,"point"对应pointplot,"bar"对应barplot,"count"对应countplot,它的语法为:
catplot(*, x=None, y=None,hue=None, data=None, row=None,
col=None, col_wrap=None, estimator=np.mean, ci=95,
n_boot=1000, units=None, seed=None, order=None,
hue_order=None, row_order=None, col_order=None,
kind="strip", height=5, aspect=1, orient=None,
color=None, palette=None, legend=True, legend_out=True,
sharex=True, share