From 87876674dde04c196bd195389b691a97cbd9d880 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sat, 15 Feb 2020 22:56:34 +0100 Subject: [PATCH] Update a comment re: minimum version of numpy working around bug. --- lib/matplotlib/transforms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/transforms.py b/lib/matplotlib/transforms.py index 3292340bf99d..d112d657cbcb 100644 --- a/lib/matplotlib/transforms.py +++ b/lib/matplotlib/transforms.py @@ -695,8 +695,8 @@ def union(bboxes): """Return a `Bbox` that contains all of the given *bboxes*.""" if not len(bboxes): raise ValueError("'bboxes' cannot be empty") - # needed for 1.14.4 < numpy_version < 1.15 - # can remove once we are at numpy >= 1.15 + # needed for 1.14.4 < numpy_version < 1.16 + # can remove once we are at numpy >= 1.16 with np.errstate(invalid='ignore'): x0 = np.min([bbox.xmin for bbox in bboxes]) x1 = np.max([bbox.xmax for bbox in bboxes])