obspy.core.utcdatetime.UTCDateTime.matplotlib_date

property UTCDateTime.matplotlib_date

Maplotlib date number representation.

Useful for plotting on matplotlib time-based axes, like created by e.g. obspy.core.stream.Stream.plot().

>>> t = UTCDateTime("2009-08-24T00:20:07.700000Z")
>>> t.matplotlib_date  
14480.01397800926
Return type:

float