Skip to content

Commit 083ecec

Browse files
committed
Fix bugs
1 parent 546941e commit 083ecec

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/maxplotlib/tests/test_matplotlib_import_extended.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,10 @@ def test_secondary_inset_and_annotation_coordinates():
309309
assert result.texts[0].xycoords == "axes fraction"
310310

311311

312+
@pytest.mark.skipif(
313+
tuple(int(part) for part in matplotlib.__version__.split(".")[:2]) < (3, 10),
314+
reason="indicate_inset_zoom only returns a rebindable InsetIndicator on 3.10+",
315+
)
312316
def test_inset_zoom_indicator_rebinds_to_reconstructed_axes():
313317
fig, ax = plt.subplots()
314318
ax.plot([0, 1, 2, 3], [0, 1, 4, 9])

0 commit comments

Comments
 (0)