<h4 dir="auto">Failed to format x-axis as Timestamp</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000))
plt.plot(ts.index,ts)
plt.show()"><pre class="notranslate"><code class="notranslate">import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
ts = pd.Series(np.random.randn(1000), index=pd.date_range('1/1/2000', periods=1000))
plt.plot(ts.index,ts)
plt.show()
</code></pre></div>
<p dir="auto">x-axis is show as raw number of epoch time in nanoseconds (~1.5e18). However, if we call <code class="notranslate">ts.plot()</code> once before calling <code class="notranslate">plt.plot</code>, x-axis is correctly formatted and the correct behavior will persist for the entire python session, even if we're creating new Series or DataFrame.<br>
I recently upgraded from pandas 0.17.1 to 0.21.0 and the older version did not have this issue.</p>
<h4 dir="auto">Installed Versions</h4>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="pd.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-642.11.1.el6.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8

pandas: 0.21.0
pytest: None
pip: 9.0.1
setuptools: 20.1.1
Cython: None
numpy: 1.13.3
scipy: 0.17.0
pyarrow: None
xarray: None
IPython: 4.1.1
sphinx: None
patsy: None
dateutil: 2.6.1
pytz: 2017.3
blosc: None
bottleneck: 1.0.0
tables: None
numexpr: 2.6.4
feather: None
matplotlib: 2.1.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None"><pre class="notranslate"><code class="notranslate">pd.show_versions()

INSTALLED VERSIONS
------------------
commit: None
python: 3.4.3.final.0
python-bits: 64
OS: Linux
OS-release: 2.6.32-642.11.1.el6.x86_64
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: en_US.UTF-8

pandas: 0.21.0
pytest: None
pip: 9.0.1
setuptools: 20.1.1
Cython: None
numpy: 1.13.3
scipy: 0.17.0
pyarrow: None
xarray: None
IPython: 4.1.1
sphinx: None
patsy: None
dateutil: 2.6.1
pytz: 2017.3
blosc: None
bottleneck: 1.0.0
tables: None
numexpr: 2.6.4
feather: None
matplotlib: 2.1.0
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
sqlalchemy: None
pymysql: None
psycopg2: None
jinja2: None
s3fs: None
fastparquet: None
pandas_gbq: None
pandas_datareader: None
</code></pre></div>
<p dir="auto">Given the feedback we have got (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="271948289" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/18153" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/18153/hovercard" href="https://github.com/pandas-dev/pandas/issues/18153">#18153</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="272608235" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/18192" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/18192/hovercard" href="https://github.com/pandas-dev/pandas/issues/18192">#18192</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="272898934" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/18212" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/18212/hovercard" href="https://github.com/pandas-dev/pandas/issues/18212">#18212</a>,  <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="273841641" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/18283" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/18283/hovercard" href="https://github.com/pandas-dev/pandas/issues/18283">#18283</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="268491919" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/9577" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/9577/hovercard" href="https://github.com/matplotlib/matplotlib/issues/9577">matplotlib/matplotlib#9577</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="269390066" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/9610" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/9610/hovercard" href="https://github.com/matplotlib/matplotlib/issues/9610">matplotlib/matplotlib#9610</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="273552198" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/9771" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/9771/hovercard" href="https://github.com/matplotlib/matplotlib/issues/9771">matplotlib/matplotlib#9771</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="36017422" data-permission-text="Title is private" data-url="https://github.com/pydata/xarray/issues/166" data-hovercard-type="pull_request" data-hovercard-url="/pydata/xarray/pull/166/hovercard" href="https://github.com/pydata/xarray/pull/166">pydata/xarray#166</a>), it seems we underestimated the impact and we should consider (partly) reverting this change to properly deprecate it instead.</p>
<p dir="auto">This should also give matplotlib the time to implement basic datetime64 support (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="269390066" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/9610" data-hovercard-type="issue" data-hovercard-url="/matplotlib/matplotlib/issues/9610/hovercard" href="https://github.com/matplotlib/matplotlib/issues/9610">matplotlib/matplotlib#9610</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="273707593" data-permission-text="Title is private" data-url="https://github.com/matplotlib/matplotlib/issues/9779" data-hovercard-type="pull_request" data-hovercard-url="/matplotlib/matplotlib/pull/9779/hovercard" href="https://github.com/matplotlib/matplotlib/pull/9779">matplotlib/matplotlib#9779</a>)</p>
<p dir="auto">Depending on how we can do this, this might have the consequence that have to undo temporarily the lazy import of matplotlib (affecting the import time). See also discussion in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="273841641" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/18283" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/18283/hovercard" href="https://github.com/pandas-dev/pandas/issues/18283">#18283</a></p>
<p dir="auto">Opening this issue to keep track of it, should be decided/done for 0.21.1</p>