Skip to content

Commit

Permalink
Update colorbar, inset, legend and logo baseline images for GMT 6.2.0 (
Browse files Browse the repository at this point in the history
…GenericMappingTools#1322)

Fix five broken tests on GMT 6.2.0 for fig.colorbar, fig.inset,
fig.legend and fig.logo. Differences are mainly due to a different
pen thickness setting. Also marking a test_plot3d_matrix_color
as xfail on Windows due to incorrect -i parameter parsing.
  • Loading branch information
weiji14 authored and Josh Sixsmith committed Dec 21, 2022
1 parent 40ec4cc commit 3a3aad0
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions pygmt/tests/baseline/test_colorbar_box.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
outs:
- md5: 5bd7bba7139b23c1c63dd7ed053a5b88
size: 1388
- md5: 554a83b4f34c4470e2e2aba765860e84
size: 1450
path: test_colorbar_box.png
4 changes: 2 additions & 2 deletions pygmt/tests/baseline/test_inset_aliases.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
outs:
- md5: 62d6aec510780889e6f1d25a8c564ff0
size: 29626
- md5: e70a202d0e548835276809936db1db98
size: 29870
path: test_inset_aliases.png
4 changes: 2 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,4 @@
outs:
- md5: 43c2c1d0c58d4fd2b24d3ca059cc5e35
size: 10477
- md5: 5748eda7fde2e3ee4dbe3ff94d82ba7f
size: 10486
path: test_inset_context_manager.png
4 changes: 2 additions & 2 deletions pygmt/tests/baseline/test_legend_position.png.dvc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
outs:
- md5: 4306da978112fb27dde184d63ec440ee
size: 24826
- md5: 84d9a3ca57ed3a1e4aa826d05d20518c
size: 24875
path: test_legend_position.png
4 changes: 2 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,4 @@
outs:
- md5: 57c3747cb7d2ed978e473d0f161ca3a6
size: 70993
- md5: 2c9c6a32042a171e4fa34df5f8eccdf4
size: 70884
path: test_logo_on_a_map.png
5 changes: 5 additions & 0 deletions pygmt/tests/test_plot3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Tests plot3d.
"""
import os
import sys

import numpy as np
import pytest
Expand Down Expand Up @@ -372,6 +373,10 @@ def test_plot3d_matrix(data, region):
return fig


@pytest.mark.xfail(
condition=sys.platform == "win32",
reason="Wrong plot generated on Windows due to incorrect -i parameter parsing",
)
@pytest.mark.mpl_image_compare
def test_plot3d_matrix_color(data, region):
"""
Expand Down

0 comments on commit 3a3aad0

Please sign in to comment.