Skip to content

Commit

Permalink
Ensured Plot.comms is set
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Aug 30, 2016
1 parent 004eb38 commit c0534fe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holoviews/plotting/plot.py
Expand Up @@ -199,7 +199,8 @@ def __init__(self, keys=None, dimensions=None, layout_dimensions=None,

comm = None
if self.dynamic or self.renderer.widget_mode == 'live':
self.comm = self.renderer.comms[self.renderer.mode][0](self)
comm = self.renderer.comms[self.renderer.mode][0](self)
self.comm = commm
params = {k: v for k, v in params.items()
if k in self.params()}
super(DimensionedPlot, self).__init__(**params)
Expand Down

0 comments on commit c0534fe

Please sign in to comment.