Uh oh!
There was an error while loading. Please reload this page.
Add lakes alias to Figure.coast() - #781
Conversation
seisman
commented
Jan 3, 2021
Also see some discussions in #474 (comment). Ping @GenericMappingTools/python for comments on the argument name. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
willschlitzer
commented
Jan 4, 2021
@seisman Looking at that PR, I'm not sure what the issue with using a long-name alias for |
seisman
commented
Jan 4, 2021
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 |
seisman
commented
Jan 4, 2021
Just checked the documentation of |
seisman
commented
Jan 4, 2021
/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)
seisman
commented
Jan 5, 2021
@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: |
willschlitzer
commented
Jan 6, 2021
@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().