Skip to content

Commit

Permalink
Be more conservative and only perform transformations on
Browse files Browse the repository at this point in the history
layers combined by the `dynamic_mul` callback.
  • Loading branch information
jonmmease committed Nov 13, 2020
1 parent 3a67112 commit 886b03d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holoviews/selection.py
Expand Up @@ -164,7 +164,8 @@ def _selection_transform(self, hvobj, operations=()):
self._selection_streams, hvobj, operations,
self._selection_expr_streams.get(hvobj, None), cache=self._cache
)
elif issubclass(hvobj.type, Overlay):
elif (issubclass(hvobj.type, Overlay) and
getattr(hvobj.callback, "name", None) == "dynamic_mul"):
return Overlay([
self._selection_transform(el, operations=operations)
for el in callback.inputs
Expand Down

0 comments on commit 886b03d

Please sign in to comment.