Python, Seaborn FacetGrid change titles : <p>I am trying to create a FacetGrid in Seaborn</p>

<p>My code is currently:</p>

<pre><code>g = sns.FacetGrid(df_reduced, col="ActualExternal", margin_titles=True)
bins = np.linspace(0, 100, 20)
g.map(plt.hist, "ActualDepth", color="steelblue", bins=bins, width=4.5)
</code></pre>

<p>This gives my the Figure</p>

<p><a href="https://i.stack.imgur.com/wtM3Q.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/wtM3Q.jpg" alt="My FacetGrid"></a></p>

<p>Now, instead of "ActualExternal =0.0" and "ActualExternal =1.0" I would like the titles "Internal" and "External"</p>

<p>And, instead of "ActualDepth" I would like the xlabel to say "Percentage Depth"</p>

<p>Finally, I would like to add a ylabel of "Number of Defects".</p>

<p>I've tried Googling and have tried a few things but so far no success. Please can you help me?</p>

<p>Thanks</p>
