taurus-org / taurus_pyqtgraph

Moved to https://gitlab.com/taurus-org/taurus_pyqtgraph
3 stars 14 forks source link

Protect DateAxisItem.tickValues against overflows #78

Closed cpascual closed 4 years ago

cpascual commented 4 years ago

Protect DateAxisItem.tickValues against overflows

The tickValues() method uses datetime.fromtimestamp(). In some conditions, the axes range exceed the supported datetime range and produces an exception. Handle it by returning an empty list instead of raising the exception.

Fixes #18