From ca2cf96f31d91a3b31b7927d3abe474d6a4c6a55 Mon Sep 17 00:00:00 2001 From: Julius <juliusflorstedt@gmail.com> Date: Sun, 2 Feb 2025 16:17:15 +0100 Subject: [PATCH] again --- tests_automatic/test_surface3d_automatic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests_automatic/test_surface3d_automatic.py b/tests_automatic/test_surface3d_automatic.py index cca17e8..2e47cce 100644 --- a/tests_automatic/test_surface3d_automatic.py +++ b/tests_automatic/test_surface3d_automatic.py @@ -38,12 +38,12 @@ def test_surface_properties( x, y, z = matrix_triplet serializer = MatplotlibSerializer() _, serializer_ax = serializer.subplots(subplot_kw={"projection": "3d"}) - _fig, ax = plt.subplots(subplot_kw={"projection": "3d"}) # type: ignore + _fig, ax = plt.subplots(subplot_kw={"projection": "3d"}) try: ax.plot_surface(x, y, z) except Exception as _e: plt.close() else: - serializer_ax.plot_surface(x, y, z) + serializer_ax.plot_surface(x, y, z) # type: ignore assert serializer.to_json() != "{}", "Serialized JSON is empty check input" plt.close() -- GitLab