Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f8290e

Browse files
committed
FIX: let pandas IndexInt64 work for boxplot
1 parent 121102b commit 7f8290e

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
@@ -3925,6 +3925,7 @@ def dopatch(xs, ys, **kwargs):
39253925
positions = list(range(1, N + 1))
39263926
elif len(positions) != N:
39273927
raise ValueError(datashape_message.format("positions"))
3928+
positions = np.array(positions)
39283929

39293930
# width
39303931
if widths is None:

0 commit comments

Comments
 (0)