You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.1.1.post1088+gf4bcca3
Fork me on GitHub

This Page

Support for numpy.datetime64

Matplotlib has supported datetime.datetime dates for a long time in matplotlib.dates. We now support numpy.datetime64 dates as well. Anywhere that dateime.datetime could be used, numpy.datetime64 can be used. eg:

time = np.arange('2005-02-01', '2005-02-02', dtype='datetime64[h]')