Skip to content

Commit

Permalink
Merge branch 'main' into fix/xr_image_fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
weiji14 committed Jan 11, 2024
2 parents b8c9c3c + 9e3f0b1 commit 2a41ddb
Show file tree
Hide file tree
Showing 124 changed files with 357 additions and 302 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:

# Run the benchmark tests
- name: Run benchmarks
uses: CodSpeedHQ/action@v2.0.2
uses: CodSpeedHQ/action@v2.0.3
with:
run: |
python -c "import pygmt; pygmt.show_versions()"
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1.8.0
uses: lycheeverse/lychee-action@v1.9.0
with:
# 429: Too many requests
args: >
Expand All @@ -61,8 +61,6 @@ jobs:
"repository/**/*.md"
"repository/**/*.py"
"documentation/dev/**/*.html"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Get current date
id: date
Expand Down
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ PyGMT
.. image:: https://github.com/GenericMappingTools/pygmt/workflows/GMT%20Dev%20Tests/badge.svg
:alt: GitHub Actions GMT Dev Tests status
:target: https://github.com/GenericMappingTools/pygmt/actions/workflows/ci_tests_dev.yaml
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff
:alt: Ruff
.. image:: https://codecov.io/gh/GenericMappingTools/pygmt/branch/main/graph/badge.svg?token=78Fu4EWstx
:alt: Test coverage status
:target: https://app.codecov.io/gh/GenericMappingTools/pygmt
Expand Down
5 changes: 5 additions & 0 deletions pygmt/tests/baseline/test_colorbar.png.dvc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
outs:
- md5: b274fb18c46c404e79dc293af9529567
size: 2652
hash: md5
path: test_colorbar.png
4 changes: 0 additions & 4 deletions pygmt/tests/baseline/test_colorbar_box.png.dvc

This file was deleted.

4 changes: 0 additions & 4 deletions pygmt/tests/baseline/test_colorbar_box_with_fill.png.dvc

This file was deleted.

4 changes: 0 additions & 4 deletions pygmt/tests/baseline/test_colorbar_scaled_z_values.png.dvc

This file was deleted.

4 changes: 0 additions & 4 deletions pygmt/tests/baseline/test_colorbar_shading_boolean.png.dvc

This file was deleted.

5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_colorbar_shading_list.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 823a04eb5398f1b101cb7ebc4af006f1
size: 56049
- md5: 52364ac84db033b53f7125ce12e95cce
size: 25000
path: test_colorbar_shading_list.png
hash: md5

This file was deleted.

