8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ca7245 commit bc1a725Copy full SHA for bc1a725
lib/matplotlib/cbook/__init__.py
@@ -1326,7 +1326,11 @@ def _check_1d(x):
1326
if ndim < 2:
1327
return np.atleast_1d(x)
1328
return x
1329
- except (IndexError, TypeError):
+ # In pandas 1.1.0, multidimensional indexing leads to an
1330
+ # AssertionError for some Series objects, but should be
1331
+ # IndexError as described in
1332
+ # https://github.com/pandas-dev/pandas/issues/35527
1333
+ except (AssertionError, IndexError, TypeError):
1334
1335
1336
0 commit comments