Skip to content

Commit

Permalink
Merge pull request #1170 from ioam/dynamic_streams_fix
Browse files Browse the repository at this point in the history
Fix Dynamic utility operation parameter updates
  • Loading branch information
jlstevens committed Mar 3, 2017
2 parents 1c80711 + 8a4e61f commit b560489
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions holoviews/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ 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}
if updates:
stream.update(trigger=False, **updates)
streams.append(stream)
return dmap.clone(streams=streams)
return dmap
Expand Down

0 comments on commit b560489

Please sign in to comment.