File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,8 @@ Plot `numpy.datetime64` values
2121
2222For Matplotlib to plot dates (or any scalar with units) a converter
2323to 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 ::
24+ current best converters for `datetime64 ` values are in `pandas `. To enable the
25+ converter, import it from pandas::
3226
3327 from pandas.tseries import converter as pdtc
3428 pdtc.register()
You can’t perform that action at this time.
0 commit comments