-
Notifications
You must be signed in to change notification settings - Fork 235
Add a gallery example showing how to use advanced grdgradient via the "azimuth" & "normalize" parameters #2354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Wei Ji <[email protected]>
Co-authored-by: Wei Ji <[email protected]>
Co-authored-by: Wei Ji <[email protected]>
Co-authored-by: Yvonne Fröhlich <[email protected]>
Co-authored-by: Yvonne Fröhlich <[email protected]>
Co-authored-by: Wei Ji <[email protected]> Co-authored-by: Yvonne Fröhlich <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Wei Ji <[email protected]> Co-authored-by: Yvonne Fröhlich <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
weiji14
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @JingHuiTong! Just a few more comments/suggestions. It'll be good to include this in the upcoming PyGMT v0.9.0 release by the end of March, so we'll make sure to get this merged before then!
Co-authored-by: Wei Ji <[email protected]>
Co-authored-by: Yvonne Fröhlich <[email protected]> Co-authored-by: Dongdong Tian <[email protected]>
weiji14
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to fix the Style Checks (run \format), but this looks ready for final review!
Co-authored-by: Dongdong Tian <[email protected]> Co-authored-by: Yvonne Fröhlich <[email protected]>
|
/format |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. Thanks for the nice gallery example @JingHuiTong.
yvonnefroehlich
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me!
Thanks @JingHuiTong for putting efforts into contributing this gallery example 🙂 and also for considering the review comments!
|
@JingHuiTong As mentioned in #2321 (comment), if you like, you can open a new pull request to add yourself to the |
WOW! Undoubtedly YES! I have already open new PR #2430 |
Description of proposed changes
This PR aims to add a gallery example showing how to use advanced grdgradient via the
azimuth&normalizeparametersBecause the gallery/images/grdgradient.py already showed how to use
radianceparameter, I chooseazimuthas the example.Preview at https://pygmt-dev--2354.org.readthedocs.build/en/2354/gallery/images/grdgradient_shading.html
Fixes #2322
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash commands are:
/format: automatically format and lint the code/test-gmt-dev: run full tests on the latest GMT development version