Tracking issue for AliasSystem migration and param class additions

Open
#4,122 0 comments 3 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
api

Research direction

Start with the alias and class table in this issue, then read the referenced migration and class-addition issues for the specific alias you want to investigate. Check the corresponding PyGMT methods for existing type hints and use the related issue status to determine whether work remains; done means the selected table entry is addressed and its status can be updated.

Written by the indexing model from the issue text.

Description

help wanted

Tracking progress on new alias system migration decided in #3239/#4000, in relation to pythonic param class additions (from initial implementation, to updating all the PyGMT methods to include type-hints for that class).

Note that these are mostly the common parameters/aliases used across multiple GMT modules.

alias/class name Alias migration Class addition type-hint with class
box/Box (-F) #4073 #3995 #4073
cores (-x) #4118 🚫 🚫
fill/Pattern (-G) #4041/#4109/🚧 #4020 🚧
frame/Frame (-B) #4196 🚧 🚧
monochrome (-M) #4088 🚫 🚫
no_clip (-N) #4103 🚫 🚫
panel (-c) #4030 🚫 🚫
pen/Pen (-W) #4109/🚧 #1239 🚧
projection/Projection (-J) #4024 #379 #4123/🚧
region (-R) #4099 🚫 🚫
verbose (-V) #4039 🚫 🚫
incols (-i) #4207
outcols (-o) #4211
registration (-r) #4182 🚫 🚫
perspective (-p) #4206 #4201 🚧 🚧

For those interested in helping, check out the list of aliases at #48 for ideas.

Key:

  • 🚫 - not needed
  • 🚧 - TODO
Dominant language
Python
Stars
882
Forks
261
Avg merge
1d 3h
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenericMappingTools/pygmt

All issues in GenericMappingTools/pygmt

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.