Skip to content

Commit

Permalink
Fixed reference to DynamicMap mode in GenericElementPlot
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Mar 31, 2017
1 parent 1d17535 commit f40b4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/plot.py
Expand Up @@ -585,7 +585,7 @@ def __init__(self, element, keys=None, ranges=None, dimensions=None,
defaults=False)
plot_opts.update(**{k: v[0] for k, v in inherited.items()})

dynamic = False if not isinstance(element, DynamicMap) or element.sampled else element.mode
dynamic = isinstance(element, DynamicMap) and not element.sampled
super(GenericElementPlot, self).__init__(keys=keys, dimensions=dimensions,
dynamic=dynamic,
**dict(params, **plot_opts))
Expand Down

0 comments on commit f40b4c5

Please sign in to comment.