12

I want to set a title to my seaborn catplot, but when I try with this code:

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

ax.set_title("Title")

I get this error:

AttributeError: 'FacetGrid' object has no attribute 'set_title'
ImportanceOfBeingErnest
  • 321,279
  • 53
  • 665
  • 712
Mastodon87
  • 325
  • 3
  • 6
  • 14

0 Answers0