Simplified style filtering on BoxPlot
@@ -1059,8 +1059,8 @@ class BoxPlot(ChartPlot):
data.append(group[group.vdims[0]])
labels.append(label)
style['labels'] = labels
- style.pop('zorder', None)
- style.pop('label', None)
+ style = {k: v for k, v in style.items()
+ if k not in ['zorder', 'label']}
style['vert'] = not self.invert_axes
format_kdims = [kd(value_format=None) for kd in element.kdims]
return (data,), style, {'dimensions': [format_kdims,