5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 1f6d2bb449a5329d0208627dc293fd42
size: 19614
- md5: abb5c720dfd2452426f6cb9c66e8c9a9
size: 19567
path: test_config.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config_font_annot.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: a066694400a86dffa1d23dd34e0f35ab
size: 51676
- md5: b2db8e630d3807a5b81f8ecd002c3ac9
size: 51186
path: test_config_font_annot.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config_font_one.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 9ece40bb8efebf6467680db606fc560b
size: 54820
- md5: 21c66badaad4555b241e0a308227e4ae
size: 54733
path: test_config_font_one.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config_format_date_map.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 18c2886462bdeeb6c941a54185206302
size: 1376
- md5: 589f1a3cefee9dc8d46f51650d7e14c7
size: 1416
path: test_config_format_date_map.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config_format_time_map.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: d95be055306d25aa619e816a9a4b147e
size: 7550
- md5: ee87a487ac3f9e9840895dd7e1153649
size: 7634
path: test_config_format_time_map.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config_map_annot_offset.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 9d9b668163b3d0118199a5bbca7a92b9
size: 6858
- md5: bd80bd813ebc25b1be1d45a68568fc20
size: 6820
path: test_config_map_annot_offset.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config_map_grid_cross_size.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: c154f4630cd8ec5ceaf5329fdcc6aa5c
size: 13550
- md5: e1e7252855ceef3258475040a0ccf000
size: 13229
path: test_config_map_grid_cross_size.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config_map_grid_pen.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 3a3423437fcc7039db04e4c1bbb779e7
size: 13562
- md5: 700c84364738976df5320c06770d68b3
size: 13472
path: test_config_map_grid_pen.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config_map_tick_length.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: b20b1fd9f9e585abb5da08f3201e69ce
size: 12965
- md5: 81637ceb091700c6d1ad4390b931c354
size: 12678
path: test_config_map_tick_length.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_config_map_tick_pen.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: ebc85cc6c78a30b1d55972a725b01005
size: 13502
- md5: 2388937fb5953f6aaecaee826dd043c1
size: 13083
path: test_config_map_tick_pen.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_contour_from_file.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: f8bd9e2347bf29bd2d47745d347dc643
size: 60272
- md5: 4ec146ddfa70fa1b4cf6f48e9fcaa540
size: 60483
path: test_contour_from_file.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_contour_matrix.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 41e82af65514b8a977c5b0ef56c3c923
size: 74943
- md5: e147503fcaacb1686211653be7eb7709
size: 74897
path: test_contour_matrix.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_contour_vec.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 70e31f19ec78516ea740a6a476862ea1
size: 82409
- md5: 017a19fea9fda195fae9deeb329f761a
size: 82368
path: test_contour_vec.png
hash: md5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 2ff80a8e71f054f1638ff59578cb949e
size: 12118
- md5: bc1515edbb0af03b0bd0d2cd4028c825
size: 11912
path: test_geopandas_plot3d_default_cube.png
hash: md5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: dd53484bdf6d159e45004e30f38d6b87
size: 11989
- md5: 60016f76424ef8288e02ed56ed0fd1c8
size: 11698
path: test_geopandas_plot3d_non_default_circle.png
hash: md5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 6c395fb503f67d024925a2c86cae7ba8
size: 4272
- md5: 1564cd76fe8323fd0164bd9eb8efa08c
size: 4461
path: test_geopandas_plot_default_square.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_geopandas_plot_int_dtypes.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: c1c6eda2a88adf4d96f18f4e0c5db4d5
size: 43582
- md5: 5920ec05c2aaaf9f36df2bf371a15056
size: 43224
path: test_geopandas_plot_int_dtypes.png
hash: md5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 4a946506f8a48be04792fdabffc6fa07
size: 4451
- md5: 31d0dcb4bc3c97fc2e8a6d451009f204
size: 4620
path: test_geopandas_plot_non_default_circle.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_grd2cpt.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 6d535fbb53a470a3a12fafeab1cf4f66
size: 22230
- md5: 3ef5930b17345f3f50ac65c0a8d46c22
size: 22020
path: test_grd2cpt.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_grdcontour.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: de478b71a0c866f179b622fbbad49b59
size: 107600
- md5: ebb68bfcd849c6f0f1e8ad6fde8ab419
size: 107992
path: test_grdcontour.png
hash: md5
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 8983696dc93da77fc1e9d7e8d8920836
size: 30055
- md5: 70d2b0ac9ec8a317b4f382047587e9f2
size: 29475
path: test_grdcontour_interval_file_full_opts.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_grdcontour_labels.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 02b542fb2d9149ebc7ab1b339f94c634
size: 113001
- md5: 5dc625ae9ba8a041111cbf3d8864731b
size: 112245
path: test_grdcontour_labels.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_grdcontour_slice.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 66f1c57afea5075a02f5f90b2c225185
size: 53984
- md5: b73351d7d37e5d56fbcab6d46132026a
size: 54026
path: test_grdcontour_slice.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_grdimage.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: ff6ea7953be2b98bf7b85f6ee04e23dd
size: 180338
- md5: 4a4d857b9169baf53f4e6a3385539a84
size: 162344
path: test_grdimage.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_grdimage_file.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: d7f7c58e200283b562fd70d7c22eaf51
size: 206241
- md5: 8ee66ca045cf9031998fef75176681c6
size: 152716
path: test_grdimage_file.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_grdimage_global_subset.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 877e22361cb6d2ea1fe0efe3fa84a3e3
size: 39978
- md5: 4cf31252e6c47d9263395205335932db
size: 65582
path: test_grdimage_global_subset.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_grdimage_slice.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 662b78f3bedde3ddf73647329bf3aab4
size: 72658
- md5: 2481f1366431e4e601ccdaf25830c33e
size: 65041
path: test_grdimage_slice.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_grdview_with_perspective.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: c67ff0e137fd7c02f68813ecd4431932
size: 28125
- md5: 97be3a9ca7932beddb07db4f34d80719
size: 28285
path: test_grdview_with_perspective.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_histogram.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 8499f1d0ef232ece53300c6aaf611607
size: 10794
- md5: 63d28a2592bcdaaf2e51a0d8d9c11504
size: 10822
path: test_histogram.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_inset_aliases.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: e70a202d0e548835276809936db1db98
size: 29870
- md5: 813f2c05cf552a9a015c4cc44c9e4246
size: 30075
path: test_inset_aliases.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_inset_context_manager.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: e67ec1065197f878282949b8c79a7e2b
size: 10506
- md5: fad7ee8d74cd61f73a8f218be6b0f9c0
size: 10547
path: test_inset_context_manager.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_legend_default_position.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: f66de197af63f42c14afe153ab79d69a
size: 20395
- md5: e4800fef6c670c29ba79296e2d7032af
size: 20701
path: test_legend_default_position.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_legend_position.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: b80a0ec0f5de45bdc196c19adfb5a471
size: 24883
- md5: c0e2d094a25066a6a3cf473579ab97b8
size: 25243
path: test_legend_position.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_legend_specfile.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: cd750916aa10cc298edd16fee92a55f5
size: 52793
- md5: 8cb19cc2939be8df0f813b822718d1f8
size: 52883
path: test_legend_specfile.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_logo.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 19bb4cb6709926615cad9c05d5701b0c
size: 31802
- md5: a261222d0d214a2b4cad31a670b9fe03
size: 31954
path: test_logo.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_logo_on_a_map.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 2c9c6a32042a171e4fa34df5f8eccdf4
size: 70884
- md5: c2efdf64f52fa34d1cc962e001bb5dc5
size: 70814
path: test_logo_on_a_map.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_makecpt_categorical.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 703142a6ca0fbf079f82d9287631ad83
size: 1955
- md5: 7f9c8ddaf7c1da61b06459182c60cab0
size: 1831
path: test_makecpt_categorical.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_makecpt_continuous.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: aa7573082f6bf1635b051ef165d6ba44
size: 2853
- md5: b0f663b1e029cb76fc9bf771cb237b41
size: 2440
path: test_makecpt_continuous.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_makecpt_cyclic.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 150c12b8d8959561bdf36d380dc23d10
size: 3747
- md5: 7e7d5d650a45fe92e56d52415078ec6a
size: 3789
path: test_makecpt_cyclic.png
hash: md5
5 changes: 3 additions & 2 deletions pygmt/tests/baseline/test_makecpt_plot_colorbar.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
outs:
- md5: 989d9bf57f716f4721f14992bf39a359
size: 2529
- md5: c690fe78fafb2f3184e59a9fdf71b0eb
size: 2490
path: test_makecpt_plot_colorbar.png
hash: md5
Loading

0 comments on commit 2a41ddb

Please sign in to comment.