Matplotlib xticks font size if string
<p>I am trying to change the font size of my x axis that happens to be strings and not numbers. I have changed other charts that have integers by using :</p>

<pre><code>plt.xticks(size=10)
</code></pre>

<p>However, this dose not work for some of my graphs that have months in the place of integers. Keep in mind i am not using subplots. </p>

<p>Try setting the fontsize either by using the the <code>fontsize</code> keyword argument or if you want to globally change it to every plot in your script by updating the <code>rcParams</code> as</p>

<pre><code>import matplotlib 
matplotlib.rc('xtick', labelsize=20)
</code></pre>

<p>Also look at this answer: <a href="http://stackoverflow.com/questions/3899980/how-to-change-the-font-size-on-a-matplotlib-plot">How to change the font size on a matplotlib plot</a></p>

<p>Or here: <a href="http://stackoverflow.com/questions/13139630/how-can-i-change-the-font-size-of-ticks-of-axes-object-in-matplotlib">How can I change the font size of ticks of axes object in matplotlib</a></p>

python matplotlib