GenericMappingTools / GenericMappingTools/pygmt

Add individual parameters for pen settings

Open
#1,173 8 comments 0 reactions 0 assignees View on GitHub
feature request
Dominant language
Python
Stars
874
Forks
255
Avg merge
1d 21h
Merged PRs (30d)
40

Description

The current setup for the `pen` parameter involves passing the literal GMT string. I think that this is confusing and non-intuitive for individuals who haven't used GMT. I think that the PyGMT wrappers for GMT modules that take a `pen` parameter should have parameters such `pen_color`, `pen_width`, `pen_color`, which will then be inputs to a function that returns a GMT-formatted string that is passed to the GMT API.

**Are you willing to help implement and maintain this feature?** Yes! I have a pretty good idea of how this would work, but want to gauge community interest before creating a pull request.

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.