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.
2 parents 8acb14f + 0b529af commit c229bd5Copy full SHA for c229bd5
doc/faq/howto_faq.rst
@@ -19,10 +19,11 @@ Plotting: howto
19
Plot `numpy.datetime64` values
20
------------------------------
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`. To enable the
25
-converter, import it from pandas::
+As of Matplotlib 2.2, `numpy.datetime64` objects are handled the same way
+as `datetime.datetime` objects.
+
+If you prefer the pandas converters and locators, you can register their
26
+converter with the `matplolib.units` module::
27
28
from pandas.tseries import converter as pdtc
29
pdtc.register()
0 commit comments