Skip to content

Commit e9532b0

Browse files
committed
FIX: let pandas IndexInt64 work for boxplot
1 parent f92bd01 commit e9532b0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3914,6 +3914,7 @@ def dopatch(xs, ys, **kwargs):
39143914
positions = list(range(1, N + 1))
39153915
elif len(positions) != N:
39163916
raise ValueError(datashape_message.format("positions"))
3917+
positions = np.array(positions)
39173918

39183919
# width
39193920
if widths is None:

0 commit comments

Comments
 (0)