Skip to content

Commit

Permalink
Remove copy
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro committed Nov 5, 2024
1 parent 356007b commit 132731f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/operation/datashader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 132731f

Please sign in to comment.