From 6adecc9ff54a76d7d5740e7249b0d9d206c9951a Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Wed, 12 Apr 2017 21:16:23 +0100 Subject: [PATCH] Allowed styling bokeh hover glyphs --- holoviews/plotting/bokeh/element.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py index 59020bb404..edc9a0a502 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -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', @@ -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):