Skip to content

Commit

Permalink
Updated streams definition in decimate due to param bug (#4825)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens authored Feb 9, 2021
1 parent d899003 commit f100379
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holoviews/operation/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,8 @@ class decimate(Operation):
random_seed = param.Integer(default=42, doc="""
Seed used to initialize randomization.""")

streams = param.List(default=[RangeXY], doc="""
streams = param.ClassSelector(default=[RangeXY], class_=(dict, list),
doc="""
List of streams that are applied if dynamic=True, allowing
for dynamic interaction with the plot.""")

Expand Down

0 comments on commit f100379

Please sign in to comment.