Rename tutorial.py to samples.py#1110
Conversation
As discussed in #1101 here's a PR to rename ``tutorial.py`` (in which functions are defined to load sample data from the GMT tutorials) to ``samples.py``.
seisman
left a comment
There was a problem hiding this comment.
Please also update the docstrings. Currently, it still says
Functions to load sample data from the GMT tutorials.
Also, rename pygmt/tests/test_datasets_tutorial.py to pygmt/tests/test_datasets_samples.py.
|
I think we can just merge this as is without waiting, so that the load fracture sample data PR at #1101 can move forward. @michaelgrund has been very patient with wrapping the Can you merge this PR in by yourself @michaelgrund once all the tests pass? Just need to click on the green 'Squash and Merge' button, and make sure to tidy up the commit message a bit (describe what was done in this PR and remove unnecessary lines like '* updated |
* Rename tutorial.py to samples.py Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
Description of proposed changes
As discussed in #1101 here's a PR to rename
tutorial.py(in which functions are defined to load sample data from the GMT tutorials) tosamples.py.Fixes #
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