Python 3.6.13 |Enthought, Inc. (x86_64)| (default, Apr 13 2021, 19:22:11)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.42.1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from chaco.ticks import auto_ticks
>>> auto_ticks(657022.2328451854, 577935.6054180114, 657022.2328451854, 577935.6054180114, "auto", use_endpoints=False)
/Users/mdickinson/Enthought/ETS/chaco/chaco/ticks.py:392: RuntimeWarning: invalid value encountered in log10
magnitudes = 10.0 ** floor(log10(candidate_intervals))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/mdickinson/Enthought/ETS/chaco/chaco/ticks.py", line 308, in auto_ticks
ticks = arange(start, end + (tick_interval / 2.0), tick_interval)
ValueError: arange: cannot compute length
Expected behaviour: a list of tick locations is returned (possibly the empty list).
We're running into the following problem with
auto_tickson a downstream project, leading to a blank plot window.Expected behaviour: a list of tick locations is returned (possibly the empty list).