From a21095a7f5169be16b6080479ecf859b991e9b91 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Wed, 4 Jul 2018 17:08:16 +0100 Subject: [PATCH] DictInterface only validates referenced columns (#2855) --- holoviews/core/data/dictionary.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/core/data/dictionary.py b/holoviews/core/data/dictionary.py index 9e4e110426..849b5a84e5 100644 --- a/holoviews/core/data/dictionary.py +++ b/holoviews/core/data/dictionary.py @@ -98,7 +98,7 @@ def init(cls, eltype, data, kdims, vdims): unpacked.append((sd, vals[:, i])) else: vals = vals if np.isscalar(vals) else np.asarray(vals) - if not np.isscalar(vals) and not vals.ndim == 1: + if not np.isscalar(vals) and not vals.ndim == 1 and d in dimensions: raise ValueError('DictInterface expects data for each column to be flat.') unpacked.append((d, vals)) if not cls.expanded([d[1] for d in unpacked if not np.isscalar(d[1])]):