<p dir="auto">In a new IPython Notebook session:</p>
<p dir="auto">import pandas as pd<br>
import numpy as np<br>
%matplotlib<br>
dt_rng = pd.date_range(start='2014-01-01', end='2014-01-31', freq='1min')<br>
df = pd.DataFrame(np.random.randn(len(dt_rng)), index=dt_rng)<br>
ax = df.plot()</p>
<p dir="auto">The DataFrame is plotted correctly. However, a mouse-over shows wrong dates starting in the year 1970. The axis-labelling is correct.</p>
<p dir="auto">Editing the format_coord function shows something interesting:</p>
<p dir="auto">ax.format_coord = lambda x,y: "{} {}".format(x,y)</p>
<p dir="auto">231422240.[....] and so on. This float value obviously isn't parsed correctly. Any ideas?</p>
<p dir="auto">Thanks for making pandas so great and best regards!</p>
<p dir="auto">In pandas 0.13.1 this code produces a plot that, when "moused over", indicates incorrect dates on the 't' (x) axis, despite having the correct axis label.</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="pd.Series([1, 2, 3], index=pd.date_range('2014-01-01', periods=3, freq='D')).plot()"><pre class="notranslate"><span class="pl-s1">pd</span>.<span class="pl-v">Series</span>([<span class="pl-c1">1</span>, <span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">index</span><span class="pl-c1">=</span><span class="pl-s1">pd</span>.<span class="pl-en">date_range</span>(<span class="pl-s">'2014-01-01'</span>, <span class="pl-s1">periods</span><span class="pl-c1">=</span><span class="pl-c1">3</span>, <span class="pl-s1">freq</span><span class="pl-c1">=</span><span class="pl-s">'D'</span>)).<span class="pl-en">plot</span>()</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/6dd5fc1e3be5a34400c7a3def8a8ddac54459da6107dd08ead808126092b244a/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353335363334302f323430353837392f38663764326566362d616135632d313165332d396336382d6631333833656663366235322e706e67"><img src="https://camo.githubusercontent.com/6dd5fc1e3be5a34400c7a3def8a8ddac54459da6107dd08ead808126092b244a/68747470733a2f2f662e636c6f75642e6769746875622e636f6d2f6173736574732f353335363334302f323430353837392f38663764326566362d616135632d313165332d396336382d6631333833656663366235322e706e67" alt="screenshot" data-canonical-src="https://f.cloud.github.com/assets/5356340/2405879/8f7d2ef6-aa5c-11e3-9c68-f1383efc6b52.png" style="max-width: 100%;"></a></p>
<p dir="auto">(matplotlib version is 1.3.1)</p>