Skip to content

Commit

Permalink
Skip undefined lasso select (#4437)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored May 27, 2020
1 parent 2ffdcdc commit b31f6ba
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions holoviews/plotting/bokeh/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1059,6 +1059,8 @@ def _process_msg(self, msg):
if isinstance(ys, dict):
ys = ((int(i), y) for i, y in ys.items())
ys = [y for _, y in sorted(ys)]
if xs is None or ys is None:
return {}
return {'geometry': np.column_stack([xs, ys])}


Expand Down

0 comments on commit b31f6ba

Please sign in to comment.