Skip to content

Commit 8da4192

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR matplotlib#24514: Fix potential issue in contour
1 parent 24f530e commit 8da4192

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/contour.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,7 @@ def find_nearest_contour(self, x, y, indices=None, pixel=True):
13621362
d2min = np.inf
13631363
conmin = None
13641364
segmin = None
1365+
imin = None
13651366
xmin = None
13661367
ymin = None
13671368

0 commit comments

Comments
 (0)