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

Skip to content

Commit f50b414

Browse files
committed
FIX: catch all multi-dim warnings pandas
1 parent 5713087 commit f50b414

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/cbook/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@ def _check_1d(x):
13211321
with warnings.catch_warnings(record=True) as w:
13221322
warnings.filterwarnings(
13231323
"always",
1324-
category=DeprecationWarning,
1324+
category=Warning,
13251325
message='Support for multi-dimensional indexing')
13261326

13271327
ndim = x[:, None].ndim

0 commit comments

Comments
 (0)