Skip to content

Commit

Permalink
Update holoviews/plotting/mpl/chart.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Philipp Rudiger <prudiger@anaconda.com>
  • Loading branch information
jlstevens and philippjfr committed Oct 26, 2019
1 parent 820d8d2 commit 50ec5b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/mpl/chart.py
Expand Up @@ -1222,7 +1222,7 @@ def get_data(self, element, ranges, style):
style['array'] = element.dimension_values(cdim)
self._norm_kwargs(element, ranges, style, cdim)

if 'spike_length' in self.lookup_options(element, 'plot').options:
if 'spike_length' in opts:
axis_dims = (element.dimensions()[0], None)
elif len(element.dimensions()) == 1:
axis_dims = (element.dimensions()[0], None)
Expand Down

0 comments on commit 50ec5b6

Please sign in to comment.