MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_epoch

Function get_epoch

lib/matplotlib/dates.py:295–307  ·  view source on GitHub ↗

Get the epoch used by `.dates`. Returns ------- epoch : str String for the epoch (parsable by `numpy.datetime64`).

()

Source from the content-addressed store, hash-verified

293
294
295def get_epoch():
296 """
297 Get the epoch used by `.dates`.
298
299 Returns
300 -------
301 epoch : str
302 String for the epoch (parsable by `numpy.datetime64`).
303 """
304 global _epoch
305
306 _epoch = mpl._val_or_rc(_epoch, 'date.epoch')
307 return _epoch
308
309
310def _dt64_to_ordinalf(d):

Callers 3

_dt64_to_ordinalfFunction · 0.85
_from_ordinalfFunction · 0.85
get_locatorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…