Skip to content

Commit

Permalink
Testing changes for added, changed, and deleted dvc files
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Apr 21, 2021
1 parent 6d01523 commit cff85bf
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 11 deletions.
4 changes: 4 additions & 0 deletions pygmt/tests/baseline/test_basemap_add.png.dvc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
outs:
- md5: 40ed35b2a39ff16ad7e3e90946adc7c5
size: 5773
path: test_basemap_add.png
4 changes: 2 additions & 2 deletions pygmt/tests/baseline/test_basemap_compass.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
outs:
- md5: 5ecccc4123b28636b62e01f642006ae4
size: 90778
- md5: 1b7ed2d28e7a9521de014d95c0f7c29b
size: 47646
path: test_basemap_compass.png
4 changes: 0 additions & 4 deletions pygmt/tests/baseline/test_basemap_map_scale.png.dvc

This file was deleted.

9 changes: 4 additions & 5 deletions pygmt/tests/test_basemap.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def test_basemap_compass():
"""
fig = Figure()
fig.basemap(
region=[127.5, 128.5, 26, 27],
region=[120, 128.5, 26, 27],
projection="H15c",
frame=True,
compass="jMC+w5c+d11.5",
Expand All @@ -101,15 +101,14 @@ def test_basemap_compass():


@pytest.mark.mpl_image_compare
def test_basemap_map_scale():
def test_basemap_add():
"""
Create a map with a map scale.
Create a map.
"""
fig = Figure()
fig.basemap(
region=[127.5, 128.5, 26, 27],
region=[120, 128.5, 26, 27],
projection="H15c",
frame=True,
map_scale="jMC+c26.5+w10k+f+l",
)
return fig

0 comments on commit cff85bf

Please sign in to comment.