Skip to content

Commit 4b7b799

Browse files
committed
Use Figure.directional_rose in the inset test
1 parent 839851c commit 4b7b799

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pygmt/tests/test_inset.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ def test_inset_context_manager():
3030
fig.basemap(region=[-74, -69.5, 41, 43], projection="M9c", frame=True)
3131
with fig.inset(position="jBL+w3c+o0.2c", margin=0, box=Box(pen="black")):
3232
fig.basemap(region=[-80, -65, 35, 50], projection="M3c", frame="afg")
33-
fig.basemap(rose="jTR+w3c") # Pass rose argument with basemap after the inset
33+
# Plot an rose after the inset
34+
fig.directional_rose(position="TR", position_type="inside", width="3c")
3435
return fig

0 commit comments

Comments
 (0)