Skip to content

Commit

Permalink
Fixed batched Spike overlay extents bug
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 24, 2017
1 parent b2697bd commit d60e75a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holoviews/plotting/bokeh/chart.py
Expand Up @@ -514,7 +514,8 @@ def get_extents(self, element, ranges):
bs, ts = [], []
# Iterate over current NdOverlay and compute extents
# from position and length plot options
for el in self.current_frame.values():
frame = self.current_frame or self.hmap.last
for el in frame.values():
opts = self.lookup_options(el, 'plot').options
pos = opts.get('position', self.position)
length = opts.get('spike_length', self.spike_length)
Expand Down

0 comments on commit d60e75a

Please sign in to comment.