moving the location of y labels with matplotlib
<p>How can I move the location of y labels?</p>

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

<p>And this is  the zoomed version:</p>

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

<p>The idea is to move the righthandside labels further to the right, because where they currently are is hard to see the last data point of each of the time series (in this case I circled in green where the last data point is). 
Tried <code>set_label_coords()</code>, but didn't accomplish anything.  </p>

<p>showing how I did it in the end after @ImportanceOfBeingErnest pointed the right direction:</p>

<p>1) created an extra date that is actually longer than the last day of my data</p>

<pre><code>extradate   = pd.Timestamp(dt.datetime(df.index[-1].year,df.index[-1].month,df.index[-1].day + 5))
</code></pre>

<p>2) use that  extradate in: </p>

<pre><code>ax.set_xlim(df.index[-100],extradate)
</code></pre>

<p>(the -100 is just to plot 100 points of data). </p>

python matplotlib