Skip to content

Commit 1b42aa4

Browse files
Rename tutorial.py to samples.py (#1110)
* Rename tutorial.py to samples.py Co-authored-by: Wei Ji <[email protected]>
1 parent c064d4a commit 1b42aa4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

pygmt/datasets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Load sample data included with GMT (downloaded from the GMT cache server).
44

55
from pygmt.datasets.earth_relief import load_earth_relief
6-
from pygmt.datasets.tutorial import (
6+
from pygmt.datasets.samples import (
77
load_japan_quakes,
88
load_ocean_ridge_points,
99
load_sample_bathymetry,

pygmt/datasets/tutorial.py renamed to pygmt/datasets/samples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Functions to load sample data from the GMT tutorials.
2+
Functions to load sample data.
33
"""
44
import pandas as pd
55
from pygmt.src import which

pygmt/tests/test_datasets_tutorial.py renamed to pygmt/tests/test_datasets_samples.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
"""
2-
Test basic functionality for loading datasets for tutorials.
2+
Test basic functionality for loading sample datasets.
33
"""
44
from pygmt.datasets import (
55
load_japan_quakes,

0 commit comments

Comments
 (0)