From b440c54128e21106d34270052994048236fa0d4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Sun, 3 Nov 2024 10:13:04 +0100 Subject: [PATCH] More... --- holoviews/element/raster.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/element/raster.py b/holoviews/element/raster.py index 9de00dce7b..caf8e1b361 100644 --- a/holoviews/element/raster.py +++ b/holoviews/element/raster.py @@ -692,7 +692,7 @@ def __init__(self, data, kdims=None, vdims=None, **params): if ((hasattr(data, 'shape') and data.shape[-1] == 4 and len(vdims) == 3) or (isinstance(data, tuple) and isinstance(data[-1], np.ndarray) and data[-1].ndim == 3 and data[-1].shape[-1] == 4 and len(vdims) == 3) or - (isinstance(data, dict) and (*(dimension_name(vd) for vd in vdims), alpha.name) in data)): + (isinstance(data, dict) and (*map(dimension_name, vdims), alpha.name) in data)): # Handle all forms of packed value dimensions vdims.append(alpha) super().__init__(data, kdims=kdims, vdims=vdims, **params)