Skip to content

Commit

Permalink
Fixed Dimension.values ordering when convert HoloMap to DynamicMap
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed May 29, 2017
1 parent 93d5058 commit 9f3e8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/util.py
Expand Up @@ -124,6 +124,6 @@ def _make_dynamic(self, hmap, dynamic_fn, streams):
return DynamicMap(dynamic_fn, streams=streams)
dim_values = zip(*hmap.data.keys())
params = util.get_param_values(hmap)
kdims = [d(values=list(set(values))) for d, values in
kdims = [d(values=list(util.unique_iterator(values))) for d, values in
zip(hmap.kdims, dim_values)]
return DynamicMap(dynamic_fn, streams=streams, **dict(params, kdims=kdims))

0 comments on commit 9f3e8e6

Please sign in to comment.