Skip to content

Commit

Permalink
Merge pull request #1169 from ioam/vline_filter_props
Browse files Browse the repository at this point in the history
Fixed filtering of bokeh LineAnnotationPlot properties
  • Loading branch information
jlstevens authored Mar 2, 2017
2 parents 93506d9 + eff5253 commit 1c80711
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions holoviews/plotting/bokeh/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def _init_glyph(self, plot, mapping, properties):
"""
Returns a Bokeh glyph object.
"""
properties.pop('source')
properties.pop('legend')
properties = {p: v for p, v in properties.items()
if p not in ['source', 'legend']}
box = Span(level='overlay', **dict(mapping, **properties))
plot.renderers.append(box)
return None, box
Expand Down

0 comments on commit 1c80711

Please sign in to comment.