From a24d131f5fd4d926d7fa4b12081fa5354bd5fdcb Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Thu, 28 Sep 2017 17:13:33 -0500 Subject: [PATCH] DOC: Update instructions on pandas converters --- doc/faq/howto_faq.rst | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/doc/faq/howto_faq.rst b/doc/faq/howto_faq.rst index e0659fb5cbb7..59467b67640a 100644 --- a/doc/faq/howto_faq.rst +++ b/doc/faq/howto_faq.rst @@ -21,14 +21,8 @@ Plot `numpy.datetime64` values For Matplotlib to plot dates (or any scalar with units) a converter to float needs to be registered with the `matplolib.units` module. The -current best converters for `datetime64` values are in `pandas`. Simply -importing `pandas` :: - - import pandas as pd - -should be sufficient as `pandas` will try to install the converters -on import. If that does not work, or you need to reset `munits.registry` -you can explicitly install the `pandas` converters by :: +current best converters for `datetime64` values are in `pandas`. To enable the +converter, import it from pandas:: from pandas.tseries import converter as pdtc pdtc.register()