v0.9.0
github-actions
released this
31 Mar 21:12
·
961 commits
to refs/heads/main
since this release
Release v0.9.0 (2023/03/31)
Highlights
- ๐ Ninth minor release of PyGMT ๐
- Add Figure.tilemap to plot XYZ tile maps (#2394)
- Add function to load raster tile maps using contextily (#2125)
- Eleven new/updated gallery and inline examples
New Features
- Add load_earth_mask function for GSHHG Global Earth Mask dataset (#2310)
- Add Figure.timestamp to plot the GMT timestamp logo (#2208, #2425)
Enhancements
- pygmt.surface: Add aliases for "C", "L", "M", and "T" (#2321)
- Figure.meca: Add aliases for "C", "E", "G", and "W" (#2345)
- Figure.colorbar: Add aliases for "L" and "Z" (#2357)
Deprecations
- NEP29: Set minimum required version to NumPy 1.21+ (#2389)
- Recommend Figure.timestamp and remove timestamp (U) alias from all plotting methods (#2135)
- Remove the deprecated load_fractures_compilation function (deprecated since v0.6.0) (#2303)
- Remove the deprecated load_hotspots function (deprecated since v0.6.0) (#2309)
- Remove the deprecated load_japan_quakes function (deprecated since v0.6.0) (#2301)
- Remove the deprecated load_mars_shape function (deprecated since v0.6.0) (#2304)
- Remove the deprecated load_ocean_ridge_points function (deprecated since v0.6.0) (#2308)
- Remove the deprecated load_sample_bathymetry function (deprecated since v0.6.0) (#2305)
- Remove the deprecated load_usgs_quakes function (deprecated since v0.6.0) (#2306)
- pygmt.grdtrack: Remove the warning about the incorrect parameter order of 'points, grid' (warned since v0.7.0) (#2312)
Bug Fixes
- GMTDataArrayAccessor: Fallback to default grid registration and gtype if the grid source file doesn't exist (#2009)
- Figure.subplot: Fix setting "sharex", "sharey", and "frame" in combination with Figure.basemap (#2417)
- Figure.subplot: Fix strange positioning issues after exiting subplot (#2427)
- pygmt.config: Correctly reset to default values that contain whitespaces (#2331)
- pygmt.set_display: Do nothing when the display method is set to 'none' (#2450)
Documentation
- GMTDataArrayAccessor: Add inline examples for setting GMT specific properties (#2370)
- Document limitations of GMT xarray accessors (#2375)
- Revise the notes about registration and gtype of remote datasets (#2384)
- Add project keywords to the pyproject.toml file (#2315)
- Add inline example for colorbar (#2373)
- Add inline example for grdview (#2381)
- Add inline example for load_earth_mask (#2355)
- Add inline example for load_earth_vertical_gravity_gradient (#2356)
- Add inline examples and improve documentation for pygmt.set_display (#2458)
- Add gallery example showing how to use patterns via the "fill" parameter (or similar parameters) (#2329)
- Add gallery example for scatter plot with histograms on sides (#2410)
- Add gallery example showing how to use advanced grdgradient via the "azimuth" & "normalize" parameters (#2354)
- Add gallery example for the Figure.timestamp method (#2391)
- Expand gallery example "Colorbar" for categorical data (#2395)
- Expand gallery example "Focal mechanisms" to use "*fill" and "pen" (#2433)
- Add working example to quickstart section of README (#2369)
- Recommend Mambaforge and mamba in the installation and contributing guides (#2385)
Maintenance
- Add the GMTSampleData class to simplify the load_sample_data and list_sample_data functions (#2342)
- Add a new target 'doctest' to run doctests only and simplify Makefile (#2443)
- Add a package-level variable
__gmt_version__
for development use (#2366) - Allow printing show_versions() to in-memory buffer to enable testing (#2399)
- Accept a dict containing configurable GMT parameters in build_arg_string (#2324)
- Publish to TestPyPI and PyPI via OpenID Connect token (#2453)
- Remove --sdist --wheel flags from the build command (#2420)
- Replace ModuleNotFoundError with the more general ImportError (#2441)