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 b5d2c9e + de8e267 commit 51a3541Copy full SHA for 51a3541
1 file changed
lib/matplotlib/cbook.py
@@ -1032,7 +1032,7 @@ def delete_masked_points(*args):
1032
mask = np.isfinite(xd)
1033
if isinstance(mask, np.ndarray):
1034
masks.append(mask)
1035
- except Exception: # Fixme: put in tuple of possible exceptions?
+ except (TypeError, ValueError):
1036
pass
1037
if len(masks):
1038
mask = np.logical_and.reduce(masks)
0 commit comments