pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/matplotlib/matplotlib/commit/fafa950be6cef062e47ed4030d6b37de78c30cfb

ss" /> Revert exception handling after numpy minver bump to 1.25 · matplotlib/matplotlib@fafa950 · GitHub
Skip to content

Commit fafa950

Browse files
committed
Revert exception handling after numpy minver bump to 1.25
1 parent 1a92dc9 commit fafa950

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/matplotlib/backends/backend_pdf.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2632,10 +2632,7 @@ def delta(self, other):
26322632
different = ours is not theirs
26332633
else:
26342634
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.
2635+
except ValueError:
26392636
ours = np.asarray(ours)
26402637
theirs = np.asarray(theirs)
26412638
different = (ours.shape != theirs.shape or

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy