Matplotlib: Overriding "ggplot" default style properties
<p>I am using matplotlibs <em>ggplot</em> style for plotting and want to overide only specific standard parameters such as the color of the xticklabels, grid background color and linewidth.</p>
<pre><code>import numpy as np
import pandas as pd
import matplotlib

# changing matplotlib the default style
matplotlib.style.use('ggplot')

# dataframe plot
df = pd.DataFrame(np.random.randn(36, 3))
df.plot()
</code></pre>
<p>returns:
<a href="https://i.stack.imgur.com/osTrI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/osTrI.png" alt="enter image description here" /></a></p>
<p>I know I can set single properties for axes-objects like this:</p>
<pre><code>ax.set_axis_bgcolor('red')
</code></pre>
<p>But how can I override the default propertiers (e.g. label-color, background color and linewidth to have them in <strong>all</strong> plots?</p>
<p>Thanks in advance!</p>