diff --git a/Makefile b/Makefile index 072b8ccdb50..6fb838e4d13 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Build, package, test, and clean PROJECT=pygmt TESTDIR=tmp-test-dir-with-unique-name -PYTEST_ARGS=--cov-config=../.coveragerc --cov-report=term-missing --cov=$(PROJECT) --doctest-modules -v --pyargs +PYTEST_ARGS=--cov-config=../.coveragerc --cov-report=term-missing --cov=$(PROJECT) --doctest-modules -v --mpl --mpl-results-path=results --pyargs BLACK_FILES=$(PROJECT) setup.py doc/conf.py examples FLAKE8_FILES=$(PROJECT) setup.py LINT_FILES=$(PROJECT) setup.py diff --git a/pygmt/tests/baseline/test_basemap_aliases.png b/pygmt/tests/baseline/test_basemap_aliases.png index e273505c435..8a36adcd094 100644 Binary files a/pygmt/tests/baseline/test_basemap_aliases.png and b/pygmt/tests/baseline/test_basemap_aliases.png differ diff --git a/pygmt/tests/baseline/test_basemap_polar.png b/pygmt/tests/baseline/test_basemap_polar.png index 257ef3e2359..99d8b2d190d 100644 Binary files a/pygmt/tests/baseline/test_basemap_polar.png and b/pygmt/tests/baseline/test_basemap_polar.png differ diff --git a/pygmt/tests/baseline/test_basemap_power_axis.png b/pygmt/tests/baseline/test_basemap_power_axis.png index 84199a721fe..79b58be365b 100644 Binary files a/pygmt/tests/baseline/test_basemap_power_axis.png and b/pygmt/tests/baseline/test_basemap_power_axis.png differ diff --git a/pygmt/tests/baseline/test_basemap_winkel_tripel.png b/pygmt/tests/baseline/test_basemap_winkel_tripel.png index bfdb25b496d..d813898620c 100644 Binary files a/pygmt/tests/baseline/test_basemap_winkel_tripel.png and b/pygmt/tests/baseline/test_basemap_winkel_tripel.png differ diff --git a/pygmt/tests/baseline/test_coast.png b/pygmt/tests/baseline/test_coast.png index 2df3d933512..9a31355f638 100644 Binary files a/pygmt/tests/baseline/test_coast.png and b/pygmt/tests/baseline/test_coast.png differ diff --git a/pygmt/tests/baseline/test_coast_aliases.png b/pygmt/tests/baseline/test_coast_aliases.png index 06127215292..25d33a151cd 100644 Binary files a/pygmt/tests/baseline/test_coast_aliases.png and b/pygmt/tests/baseline/test_coast_aliases.png differ diff --git a/pygmt/tests/baseline/test_coast_iceland.png b/pygmt/tests/baseline/test_coast_iceland.png index 88c921a22eb..14a33962956 100644 Binary files a/pygmt/tests/baseline/test_coast_iceland.png and b/pygmt/tests/baseline/test_coast_iceland.png differ diff --git a/pygmt/tests/baseline/test_coast_world_mercator.png b/pygmt/tests/baseline/test_coast_world_mercator.png index 45ecf4413c6..27f9b16fd57 100644 Binary files a/pygmt/tests/baseline/test_coast_world_mercator.png and b/pygmt/tests/baseline/test_coast_world_mercator.png differ diff --git a/pygmt/tests/baseline/test_grdcontour.png b/pygmt/tests/baseline/test_grdcontour.png index 10bf526ac8e..310857087b0 100644 Binary files a/pygmt/tests/baseline/test_grdcontour.png and b/pygmt/tests/baseline/test_grdcontour.png differ diff --git a/pygmt/tests/baseline/test_grdcontour_file.png b/pygmt/tests/baseline/test_grdcontour_file.png index 21b4a3aaa6a..c3e1d8e0702 100644 Binary files a/pygmt/tests/baseline/test_grdcontour_file.png and b/pygmt/tests/baseline/test_grdcontour_file.png differ diff --git a/pygmt/tests/baseline/test_grdcontour_interval_file_full_opts.png b/pygmt/tests/baseline/test_grdcontour_interval_file_full_opts.png index d0e064d66fd..9e7e9c6ab86 100644 Binary files a/pygmt/tests/baseline/test_grdcontour_interval_file_full_opts.png and b/pygmt/tests/baseline/test_grdcontour_interval_file_full_opts.png differ diff --git a/pygmt/tests/baseline/test_grdcontour_labels.png b/pygmt/tests/baseline/test_grdcontour_labels.png index 0c0b63ad6d3..dc914126d4f 100644 Binary files a/pygmt/tests/baseline/test_grdcontour_labels.png and b/pygmt/tests/baseline/test_grdcontour_labels.png differ diff --git a/pygmt/tests/baseline/test_grdcontour_slice.png b/pygmt/tests/baseline/test_grdcontour_slice.png index fcf9911bc4a..e6d0d04cd5f 100644 Binary files a/pygmt/tests/baseline/test_grdcontour_slice.png and b/pygmt/tests/baseline/test_grdcontour_slice.png differ diff --git a/pygmt/tests/baseline/test_grdimage.png b/pygmt/tests/baseline/test_grdimage.png index 8a292a72cc0..7237245de06 100644 Binary files a/pygmt/tests/baseline/test_grdimage.png and b/pygmt/tests/baseline/test_grdimage.png differ diff --git a/pygmt/tests/baseline/test_grdimage_file.png b/pygmt/tests/baseline/test_grdimage_file.png index 39d4b87ad82..f4a719422fd 100644 Binary files a/pygmt/tests/baseline/test_grdimage_file.png and b/pygmt/tests/baseline/test_grdimage_file.png differ diff --git a/pygmt/tests/baseline/test_grdimage_slice.png b/pygmt/tests/baseline/test_grdimage_slice.png index f8ab2fa2ff3..89f91e4ff6f 100644 Binary files a/pygmt/tests/baseline/test_grdimage_slice.png and b/pygmt/tests/baseline/test_grdimage_slice.png differ diff --git a/pygmt/tests/baseline/test_image.png b/pygmt/tests/baseline/test_image.png index 7ae6ea287aa..dca4abe8a7a 100644 Binary files a/pygmt/tests/baseline/test_image.png and b/pygmt/tests/baseline/test_image.png differ diff --git a/pygmt/tests/baseline/test_logo.png b/pygmt/tests/baseline/test_logo.png index 40965c810db..9d4ababad2f 100644 Binary files a/pygmt/tests/baseline/test_logo.png and b/pygmt/tests/baseline/test_logo.png differ diff --git a/pygmt/tests/baseline/test_logo_on_a_map.png b/pygmt/tests/baseline/test_logo_on_a_map.png index f53309662fb..535697979dd 100644 Binary files a/pygmt/tests/baseline/test_logo_on_a_map.png and b/pygmt/tests/baseline/test_logo_on_a_map.png differ diff --git a/pygmt/tests/baseline/test_makecpt_continuous.png b/pygmt/tests/baseline/test_makecpt_continuous.png index 97d59a9fc8b..30895599193 100644 Binary files a/pygmt/tests/baseline/test_makecpt_continuous.png and b/pygmt/tests/baseline/test_makecpt_continuous.png differ diff --git a/pygmt/tests/baseline/test_makecpt_reverse_color_and_zsign.png b/pygmt/tests/baseline/test_makecpt_reverse_color_and_zsign.png index 99cc79ba638..52f8498675a 100644 Binary files a/pygmt/tests/baseline/test_makecpt_reverse_color_and_zsign.png and b/pygmt/tests/baseline/test_makecpt_reverse_color_and_zsign.png differ diff --git a/pygmt/tests/baseline/test_makecpt_reverse_color_only.png b/pygmt/tests/baseline/test_makecpt_reverse_color_only.png index 3ed3aee1025..30a02ab53eb 100644 Binary files a/pygmt/tests/baseline/test_makecpt_reverse_color_only.png and b/pygmt/tests/baseline/test_makecpt_reverse_color_only.png differ diff --git a/pygmt/tests/baseline/test_makecpt_reverse_zsign_only.png b/pygmt/tests/baseline/test_makecpt_reverse_zsign_only.png index cd89bde4d49..e65b503ae00 100644 Binary files a/pygmt/tests/baseline/test_makecpt_reverse_zsign_only.png and b/pygmt/tests/baseline/test_makecpt_reverse_zsign_only.png differ diff --git a/pygmt/tests/baseline/test_makecpt_to_plot_grid.png b/pygmt/tests/baseline/test_makecpt_to_plot_grid.png index e72226d52c7..88615c85e36 100644 Binary files a/pygmt/tests/baseline/test_makecpt_to_plot_grid.png and b/pygmt/tests/baseline/test_makecpt_to_plot_grid.png differ diff --git a/pygmt/tests/baseline/test_makecpt_to_plot_grid_scaled_with_series.png b/pygmt/tests/baseline/test_makecpt_to_plot_grid_scaled_with_series.png index f83941ee2ee..4d1ff63fb31 100644 Binary files a/pygmt/tests/baseline/test_makecpt_to_plot_grid_scaled_with_series.png and b/pygmt/tests/baseline/test_makecpt_to_plot_grid_scaled_with_series.png differ diff --git a/pygmt/tests/baseline/test_makecpt_truncated_at_zhigh_only.png b/pygmt/tests/baseline/test_makecpt_truncated_at_zhigh_only.png index ede5d670a95..e5f17356f08 100644 Binary files a/pygmt/tests/baseline/test_makecpt_truncated_at_zhigh_only.png and b/pygmt/tests/baseline/test_makecpt_truncated_at_zhigh_only.png differ diff --git a/pygmt/tests/baseline/test_makecpt_truncated_at_zlow_only.png b/pygmt/tests/baseline/test_makecpt_truncated_at_zlow_only.png index 7701bf45034..d87434d6241 100644 Binary files a/pygmt/tests/baseline/test_makecpt_truncated_at_zlow_only.png and b/pygmt/tests/baseline/test_makecpt_truncated_at_zlow_only.png differ diff --git a/pygmt/tests/baseline/test_makecpt_truncated_to_zlow_zhigh.png b/pygmt/tests/baseline/test_makecpt_truncated_to_zlow_zhigh.png index 1c5355ac25e..c1fff4e1ada 100644 Binary files a/pygmt/tests/baseline/test_makecpt_truncated_to_zlow_zhigh.png and b/pygmt/tests/baseline/test_makecpt_truncated_to_zlow_zhigh.png differ diff --git a/pygmt/tests/baseline/test_plot_colors.png b/pygmt/tests/baseline/test_plot_colors.png index c27e65d848b..1478ce8fb95 100644 Binary files a/pygmt/tests/baseline/test_plot_colors.png and b/pygmt/tests/baseline/test_plot_colors.png differ diff --git a/pygmt/tests/baseline/test_plot_colors_sizes.png b/pygmt/tests/baseline/test_plot_colors_sizes.png index ac5a34c564e..efaa73aafa1 100644 Binary files a/pygmt/tests/baseline/test_plot_colors_sizes.png and b/pygmt/tests/baseline/test_plot_colors_sizes.png differ diff --git a/pygmt/tests/baseline/test_plot_colors_sizes_proj.png b/pygmt/tests/baseline/test_plot_colors_sizes_proj.png index 205deb1bbb3..c1b9d96cf3b 100644 Binary files a/pygmt/tests/baseline/test_plot_colors_sizes_proj.png and b/pygmt/tests/baseline/test_plot_colors_sizes_proj.png differ diff --git a/pygmt/tests/baseline/test_plot_matrix.png b/pygmt/tests/baseline/test_plot_matrix.png index 0e516f68ac1..90b4db02719 100644 Binary files a/pygmt/tests/baseline/test_plot_matrix.png and b/pygmt/tests/baseline/test_plot_matrix.png differ diff --git a/pygmt/tests/baseline/test_plot_matrix_color.png b/pygmt/tests/baseline/test_plot_matrix_color.png index 6d9f16ac0aa..10ee29a0064 100644 Binary files a/pygmt/tests/baseline/test_plot_matrix_color.png and b/pygmt/tests/baseline/test_plot_matrix_color.png differ diff --git a/pygmt/tests/baseline/test_plot_projection.png b/pygmt/tests/baseline/test_plot_projection.png index e58aab2ad53..94161c21de6 100644 Binary files a/pygmt/tests/baseline/test_plot_projection.png and b/pygmt/tests/baseline/test_plot_projection.png differ diff --git a/pygmt/tests/baseline/test_plot_red_circles.png b/pygmt/tests/baseline/test_plot_red_circles.png index 5baeac022ca..3cfcead3be4 100644 Binary files a/pygmt/tests/baseline/test_plot_red_circles.png and b/pygmt/tests/baseline/test_plot_red_circles.png differ diff --git a/pygmt/tests/baseline/test_plot_sizes.png b/pygmt/tests/baseline/test_plot_sizes.png index 1302df694da..a2c4b1ac5de 100644 Binary files a/pygmt/tests/baseline/test_plot_sizes.png and b/pygmt/tests/baseline/test_plot_sizes.png differ diff --git a/pygmt/tests/test_basemap.py b/pygmt/tests/test_basemap.py index 827aa2b9373..6ebebe95f60 100644 --- a/pygmt/tests/test_basemap.py +++ b/pygmt/tests/test_basemap.py @@ -49,7 +49,7 @@ def test_basemap_power_axis(): "Create a power axis basemap plot" fig = Figure() fig.basemap( - R=[0, 100, 0, 5000], J="x1p0.5/-0.001", B='x1p+l"Crustal age"y500+lDepth' + R=[0, 100, 0, 5000], J="x1p0.5/-0.001", B=['x1p+l"Crustal age"', "y500+lDepth"] ) return fig