Skip to content

Commit

Permalink
Merge pull request #1286 from ioam/hover_styling
Browse files Browse the repository at this point in the history
Allowed styling bokeh hover glyphs
  • Loading branch information
jlstevens authored Apr 13, 2017
2 parents 81c7d8a + 6adecc9 commit 046b9f1
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 046b9f1

Please sign in to comment.