Skip to content

Commit

Permalink
Fix isscalar handling in iloc
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed May 11, 2020
1 parent 9efc199 commit d8a68eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/core/data/interface.py
Expand Up @@ -100,7 +100,7 @@ def _perform_getitem(cls, dataset, index):
data = dataset.interface.iloc(dataset, (rows, cols))
kdims = dataset.kdims
vdims = dataset.vdims
if np.isscalar(data):
if util.isscalar(data):
return data
elif cols == slice(None):
pass
Expand Down

0 comments on commit d8a68eb

Please sign in to comment.