8000 Merge pull request #16520 from anntzer/np115 · matplotlib/matplotlib@6a8e39f · GitHub
[go: up one dir, main page]

Skip to content

Commit 6a8e39f

Browse files
authored
Merge pull request #16520 from anntzer/np115
Update a comment re: minimum version of numpy working around bug.
2 parents 555e1c3 + 8787667 commit 6a8e39f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/transforms.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -720,8 +720,8 @@ def union(bboxes):
720720
"""Return a `Bbox` that contains all of the given *bboxes*."""
721721
if not len(bboxes):
722722
raise ValueError("'bboxes' cannot be empty")
723-
# needed for 1.14.4 < numpy_version < 1.15
724-
# can remove once we are at numpy >= 1.15
723+
# needed for 1.14.4 < numpy_version < 1.16
724+
# can remove once we are at numpy >= 1.16
725725
with np.errstate(invalid='ignore'):
726726
x0 = np.min([bbox.xmin for bbox in bboxes])
727727
x1 = np.max([bbox.xmax for bbox in bboxes])

0 commit comments

Comments
 (0)
0