Skip to content

Keep track of -X -Y for clip paths in modern mode #6406

@maxrjones

Description

@maxrjones

Description of the desired feature

Currently, users must specify any x-shifts and y-shifts applied to their plots when ending clip paths using coast -Q, clip -C, or mask -C. I am wondering if it would be feasible to keep track of these settings automatically in modern mode in a similar manner to how the -R -J history is tracked in insets, subplots, figures, etc?

For background, one motivation for this question is to simplify the use of these features in the wrappers by controlling the closure of clip paths automatically (e.g., GenericMappingTools/pygmt#1779). In addition to helping PyGMT, this would also simplify usage through the CLI.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions