Skip to content

Commit

Permalink
Fixes matplotlib empty BoxWhisker plot (#5450)
Browse files Browse the repository at this point in the history
  • Loading branch information
hoxbro authored Sep 24, 2022
1 parent 8803156 commit c75fe0c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion holoviews/plotting/mpl/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ def get_data(self, element, ranges, style):
label = ','.join([d.pprint_value(v) for d, v in zip(element.kdims, key)])
else:
label = key
data.append(group[group.vdims[0]])
d = group[group.vdims[0]]
data.append(d[np.isfinite(d)])
labels.append(label)
style['labels'] = labels
style = {k: v for k, v in style.items()
Expand Down

0 comments on commit c75fe0c

Please sign in to comment.