为Seaborn Cat剧情添加标题-Python

时间:2018-10-28 12:29:36

标签: python matplotlib graph seaborn

我想为我的海洋猫科动物设置标题,但是当我尝试使用此代码时:

ax = sns.catplot(x="AA", col="BB",data=df, kind="count",order= AA,
                  height=5, aspect=1.9)

ax.set_title("Title")

我收到此错误:

AttributeError: 'FacetGrid' object has no attribute 'set_title'

0 个答案:

没有答案