Add lakes alias to Figure.coast()#781
Add lakes alias to Figure.coast()#781willschlitzer merged 10 commits intoGenericMappingTools:masterfrom
Conversation
|
Also see some discussions in #474 (comment). Ping @GenericMappingTools/python for comments on the argument name. |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
|
@seisman Looking at that PR, I'm not sure what the issue with using a long-name alias for |
Yes, We need to be very careful about choosing these long names. Sometimes we may find that the long names are inappropriate and have to change them to other names, which may break backward compatibility. For example, @weiji14 and I were thinking about changing |
|
Just checked the documentation of |
|
/format |
seisman
left a comment
There was a problem hiding this comment.
OK to merge after you fix this style issue:
pygmt/base_plotting.py:117:80: W505 doc line too long (83 > 79 characters)
|
@willschlitzer When merging a PR, it would be better to simplify the commit description. For example, this is how this PR looks like after merging into the master branch. A better one is: |
|
@seisman Sounds good; my apologies for just leaving the defaults in. |
* Add lakes alias to coast in base_plotting.py * Changing color to fill * Update coast docstring to r-string and change line lengths * Add test for lake alias to test_coast.py * Run make format * Update pygmt/base_plotting.py Co-authored-by: Dongdong Tian <seisman.info@gmail.com> * Update pygmt/base_plotting.py Co-authored-by: Dongdong Tian <seisman.info@gmail.com> * Fixing doc string length Co-authored-by: Dongdong Tian <seisman.info@gmail.com>


Adding the
lakesalias for the -C argument toFigure.coast().