Skip to content
Permalink
Browse files

Drop DataRange1d from BoxWhisker and Violin plots

  • Loading branch information
philippjfr committed Nov 11, 2017
1 parent 51439af commit a404253ea9698ad8e39df096852e9051d21b9367
Showing with 1 addition and 4 deletions.
  1. +1 −4 holoviews/plotting/bokeh/stats.py
@@ -60,9 +60,6 @@ class BoxWhiskerPlot(CompositeElementPlot, ColorbarPlot, LegendPlot):
# X-axis is categorical
_x_range_type = FactorRange

# Declare that y-range should auto-range if not bounded
_y_range_type = DataRange1d

# Map each glyph to a style group
_style_groups = {'rect': 'whisker', 'segment': 'whisker',
'vbar': 'box', 'hbar': 'box', 'circle': 'outlier'}
@@ -78,7 +75,7 @@ def get_extents(self, element, ranges):
Extents are set to '' and None because x-axis is categorical and
y-axis auto-ranges.
"""
yrange = element.range(element.vdims[0], data_range=False)
yrange = ranges.get(element.vdims[0].name)
return ('', yrange[0], '', yrange[1])

def _get_axis_labels(self, *args, **kwargs):

0 comments on commit a404253

Please sign in to comment.
You can’t perform that action at this time.