Skip to content

Commit

Permalink
static image update
Browse files Browse the repository at this point in the history
  • Loading branch information
fmaussion committed Aug 20, 2024
1 parent 5dc6ed8 commit f0e5f0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion salem/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _lazy_property(self):
if not path.exists(download_dir):
makedirs(download_dir)

sample_data_gh_commit = '454bf696324000d198f574a1bf5bc56e3e489051'
sample_data_gh_commit = 'aa0ddda63a8025787ffe9dba3219c7926acf33cd'
sample_data_dir = path.join(cache_dir, 'salem-sample-data-' +
sample_data_gh_commit)

Expand Down
4 changes: 2 additions & 2 deletions salem/tests/test_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ def test_hef_topo_withnan():

@requires_matplotlib
@requires_static_key
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir, tolerance=25)
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir, tolerance=10)
def test_gmap():
g = GoogleCenterMap(center_ll=(10.762660, 46.794221), zoom=13,
size_x=640, size_y=640)
Expand All @@ -830,7 +830,7 @@ def test_gmap():

@requires_matplotlib
@requires_static_key
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir, tolerance=25)
@pytest.mark.mpl_image_compare(baseline_dir=baseline_dir, tolerance=10)
def test_gmap_transformed():
dem = GeoTiff(get_demo_file('hef_srtm.tif'))
dem.set_subset(margin=-100)
Expand Down

0 comments on commit f0e5f0d

Please sign in to comment.