ax = sns.catplot(x='period', y='n_order', hue='has_note', data=df_has_prd, kind='bar',legend_out=False) ax.fig.suptitle('Number of orders in 2019') #set title plt.gcf().set_size_inches(15, 5) # set size