From 132731f7d9ffb348e03b741256e60480338eec18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20H=C3=B8xbro=20Hansen?= Date: Tue, 5 Nov 2024 12:38:57 +0100 Subject: [PATCH] Remove copy --- holoviews/operation/datashader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/operation/datashader.py b/holoviews/operation/datashader.py index e76f4a1146..0cf40e36f8 100644 --- a/holoviews/operation/datashader.py +++ b/holoviews/operation/datashader.py @@ -1692,7 +1692,7 @@ def _process(self, element, key=None): array = self._apply_spreading(data) if "selector_columns" in getattr(element.data, "attrs", ()): new_data = element.data.copy() - index = new_data["__index__"].copy() + index = new_data["__index__"] mask = np.arange(index.size).reshape(index.shape) mask[index == -1] = 0 index.data = mask