Skip to content

Commit 85948f8

Browse files
authored
Merge pull request #32033 from meeseeksmachine/auto-backport-of-pr-32032-on-v3.11.x
Backport PR #32032 on branch v3.11.x (MNT: remove redundant imports)
2 parents 3c64cab + c0466fa commit 85948f8

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

lib/matplotlib/tests/test_image.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,6 @@ def test_imshow_multi_draw(n_channels, is_int, alpha_arr, opaque):
344344

345345

346346
def test_cursor_data():
347-
from matplotlib.backend_bases import MouseEvent
348-
349347
fig, ax = plt.subplots()
350348
im = ax.imshow(np.arange(100).reshape(10, 10), origin='upper')
351349

@@ -426,8 +424,6 @@ def test_cursor_data():
426424
]
427425
)
428426
def test_cursor_data_nonuniform(xy, data):
429-
from matplotlib.backend_bases import MouseEvent
430-
431427
# Non-linear set of x-values
432428
x = np.array([0, 1, 4, 9, 16])
433429
y = np.array([0, 1, 2, 3, 4])

0 commit comments

Comments
 (0)