pygmt.datasets.load_hotspots

pygmt.datasets.load_hotspots()[source]

Load a table with the locations, names, and suggested symbol sizes of hotspots.

This is the @hotspots.txt dataset used in the GMT tutorials.

The data are downloaded to a cache directory (usually ~/.gmt/cache) the first time you invoke this function. Afterwards, it will load the data from the cache. So you’ll need an internet connection the first time around.

Returns

data (pandas.DataFrame) – The data table with columns “longitude”, “latitude”, “symbol_size”, and “placename”.