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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy