enthought / enthought/chaco

Support NumPy datetime64 for time scales

Open
#548 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
305
Forks
97
PR merge metrics
No merged PRs in 30d

Description

**Problem Description**

Currently times are expected to be expressed as floating point seconds since the epoch. Since the scale system was written for Chaco, NumPy has grown datetime and timedelta dtypes which are whole numbers of date or time units (from attoseconds up to years).

It should be feasible to use these directly as values in scale systems rather than having to convert to floats. This might possibly require some generalizing of the `Range` class as well.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.