Handle empty `indexes` input edge case..

pre_viz_calls
Tyler Goodlet 2022-12-23 15:45:57 -05:00
parent 617baab2f5
commit d437cf5204
1 changed files with 3 additions and 0 deletions

View File

@ -306,7 +306,10 @@ class DynamicDateAxis(Axis):
times = array['time']
i_0, i_l = times[0], times[-1]
# edge cases
if (
not indexes
or
(indexes[0] < i_0
and indexes[-1] < i_l)
or