Skip to content

Commit 02ebc94

Browse files
committed
Add a new baseline image
1 parent 17f7cc7 commit 02ebc94

3 files changed

Lines changed: 11 additions & 10 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
outs:
2+
- md5: bf71e5e72529a85d9ac45aa71321962e
3+
size: 3798
4+
hash: md5
5+
path: test_plot_symbol.png

pygmt/tests/baseline/test_plot_symbols.png.dvc

Lines changed: 0 additions & 4 deletions
This file was deleted.

pygmt/tests/test_plot.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -300,19 +300,19 @@ def test_plot_sizes_colors_transparencies():
300300

301301

302302
@pytest.mark.mpl_image_compare
303-
def test_plot_symbols(data, region):
303+
def test_plot_symbol():
304304
"""
305305
Plot the data using array-like symbols.
306306
"""
307307
fig = Figure()
308308
fig.plot(
309-
x=data[:, 0],
310-
y=data[:, 1],
311-
region=region,
309+
x=[1, 2, 3, 4],
310+
y=[1, 1, 1, 1],
311+
region=[0, 5, 0, 5],
312312
projection="X4c",
313313
fill="blue",
314-
size=[0.5] * data.shape[0],
315-
symbol=["c"] * data.shape[0],
314+
size=[0.1, 0.2, 0.3, 0.4],
315+
symbol=["c", "t", "i", "s"],
316316
frame="af",
317317
)
318318
return fig

0 commit comments

Comments
 (0)