Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed minor bugs updating glyph without glyph_renderer #1244

Merged
merged 1 commit into from
Apr 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def get_batched_data(self, overlay, ranges=None, empty=False):
if not any(v is None for v in vals)}
mapping = {{'x': 'xs', 'y': 'ys'}.get(k, k): v
for k, v in elmapping.items()}
filter_batched_data(data, elmapping)
filter_batched_data(data, mapping)
return data, mapping


Expand Down
4 changes: 2 additions & 2 deletions holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -778,9 +778,9 @@ def update_frame(self, key, ranges=None, plot=None, element=None, empty=False):

if glyph:
properties = self._glyph_properties(plot, element, source, ranges)
renderer = self.handles.get('glyph_renderer')
with abbreviated_exception():
self._update_glyphs(self.handles['glyph_renderer'], properties, mapping,
glyph)
self._update_glyphs(renderer, properties, mapping, glyph)
if not self.overlaid:
self._update_ranges(style_element, ranges)
self._update_plot(key, plot, style_element)
Expand Down