Vertical spacing between xticklabel to the bottom of x-axis
<p>I am wondering if there could be any way to change the spacing between xticklabel (i.e. $\widetilde{M}) and the bottom of x-axis? In my case the spacing is too small so that the tilde above M (left bar) becomes invisible. BTW I am using pandas' plot function to generate the bar plot.</p>

<p><a href="http://i.stack.imgur.com/JrQhV.png" rel="nofollow"><img src="http://i.stack.imgur.com/JrQhV.png" alt="enter image description here"></a></p>

<p>Since Pandas uses the Matplotlib library for all the plotting, you can change this setting through rcParams. First import:</p>

<pre><code>from matplotlib import rcParams
</code></pre>

<p>and then (before plotting anything) change the padding above the xticks:</p>

<pre><code>rcParams['xtick.major.pad'] = 20
</code></pre>

python pandas numpy matplotlib