我创建一个箱线为波纹管如何保存图片箱线图seaborn
import seaborn as sns
sns.set_style("whitegrid")
tips = sns.load_dataset("tips")
ax = sns.boxplot(x=tips["total_bill"])
&尽量节省
sns.boxplot.savefig('ax.png')
或
ax.savefig('ax.png')
但
AttributeError: 'AxesSubplot' object has no attribute 'savefig'
这是surprisely,东阳它是lmplot等正确....
thanx很多@Goyo – Edward