Get the epoch used by `.dates`. Returns ------- epoch : str String for the epoch (parsable by `numpy.datetime64`).
()
| 293 | |
| 294 | |
| 295 | def 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 | |
| 310 | def _dt64_to_ordinalf(d): |
no outgoing calls
no test coverage detected
searching dependent graphs…