Thanks to visit codestin.com Credit goes to github.com
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.
2 parents 0c3c37d + bc1a725 commit 0fc3614Copy full SHA for 0fc3614
1 file changed
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