GenericMappingTools / GenericMappingTools/gmt

-Xw+1c fails after gmt inset

Open
#6,879 12 comments 0 reactions 1 assignee Claimed by @Esteban82 View on GitHub
bug
Dominant language
C
Stars
979
Forks
414
Avg merge
17h 26m
Merged PRs (30d)
54

Description

When I use the a command with `-Xw` after `gmt inset`, the second plot is NOT properly displaced.

```
gmt begin BUG_Inset png
gmt coast -JM10c -RAR.V -Baf -W
gmt inset begin -DjTL+w2c+o-0.08c
gmt coast -Rg -JG-67/-54/? -Da -Swhite -B0 -W1/faint
gmt inset end
gmt basemap -Baf -Xw+1c
gmt end show
```
Output with `gmt inset` commands:

![BUG_Inset](https://user-images.githubusercontent.com/17908951/178500894-0e2d9788-c899-41bc-85d9-98041c10a78a.png)

Output without `gmt inset` commands:
![BUG_Inset](https://user-images.githubusercontent.com/17908951/178500537-06909a02-b476-4cc3-b5da-221400f3fded.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.