Skip to content

Commit

Permalink
Fix 'auto' glyphs on Renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 28, 2021
1 parent 4cd9fb1 commit b46f5ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions holoviews/plotting/bokeh/element.py
Expand Up @@ -1244,6 +1244,10 @@ def _update_glyph(self, renderer, properties, mapping, glyph, source, data):
for glyph_type in ('', 'selection_', 'nonselection_', 'hover_', 'muted_'):
if renderer:
glyph = getattr(renderer, glyph_type+'glyph', None)
if glyph == 'auto':
base_glyph = renderer.glyph
glyph = type(base_glyph)(**base_glyph.properties_with_values())
setattr(renderer, glyph_type+'glyph', glyph)
if not glyph or (not renderer and glyph_type):
continue
filtered = self._filter_properties(merged, glyph_type, allowed_properties)
Expand Down

0 comments on commit b46f5ef

Please sign in to comment.