Skip to content

Commit

Permalink
Fix Dynamic utility operation parameter updates
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 2, 2017
1 parent 93506d9 commit d340088
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions holoviews/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,9 @@ def __call__(self, map_obj, **params):
elif not isinstance(stream, Stream):
raise ValueError('Stream must only contain Stream '
'classes or instances')
stream.update(**{k: self.p.operation.p.get(k, v) for k, v in
stream.contents.items()})
updates = {k: self.p.operation.p.get(k) for k, v in stream.contents.items()
if v is None and k in self.p.operation.p}
stream.update(trigger=False, **updates)
streams.append(stream)
return dmap.clone(streams=streams)
return dmap
Expand Down

0 comments on commit d340088

Please sign in to comment.