Add default reference point for map inset (-D)#9077
Conversation
|
Maybe it's only my taste, but I would put it at TR (that's what you did in the other PR) or BR |
|
Yes, I would put it there too, but it would be the same corner used by the directional arrow (in #9074). That's why I chose "top left" so that the default positions wouldn't overlap. |
|
Well, in that (very very rare) case the user has to decide where he/she wants to pout each of them. |
|
I don't think it's that rare to have both an inset and a north arrow on the same map. But if you insist with TR, I can change it. |
|
Changed to TR. |
|
For PyGMT we have currently the Bottom Left corner of the plot as default |
|
I have no problem to change it. @joa-quim ? |
|
GMT.jl has insets too, but more elaborated as they can search best locations, but for full filled base image the default is TR. And the example in the GMT inset page, also set TR as the location. I don't think BL is a common default location for an inset. |
Assisted-by: Claude Sonnet 4.6
This PR makes the argument optional for the map inset option (
-D).When omitted, GMT now defaults to
jTL(top-left corner inside the map frame) instead of raising a parsing error.Test with:
Please let me know if you’d prefer a different default setting. In PyGMT the Bottom Left corner is used.