Skip to content

Commit

Permalink
Allowed styling bokeh hover glyphs
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 12, 2017
1 parent 87b5c9b commit 6adecc9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions holoviews/plotting/bokeh/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
else:
FuncTickFormatter = None

property_prefixes = ['selection', 'nonselection', 'muted']
property_prefixes = ['selection', 'nonselection', 'muted', 'hover']

# Define shared style properties for bokeh plots
line_properties = ['line_color', 'line_alpha', 'color', 'alpha', 'line_width',
Expand Down Expand Up @@ -628,7 +628,7 @@ def _update_glyphs(self, renderer, properties, mapping, glyph):
allowed_properties = glyph.properties()
properties = mpl_to_bokeh(properties)
merged = dict(properties, **mapping)
for glyph_type in ('', 'selection_', 'nonselection_'):
for glyph_type in ('', 'selection_', 'nonselection_', 'hover_', 'muted_'):
if renderer:
glyph = getattr(renderer, glyph_type+'glyph', None)
if not glyph or (not renderer and glyph_type):
Expand Down

0 comments on commit 6adecc9

Please sign in to comment.