Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df1b18e commit c8c76adCopy full SHA for c8c76ad
doc/faq/howto_faq.rst
@@ -21,14 +21,8 @@ Plot `numpy.datetime64` values
21
22
For Matplotlib to plot dates (or any scalar with units) a converter
23
to float needs to be registered with the `matplolib.units` module. The
24
-current best converters for `datetime64` values are in `pandas`. Simply
25
-importing `pandas` ::
26
-
27
- import pandas as pd
28
29
-should be sufficient as `pandas` will try to install the converters
30
-on import. If that does not work, or you need to reset `munits.registry`
31
-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::
32
33
from pandas.tseries import converter as pdtc
34
pdtc.register()
0 commit comments