Change the facecolor of boxplot in pandas
<p>I need to change the colors of the boxplot drawn using <code>pandas</code> utility function. I can change most properties using the <code>color</code> argument but can't figure out how to change the <code>facecolor</code> of the box. Someone knows how to do it?</p>

<pre><code>import pandas as pd
import numpy as np
data = np.random.randn(100, 4)
labels = list("ABCD")
df = pd.DataFrame(data, columns=labels)
props = dict(boxes="DarkGreen", whiskers="DarkOrange", medians="DarkBlue", caps="Gray")
df.plot.box(color=props)
</code></pre>

<p>As suggested, I ended up creating a function to plot this, using raw <code>matplotlib</code>. </p>

<pre><code>def plot_boxplot(data, ax):
    bp = ax.boxplot(data.values, patch_artist=True)

    for box in bp['boxes']:
        box.set(color='DarkGreen')
        box.set(facecolor='DarkGreen')

    for whisker in bp['whiskers']:
        whisker.set(color="DarkOrange")

    for cap in bp['caps']:
        cap.set(color="Gray")

    for median in bp['medians']:
        median.set(color="white")

    ax.axhline(0, color="DarkBlue", linestyle=":")

    ax.set_xticklabels(data.columns)
</code></pre>

python pandas matplotlib boxplot