Skip to content

Commit

Permalink
FIX: Fix for pytest using classic facecolors. Now will use matplotlib…
Browse files Browse the repository at this point in the history
… default.
  • Loading branch information
zssherman committed Oct 10, 2023
1 parent ae793e7 commit ae58d37
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file modified act/tests/baseline/test_geoplot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified act/tests/baseline/test_geoplot_tile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions act/tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ def test_xsection_plot_map():


@pytest.mark.skipif(not CARTOPY_AVAILABLE, reason='Cartopy is not installed.')
@pytest.mark.mpl_image_compare(tolerance=30)
@pytest.mark.mpl_image_compare(style="default", tolerance=30)
def test_geoplot():
sonde_ds = arm.read_netcdf(sample_files.EXAMPLE_SONDE1)
geodisplay = GeographicPlotDisplay({'sgpsondewnpnC1.b1': sonde_ds}, figsize=(15, 8))
Expand Down Expand Up @@ -441,7 +441,7 @@ def test_geoplot():


@pytest.mark.skipif(not CARTOPY_AVAILABLE, reason='Cartopy is not installed.')
@pytest.mark.mpl_image_compare(tolerance=30)
@pytest.mark.mpl_image_compare(style="default", tolerance=30)
def test_geoplot_tile():
sonde_ds = arm.read_netcdf(sample_files.EXAMPLE_SONDE1)
geodisplay = GeographicPlotDisplay({'sgpsondewnpnC1.b1': sonde_ds}, figsize=(15, 8))
Expand Down

0 comments on commit ae58d37

Please sign in to comment.