From 2510acf39bc2cd1f95a78126fa1b30724be926cf Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Wed, 4 Jul 2018 12:09:41 +0100 Subject: [PATCH] DictInterface only validates referenced columns --- 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])]):