Skip to content

Commit

Permalink
Fixed filtering of bokeh LineAnnotationPlot properties
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 2, 2017
1 parent be6cf79 commit dddaf2d
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 dddaf2d

Please sign in to comment.