Skip to content

Commit

Permalink
Ensure stream parameters are updated by Plot.refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 12, 2016
1 parent becf225 commit 4664863
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions holoviews/plotting/plot.py
Expand Up @@ -19,6 +19,7 @@
from ..core.overlay import NdOverlay
from ..core.spaces import HoloMap, DynamicMap
from ..core.traversal import dimensionless_cache
from ..core.util import stream_parameters
from ..element import Table
from .util import (get_dynamic_mode, initialize_sampled, dim_axis_label,
attach_streams, traverse_setter)
Expand Down Expand Up @@ -485,6 +486,9 @@ def refresh(self, **kwargs):
"""
traverse_setter(self, '_force', True)
key = self.current_key if self.current_key else self.keys[0]
stream_params = stream_parameters(self.streams)
key = tuple(None if d in stream_params else k
for d, k in zip(self.dimensions, key))
stream_key = util.wrap_tuple_streams(key, self.dimensions, self.streams)
self.update(stream_key)
if self.comm is not None:
Expand Down

0 comments on commit 4664863

Please sign in to comment.