Skip to content

Add dcw alias (E) to Figure.coast - #765

Merged
seisman merged 31 commits into
GenericMappingTools:masterfrom
willschlitzer:paint-country
Jan 18, 2021
Merged

seisman merged 31 commits into
GenericMappingTools:masterfrom
willschlitzer:paint-country

Conversation

@willschlitzer

Copy link
Copy Markdown
Contributor

Add paint_country as an alias for the -E parameter for Figure.coast. Add tests for the new parameter.

@willschlitzer

Copy link
Copy Markdown
Contributor Author

/format

@seisman seisman added the documentation Improvements or additions to documentation label Dec 26, 2020
@seisman seisman added this to the 0.3.0 milestone Dec 26, 2020
@seisman

seisman commented Dec 29, 2020

Copy link
Copy Markdown
Member

I'm not sure paint_country is a good name for this parameter. GMT.jl uses dcw, but I don't like that one.

Comment thread pygmt/base_plotting.py Resolved
@willschlitzer

Copy link
Copy Markdown
Contributor Author

I'm not sure what a good alias would be; I felt like paint_country is awkward but I wanted the parameter to be descriptive (which I don't think something like dcw is). I'll give it some thought on alternatives.

@willschlitzer

Copy link
Copy Markdown
Contributor Author

I think dcw may be the best option. While It's doesn't really explain what the argument is, I think it looks cleaner than paint_country.

Co-authored-by: Dongdong Tian <[email protected]>
@willschlitzer

Copy link
Copy Markdown
Contributor Author

/format

@willschlitzer

Copy link
Copy Markdown
Contributor Author

/format

Comment thread pygmt/base_plotting.py Resolved
Comment thread pygmt/base_plotting.py Resolved
Comment thread pygmt/base_plotting.py Resolved
@seisman seisman added enhancement Improving an existing feature and removed documentation Improvements or additions to documentation labels Jan 18, 2021
@seisman seisman changed the title Add paint_country as parameter for coast Add dcw alias to Figure.coast Jan 18, 2021
@seisman seisman changed the title Add dcw alias to Figure.coast Add dcw alias (E) to Figure.coast Jan 18, 2021
@seisman
seisman merged commit e3efe39 into GenericMappingTools:master Jan 18, 2021
@willschlitzer
willschlitzer deleted the paint-country branch January 21, 2021 09:16
sixy6e pushed a commit to sixy6e/pygmt that referenced this pull request Dec 21, 2022

This branch was previously deployed

1 inactive deployment
Preview — 90218438 Deployed Jan 18, 2021 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Improving an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants