epoch2num
and num2epoch
are removed#
These methods convert from unix timestamps to matplotlib floats, but are not
used internally to Matplotlib, and should not be needed by end users. To
convert a unix timestamp to datetime, simply use
datetime.datetime.utcfromtimestamp
, or to use NumPy datetime64
dt = np.datetime64(e*1e6, 'us')
.
Locator and Formatter wrapper methods#
The set_view_interval
, set_data_interval
and set_bounds
methods of
Locator
s and Formatter
s (and their common base class, TickHelper) are
removed. Directly manipulate the view and data intervals on the underlying
axis instead.