Skip to content

Commit

Permalink
Update syntax for loading sample datasets in tutorials
Browse files Browse the repository at this point in the history
This PR is a follow-up of #1685 and updates the syntax for loading sample datasets in all corresponding tutorials.
  • Loading branch information
michaelgrund authored Feb 12, 2022
1 parent 1ceb999 commit c55cd9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tutorials/basics/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@

###############################################################################
# For example, let's load the sample dataset of tsunami generating earthquakes
# around Japan (:func:`pygmt.datasets.load_japan_quakes`). The data is loaded
# around Japan (:func:`pygmt.datasets.load_sample_data(name="japan_quakes")`). The data is loaded
# as a :class:`pandas.DataFrame`.

data = pygmt.datasets.load_japan_quakes()
data = pygmt.datasets.load_sample_data(name="japan_quakes")

# Set the region for the plot to be slightly larger than the data bounds.
region = [
Expand Down

0 comments on commit c55cd9a

Please sign in to comment.