Skip to content

Commit

Permalink
Small fixes for bokeh server
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Oct 31, 2016
1 parent c73042e commit 6cba793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ def on_change(self, attr, old, new):
value change at once rather than firing off multiple plot updates.
"""
self.events.append((attr, old, new))
if self.trigger_change not in self.plot.document._session_callbacks:
if self.trigger not in self.plot.document._session_callbacks:
self.plot.document.add_timeout_callback(self.trigger, 50)


Expand Down
3 changes: 1 addition & 2 deletions holoviews/plotting/bokeh/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@ def _update_datasource(self, source, data):
"""
Update datasource with data for a new frame.
"""
for k, v in data.items():
source.data[k] = v
source.data.update(data)

@property
def state(self):
Expand Down

0 comments on commit 6cba793

Please sign in to comment.