From 7dbf965c5e73d75e74c21458481ac879f3a299c8 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke <10647082+mroeschke@users.noreply.github.com> Date: Mon, 16 Dec 2024 17:40:36 -0800 Subject: [PATCH] Type in ._version --- pandas/tests/plotting/test_boxplot_method.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/plotting/test_boxplot_method.py b/pandas/tests/plotting/test_boxplot_method.py index 28bf74c8ba71c..234575b819ed4 100644 --- a/pandas/tests/plotting/test_boxplot_method.py +++ b/pandas/tests/plotting/test_boxplot_method.py @@ -36,7 +36,7 @@ def _check_ax_limits(col, ax): assert y_max >= col.max() -if Version(mpl._version__) < Version("3.10"): +if Version(mpl.__version__) < Version("3.10"): verts = [{"vert": False}, {"vert": True}] else: verts = [{"orientation": "horizontal"}, {"orientation": "vertical"}]