I am able to set edgecolors for a seaborn histogram by passing in a hist_kws argument:
sns.distplot(ad_data["Age"], kde = False, bins = 35, hist_kws = {"ec":"black"})
However, I'm unable to similarly set edgecolors for the histograms in a seaborn jointplot. It doesn't accept a hist_kws argument or any other similar argument to set edgecolors. I'm unable to find anything in the document that addresses this. Any help would be appreciated.
For reference, I'm using seaborn 0.9 and matplotlib 3.1.
You need a 'hist_kws' inside the 'marginal_kws':
In this case,
jointplot
sends themarginal_kws
todistplot
which in its turn sends thehist_kws
to matplotlib'shist
.Similarly, you can also set the parameters of a
kde
for thedistplot
: