From ec4bafcceae938c03053beeda03c30dc5a3f390c Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Tue, 10 Dec 2019 15:31:33 +0100 Subject: [PATCH] Fixed scalar issue --- holoviews/core/data/multipath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/core/data/multipath.py b/holoviews/core/data/multipath.py index 4c118c8de4..e2353c5ab0 100644 --- a/holoviews/core/data/multipath.py +++ b/holoviews/core/data/multipath.py @@ -392,7 +392,7 @@ def add_dimension(cls, dataset, dimension, dim_pos, values, vdim): @classmethod def iloc(cls, dataset, index): rows, cols = index - scalar = False + scalar = np.isscalar(cols) and np.isscalar(rows) template = cls._inner_dataset_template(dataset) if cls.geom_type(type(dataset)) != 'Point':