From e1e4c02fec7e43b6f67e30fa4db1036598496ec4 Mon Sep 17 00:00:00 2001 From: James Gaboardi Date: Mon, 6 Oct 2025 15:28:42 -0400 Subject: [PATCH] resolve #285 -- small mpl diffs --- core/tests/test_viz_context.py | 3 ++- core/tests/test_viz_h3_hex.py | 8 ++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/core/tests/test_viz_context.py b/core/tests/test_viz_context.py index 97c08b2..80678fb 100644 --- a/core/tests/test_viz_context.py +++ b/core/tests/test_viz_context.py @@ -39,7 +39,8 @@ def test_viz_context_location(): # RMS (12.174 // 255) for Ubuntu DEV --> MPL via pypi (very small diff) -tol = 12.2 if pytest.ENV_TYPE == "dev" else 3 +# -- more diff -- simplification#285 +tol = 12.2 if pytest.ENV_TYPE == "dev" else 4 @image_comparison( diff --git a/core/tests/test_viz_h3_hex.py b/core/tests/test_viz_h3_hex.py index 86bb228..1be8617 100644 --- a/core/tests/test_viz_h3_hex.py +++ b/core/tests/test_viz_h3_hex.py @@ -4,10 +4,12 @@ import core +# (RMS 6.914) +# -- more diff -- simplification#285 @image_comparison( baseline_images=["test_viz_h3_hex_plot_aoi.png"], style="mpl20", - tol=7 if pytest.ENV_TYPE == "dev" else 2, # (RMS 6.914) + tol=7 if pytest.ENV_TYPE == "dev" else 3, ) def test_viz_h3_hex_plot_aoi(grid_8_auckland): core.viz.h3_hex.plot_aoi(grid_8_auckland, "Auckland", 8) @@ -38,7 +40,9 @@ def test_viz_h3_hex_plot_analysis(manual_auckland, parenx_auckland, grid_7_auckl core.viz.h3_hex.plot_analysis(grid, f"{var}_ratio", info=f"({_p}/{_m})") -tol = 5 if pytest.ENV_TYPE == "dev" else 3 # (RMS 4.030) +# (RMS 4.030) +# -- more diff -- simplification#285 +tol = 5 if pytest.ENV_TYPE == "dev" else 4 class TestVizH3HexPlotCell: