Uh oh!
There was an error while loading. Please reload this page.
Wrap rose - #794
Conversation
As discussed in GenericMappingTools#786 this is wrapping the GMT function **rose**.
Tests for wrapping rose.
michaelgrund
commented
Jan 17, 2021
/format |
There was a problem hiding this comment.
Hi @michaelgrund, this is looking excellent! I've had a quick skim and you're ticking off all the right boxes so far (well documented keyword arguments, top notch unit tests). Will try and give this a proper review once I have time (just busy right now finishing a thesis and preparing for a conference) so I'll ping the other devs @GenericMappingTools/python-maintainers to get some more eyes on this.
Oh, and this is optional, but you can also add a gallery example for rose here in this PR or in a separate Pull Request 😉 I see you're making a few minor changes still, so keep up the good work! Feel free to let us know if you encounter any trouble with anything too.
willschlitzer
commented
Jan 18, 2021
Why isn't |
michaelgrund
commented
Jan 18, 2021
I thought providing a mixture would be a good choice @willschlitzer. However, I'm fine with adding a few more tests using |
michaelgrund
commented
Jan 18, 2021
/format |
seisman
commented
Jan 18, 2021
We're trying our best to avoid using |
Co-authored-by: Meghan Jones <meghanj@alum.mit.edu>
maxrjones
commented
Mar 31, 2021
My preference would be to not document the alias before the functionality is implemented, because users will not likely be aware of the plan for a non-plotting rose method and may be confused by the |
Co-authored-by: Meghan Jones <meghanj@alum.mit.edu>
Co-authored-by: Meghan Jones <meghanj@alum.mit.edu>
michaelgrund
commented
Mar 31, 2021
Good point, what do the others think about this? |
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
maxrjones
commented
Mar 31, 2021
In case you are interested in including an alias for this option (not necessary before merging IMO), GenericMappingTools/gmt#5056 will add documentation to the GMT reST files for a |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
michaelgrund
commented
Mar 31, 2021
I would do it after merging, potentially together with implementing the inquire option. |
Uh oh!
There was an error while loading. Please reload this page.
| @@ -0,0 +1,44 @@ | |||
| """ | |||
There was a problem hiding this comment.
According to this comment: #876 (comment), the rose example should be put into the "Histogram" category.
Edit: As the "Historagm" category is not created yet, it's OK to leave the example here now. We can create the category and move the example later.
There was a problem hiding this comment.
Ok fine, to keep track will open a new issue regarding that point.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
seisman
commented
Apr 1, 2021
The PR looks good. I just made some suggestions. The two comments about refactoring the tests can be addressed in a separate PR. |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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>
michaelgrund
commented
Apr 1, 2021
weiji14
commented
Apr 1, 2021
No, thank you for your patience and doing all the side tasks like adding a new tutorial dataset! Feel free to Squash and Merge this PR in yourself @michaelgrund, be sure to change the commit message by summarizing what was done (and remove all those lines with "* Update base_plotting.py" or similar). You can also keep just a single instance of the "Co-authored-by ..." for every single person that helped. Let me know if it's unclear. |
michaelgrund
commented
Apr 1, 2021
seisman
commented
Apr 1, 2021
Something wrong with the GitHub macOS hosts. I think they're unrelated. This PR is good to merge. |
seisman
commented
Apr 1, 2021
I just merged the PR using my admin privileges. |
Description of proposed changes
As discussed in #786 this is wrapping the GMT function rose. Would be happy to receive any kind of feedback.
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Notes
/formatin the first line of a comment to lint the code automatically