From b8eebf56c090153ba5b5d0b948d85343f1a2a886 Mon Sep 17 00:00:00 2001 From: cvanelteren Date: Tue, 27 Jan 2026 13:02:22 +1000 Subject: [PATCH] add return fig to test --- ultraplot/tests/test_colorbar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ultraplot/tests/test_colorbar.py b/ultraplot/tests/test_colorbar.py index 47ec5f246..3a268ed1c 100644 --- a/ultraplot/tests/test_colorbar.py +++ b/ultraplot/tests/test_colorbar.py @@ -168,6 +168,7 @@ def test_colorbar_log_formatter_no_tickrange_error(rng): m = ax.pcolormesh(data, cmap="magma", norm="log") ax.colorbar(m, formatter="log") fig.canvas.draw() + return fig @pytest.mark.mpl_image_compare