Skip to content

Commit

Permalink
Fixed empty datashader datetime y-range
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Feb 15, 2018
1 parent d24b142 commit c0a6fce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions holoviews/operation/datashader.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ def _get_sampling(self, element, x, y):
ytype = 'datetime'
elif not np.isfinite(ystart) and not np.isfinite(yend):
if element.get_dimension_type(y) in datetime_types:
xstart, xend = 0, 10000
xtype = 'datetime'
ystart, yend = 0, 10000
ytype = 'datetime'
else:
ystart, yend = 0, 1
elif ystart == yend:
Expand Down

0 comments on commit c0a6fce

Please sign in to comment.