We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a27b74 commit bc3b605Copy full SHA for bc3b605
lib/matplotlib/cbook/__init__.py
@@ -1341,9 +1341,10 @@ def _check_1d(x):
1341
# This code should correctly identify and coerce to a
1342
# numpy array all pandas versions.
1343
with warnings.catch_warnings(record=True) as w:
1344
- warnings.filterwarnings("always",
1345
- category=DeprecationWarning,
1346
- module='pandas[.*]')
+ warnings.filterwarnings(
+ "always",
+ category=DeprecationWarning,
1347
+ message='Support for multi-dimensional indexing')
1348
1349
ndim = x[:, None].ndim
1350
# we have definitely hit a pandas index or series object
0 commit comments