How to save picture boxplot seaborn
<p>I create a boxplot as bellow</p>

<pre><code>import seaborn as sns
sns.set_style("whitegrid")
tips = sns.load_dataset("tips")
ax = sns.boxplot(x=tips["total_bill"])
</code></pre>

<p>&amp; try to save</p>

<pre><code>sns.boxplot.savefig('ax.png')
</code></pre>

<p>or</p>

<pre><code>ax.savefig('ax.png')
</code></pre>

<p>but </p>

<pre><code>AttributeError: 'AxesSubplot' object has no attribute 'savefig'
</code></pre>

<p>It's surprisely, beacause it's correct for lmplot etc....</p>