·
4 commits
to refs/heads/main
since this release
Release v0.17.0 (2025/10/03)
Highlights
- ๐ Seventeenth minor release of PyGMT ๐
- Add support for GMT 6.6.0, while dropping support for GMT 6.4.0 (#4017)
- Implement the new alias system towards a Pythonic interface (#3986, #4000, #3993)
- GMTDataArrayAccessor: Support applying grid operations on the current xarray.DataArray object (#3854)
New Features
- Add the Box class for specifying the box of GMT embellishments (#3995)
- Add the Pattern class for specifying bit and hachure patterns to fill symbols and polygons (#4020)
Enhancements
- Figure.solar: Support terminator datetime with timezone (#4112)
- pygmt.show_versions: Report GDAL version by calling the GDAL C function (#4104)
- pygmt.binstats: Let the parameter 'statistic' support descriptive arguments (#3012)
- Figure.logo: Let the 'style' parameter support descriptive arguments (#4074)
- Let the 'verbose' parameter support descriptive arguments (#4039)
- sequence_join: Correctly join datetime-like values in pandas.DataFrame/xarray.DataArray objects (#4097)
Deprecations
- Drop support for GMT 6.4.0 (#4127)
- BREAKING Raise GMTValueError exception for invalid values. Previously raise GMTInvalidInput (#3985, #3998)
- BREAKING Raise GMTTypeError exception for invalid types. Previously raise GMTInvalidInput (#3999)
- BREAKING Figure.grdimage: Raise NotImplementedError instead of GMTInvalidInput for -A option (#4062)
- sequence_join: Deprecate parameter 'separator', use 'sep' instead. [Will be removed in v0.19.0] (#4033)
Bug Fixes
- pygmt.x2sys_cross: Fix IndexError to allow empty DataFrame outputs (#4060)
- is_nonstr_iter: 0-D array is now recognized as non-iterable (#4004)
- Fix the bug when passing a sequence that contains True to a parameter (#3982)
Documentation
- Figure.colorbar: Add note regarding automatic fontsize scaling (#4126)
- Add gallery example to show text formatting (#3987)
- Add gallery example for using EPSG codes (#3973)
- Add Technical Reference page for justification codes (#4028)
- Add Technical Reference page for text formatting (#3976)
Maintenance
- BREAKING Figure.text: Raise GMTTypeError if text is a sequence when position is given (#4065)
- Switch from pre-commit to prek (#4082)
- SPEC 0: Bump minimum supported version to pandas 2.2 and Xarray 2023.10 (#4092, #4091)
- Remove the support of non-aliased aliases in use_alias/fmt_docstrings (#4042)
- CI: Bump to macOS 26 in the GMT Dev Tests workflow (#4084)
- CI: Bump to macOS 14 in the GMT Legacy Tests workflow (#3996)
- CI: Access DagsHub repository via an access token (#4078)
- CI: Bump to Ghostscript 10.06.0 (#4125)
- CI: Bump to GMT 6.6.0 in CI (#4018)
Full Changelog: v0.16.0...v0.17.0