Skip to content

Commit 787843c

Browse files
authored
Merge pull request matplotlib#24535 from meeseeksmachine/auto-backport-of-pr-24514-on-v3.6.x
Backport PR matplotlib#24514 on branch v3.6.x (Fix potential issue in contour)
2 parents 9af6ba7 + 8da4192 commit 787843c

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)