Skip to content

Commit 63e63f9

Browse files
authored
Update colorbar, inset, legend and logo baseline images for GMT 6.2.0 (#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.
1 parent 37819c6 commit 63e63f9

File tree

6 files changed

+15
-10
lines changed

6 files changed

+15
-10
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
outs:
2-
- md5: 5bd7bba7139b23c1c63dd7ed053a5b88
3-
size: 1388
2+
- md5: 554a83b4f34c4470e2e2aba765860e84
3+
size: 1450
44
path: test_colorbar_box.png
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
outs:
2-
- md5: 62d6aec510780889e6f1d25a8c564ff0
3-
size: 29626
2+
- md5: e70a202d0e548835276809936db1db98
3+
size: 29870
44
path: test_inset_aliases.png
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
outs:
2-
- md5: 43c2c1d0c58d4fd2b24d3ca059cc5e35
3-
size: 10477
2+
- md5: 5748eda7fde2e3ee4dbe3ff94d82ba7f
3+
size: 10486
44
path: test_inset_context_manager.png
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
outs:
2-
- md5: 4306da978112fb27dde184d63ec440ee
3-
size: 24826
2+
- md5: 84d9a3ca57ed3a1e4aa826d05d20518c
3+
size: 24875
44
path: test_legend_position.png
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
outs:
2-
- md5: 57c3747cb7d2ed978e473d0f161ca3a6
3-
size: 70993
2+
- md5: 2c9c6a32042a171e4fa34df5f8eccdf4
3+
size: 70884
44
path: test_logo_on_a_map.png

pygmt/tests/test_plot3d.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Tests plot3d.
33
"""
44
import os
5+
import sys
56

67
import numpy as np
78
import pytest
@@ -372,6 +373,10 @@ def test_plot3d_matrix(data, region):
372373
return fig
373374

374375

376+
@pytest.mark.xfail(
377+
condition=sys.platform == "win32",
378+
reason="Wrong plot generated on Windows due to incorrect -i parameter parsing",
379+
)
375380
@pytest.mark.mpl_image_compare
376381
def test_plot3d_matrix_color(data, region):
377382
"""

0 commit comments

Comments
 (0)