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 5562c76 + fafa950 commit 8be47e4Copy full SHA for 8be47e4
1 file changed
lib/matplotlib/backends/backend_pdf.py
@@ -2632,10 +2632,7 @@ def delta(self, other):
2632
different = ours is not theirs
2633
else:
2634
different = bool(ours != theirs)
2635
- except (ValueError, DeprecationWarning):
2636
- # numpy version < 1.25 raises DeprecationWarning when array shapes
2637
- # mismatch, unlike numpy >= 1.25 which raises ValueError.
2638
- # This should be removed when numpy < 1.25 is no longer supported.
+ except ValueError:
2639
ours = np.asarray(ours)
2640
theirs = np.asarray(theirs)
2641
different = (ours.shape != theirs.shape or
0 commit comments