From 7dc6f02f90cca858eabff82fa5c5e53ce1ee2fab Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Wed, 29 Mar 2023 20:34:40 -0400 Subject: [PATCH 01/12] Add entry to version switcher --- doc/_static/version_switch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/_static/version_switch.js b/doc/_static/version_switch.js index 4527f44b39b..f1a47c88af8 100644 --- a/doc/_static/version_switch.js +++ b/doc/_static/version_switch.js @@ -12,6 +12,7 @@ var all_versions = { 'latest': 'latest', 'dev': 'dev', + 'v0.9.0': 'v0.9.0', 'v0.8.0': 'v0.8.0', 'v0.7.0': 'v0.7.0', 'v0.6.1': 'v0.6.1', From 168a28ac41dc6fb7659075a2c5af3f95cd7dbfa9 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Wed, 29 Mar 2023 20:38:45 -0400 Subject: [PATCH 02/12] Update compatibility table --- README.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 209c4e24c07..8e6def3cb80 100644 --- a/README.rst +++ b/README.rst @@ -262,7 +262,12 @@ Compatibility with GMT/Python/NumPy versions - >=6.3.0 - >=3.8 - >=1.21 - * - `v0.8.0 `_ (latest release) + * - `v0.9.0 `_ (latest release) + - `v0.9.0 Documentation `_ + - >=6.3.0 + - >=3.8 + - >=1.21 + * - `v0.8.0 `_ - `v0.8.0 Documentation `_ - >=6.3.0 - >=3.8 From da533ecd7dde47fc60520ecac2216367de35090a Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Wed, 29 Mar 2023 21:09:38 -0400 Subject: [PATCH 03/12] Update citation --- CITATION.cff | 26 +++++++++++++++----------- README.rst | 17 +++++++++-------- 2 files changed, 24 insertions(+), 19 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 1bd9a43c188..7bced2f59fc 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -16,10 +16,6 @@ authors: family-names: Leong affiliation: Development Seed, USA orcid: https://orcid.org/0000-0003-2354-1988 -- given-names: Max - family-names: Jones - affiliation: University of Hawai'i at Mānoa, USA - orcid: https://orcid.org/0000-0003-0180-8928 - given-names: William family-names: Schlitzer affiliation: Unaffiliated @@ -28,14 +24,18 @@ authors: family-names: Grund affiliation: Innoplexia GmbH, Germany orcid: https://orcid.org/0000-0001-8759-2018 -- given-names: Liam - family-names: Toney - affiliation: University of Alaska Fairbanks, USA - orcid: https://orcid.org/0000-0003-0167-9433 +- given-names: Max + family-names: Jones + affiliation: University of Hawai'i at Mānoa, USA + orcid: https://orcid.org/0000-0003-0180-8928 - given-names: Yvonne family-names: Fröhlich affiliation: Karlsruhe Institute of Technology, Germany orcid: https://orcid.org/0000-0002-8566-0619 +- given-names: Liam + family-names: Toney + affiliation: University of Alaska Fairbanks, USA + orcid: https://orcid.org/0000-0003-0167-9433 - given-names: Jiayuan family-names: Yao affiliation: Nanyang Technological University, Singapore @@ -44,6 +44,10 @@ authors: family-names: Magen affiliation: Tel Aviv University, Israel orcid: https://orcid.org/0000-0002-4892-4013 +- given-names: Tong + family-names: Jing-Hui + affiliation: National Taiwan Normal University, Taiwan + orcid: https://orcid.org/0009-0002-7195-3071 - given-names: Kathryn family-names: Materna affiliation: US Geological Survey, USA @@ -72,9 +76,9 @@ authors: family-names: Wessel affiliation: University of Hawai'i at Mānoa, USA orcid: https://orcid.org/0000-0001-5708-7336 -date-released: 2022-12-30 -doi: 10.5281/zenodo.7481934 +date-released: 2022-03-31 +doi: 10.5281/zenodo.7772533 license: BSD-3-Clause repository-code: https://github.com/GenericMappingTools/pygmt type: software -version: 0.8.0 +version: 0.9.0 diff --git a/README.rst b/README.rst index 8e6def3cb80..f4b73fa92fb 100644 --- a/README.rst +++ b/README.rst @@ -180,17 +180,18 @@ Developers". Feel free to cite our work in your research using the following Bib .. code-block:: - @software{pygmt_2022_7481934, + @software{pygmt_2023_7772533, author = {Uieda, Leonardo and Tian, Dongdong and Leong, Wei Ji and - Jones, Max and Schlitzer, William and Grund, Michael and - Toney, Liam and + Jones, Max and Fröhlich, Yvonne and + Toney, Liam and Yao, Jiayuan and Magen, Yohai and + Tong, Jing-Hui and Materna, Kathryn and Belem, Andre and Newton, Tyler and @@ -199,12 +200,12 @@ Developers". Feel free to cite our work in your research using the following Bib Quinn, Jamie and Wessel, Paul}, title = {{PyGMT: A Python interface for the Generic Mapping Tools}}, - month = dec, - year = 2022, + month = march, + year = 2023, publisher = {Zenodo}, - version = {0.8.0}, - doi = {10.5281/zenodo.7481934}, - url = {https://doi.org/10.5281/zenodo.7481934} + version = {0.9.0}, + doi = {10.5281/zenodo.7772533}, + url = {https://doi.org/10.5281/zenodo.7772533} } To cite a specific version of PyGMT, go to our Zenodo page at From 5dcc962d80f92ba9dcb729429ff33c2aae6ba117 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 30 Mar 2023 11:10:59 -0400 Subject: [PATCH 04/12] Update CITATION.cff Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com> --- CITATION.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CITATION.cff b/CITATION.cff index 7bced2f59fc..2a7bc6bf126 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -76,7 +76,7 @@ authors: family-names: Wessel affiliation: University of Hawai'i at Mānoa, USA orcid: https://orcid.org/0000-0001-5708-7336 -date-released: 2022-03-31 +date-released: 2023-03-31 doi: 10.5281/zenodo.7772533 license: BSD-3-Clause repository-code: https://github.com/GenericMappingTools/pygmt From 2ee90558f1ed82221d908a642d6584d603c98d20 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 30 Mar 2023 11:11:07 -0400 Subject: [PATCH 05/12] Update README.rst Co-authored-by: Dongdong Tian --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index f4b73fa92fb..a2403f47a87 100644 --- a/README.rst +++ b/README.rst @@ -200,7 +200,7 @@ Developers". Feel free to cite our work in your research using the following Bib Quinn, Jamie and Wessel, Paul}, title = {{PyGMT: A Python interface for the Generic Mapping Tools}}, - month = march, + month = mar, year = 2023, publisher = {Zenodo}, version = {0.9.0}, From e5ab30fc22d11f457e2c656ea93ff5dd64715482 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 30 Mar 2023 15:19:07 -0400 Subject: [PATCH 06/12] Update citations Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> --- README.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index a2403f47a87..e609802d551 100644 --- a/README.rst +++ b/README.rst @@ -212,8 +212,9 @@ To cite a specific version of PyGMT, go to our Zenodo page at https://doi.org/10.5281/zenodo.3781524 and use the "Export to BibTeX" function there. It is also strongly recommended to cite the `GMT6 paper `__ (which PyGMT wraps around). -Note that some modules like ``surface`` and ``x2sys`` also have their dedicated citation. -Further information for all these can be found at https://www.generic-mapping-tools.org/cite. +Note that some modules like ``dimfilter``, ``surface`` and ``x2sys`` also have their +dedicated citation. Further information for all these can be found at +https://www.generic-mapping-tools.org/cite. License From 39f6f58858536df155e158783ca9b0bad8be0f90 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 30 Mar 2023 20:34:13 -0400 Subject: [PATCH 07/12] Update changelog --- doc/changes.md | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/doc/changes.md b/doc/changes.md index 8a76d3ef201..e8c5f0b8994 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -1,5 +1,91 @@ # Changelog +## Release v0.9.0 (20YY/03/31) + +[![Digital Object Identifier for PyGMT v0.9.0](https://zenodo.org/badge/DOI/10.5281/zenodo.7772533.svg)](https://doi.org/10.5281/zenodo.7772533) + +### Highlights + +* 🎉 **Ninth minor release of PyGMT** 🎉 +* Add function to load raster tile maps using contextily ([#2125](https://github.com/GenericMappingTools/pygmt/pull/2125)) +* Add Figure.tilemap to plot XYZ tile maps ([#2394](https://github.com/GenericMappingTools/pygmt/pull/2394)) + +### New Features + +* Add load_earth_mask function for GSHHG Global Earth Mask dataset ([#2310](https://github.com/GenericMappingTools/pygmt/pull/2310)) +* Add Figure.timestamp to plot the GMT timestamp logo ([#2208](https://github.com/GenericMappingTools/pygmt/pull/2208)) + +### Enhancements + +* pygmt.surface: Add aliases for "C", "L", "M", and "T" ([#2321](https://github.com/GenericMappingTools/pygmt/pull/2321)) +* Figure.timestamp: Let the 'text' parameter work for GMT<=6.4.0 and raise a warning for long text ([#2425](https://github.com/GenericMappingTools/pygmt/pull/2425)) +* Figure.meca: Add aliases for C, E, G, and W ([#2345](https://github.com/GenericMappingTools/pygmt/pull/2345)) +* Figure.colorbar: Add aliases for L and Z ([#2357](https://github.com/GenericMappingTools/pygmt/pull/2357)) +* Expand Colorbar gallery example for categorical data ([#2395](https://github.com/GenericMappingTools/pygmt/pull/2395)) + +### Deprecations + +* NEP29: Set minimum required version to NumPy 1.21+ ([#2389](https://github.com/GenericMappingTools/pygmt/pull/2389)) +* Recommend Figure.timestamp and remove timestamp (U) alias from all plotting methods ([#2135](https://github.com/GenericMappingTools/pygmt/pull/2135)) +* Remove the deprecated load_fractures_compilation function (deprecated since v0.6.0) ([#2303](https://github.com/GenericMappingTools/pygmt/pull/2303)) +* Remove the deprecated load_hotspots function (deprecated since v0.6.0) ([#2309](https://github.com/GenericMappingTools/pygmt/pull/2309)) +* Remove the deprecated load_japan_quakes function (deprecated since v0.6.0) ([#2301](https://github.com/GenericMappingTools/pygmt/pull/2301)) +* Remove the deprecated load_mars_shape function (deprecated since v0.6.0) ([#2304](https://github.com/GenericMappingTools/pygmt/pull/2304)) +* Remove the deprecated load_ocean_ridge_points function (deprecated since v0.6.0) ([#2308](https://github.com/GenericMappingTools/pygmt/pull/2308)) +* Remove the deprecated load_sample_bathymetry function (deprecated since v0.6.0) ([#2305](https://github.com/GenericMappingTools/pygmt/pull/2305)) +* Remove the deprecated load_usgs_quakes function (deprecated since v0.6.0) ([#2306](https://github.com/GenericMappingTools/pygmt/pull/2306)) +* pygmt.grdtrack: Remove the warning about the incorrect parameter order of 'points, grid' (warned since v0.7.0) ([#2312](https://github.com/GenericMappingTools/pygmt/pull/2312)) + +### Bug Fixes + +* GMTDataArrayAccessor: Fallback to default grid registration and gtype if the grid source file doesn't exist ([#2009](https://github.com/GenericMappingTools/pygmt/pull/2009)) +* Fix setting "sharex", "sharey", and "frame" of Figure.subplot in combination with Figure.basemap ([#2417](https://github.com/GenericMappingTools/pygmt/pull/2417)) +* Fix bug with different band dtype from load_tile_map by casting to uint8 ([#2393](https://github.com/GenericMappingTools/pygmt/pull/2393)) +* Figure.subplot: Fix strange positioning issues after exiting subplot ([#2427](https://github.com/GenericMappingTools/pygmt/pull/2427)) +* pygmt.config: Correctly resetting to default values that contain whitespaces ([#2331](https://github.com/GenericMappingTools/pygmt/pull/2331)) +* pygmt.set_display: Do nothing when the display method is set to 'none' ([#2450](https://github.com/GenericMappingTools/pygmt/pull/2450)) + +### Documentation + +* GMTDataArrayAccessor: Add inline examples for setting GMT specific properties (#2370) ([#2370](https://github.com/GenericMappingTools/pygmt/pull/2370)) +* Document limitations of GMT xarray accessors ([#2375](https://github.com/GenericMappingTools/pygmt/pull/2375)) +* Revise the notes about registration and gtype of remote datasets ([#2384](https://github.com/GenericMappingTools/pygmt/pull/2384)) +* Add project keywords to the pyproject.toml file ([#2315](https://github.com/GenericMappingTools/pygmt/pull/2315)) +* Add inline example for colorbar ([#2373](https://github.com/GenericMappingTools/pygmt/pull/2373)) +* Add inline example for grdview ([#2381](https://github.com/GenericMappingTools/pygmt/pull/2381)) +* Add inline example for load_earth_mask ([#2355](https://github.com/GenericMappingTools/pygmt/pull/2355)) +* Add inline example for load_earth_vertical_gravity_gradient ([#2356](https://github.com/GenericMappingTools/pygmt/pull/2356)) +* Add inline examples and improve documentation for pygmt.set_display ([#2458](https://github.com/GenericMappingTools/pygmt/pull/2458)) +* Add gallery example showing how to use patterns via the "fill" parameter (or similiar parameters) ([#2329](https://github.com/GenericMappingTools/pygmt/pull/2329)) +* Add gallery example for scatter plot with histograms on sides ([#2410](https://github.com/GenericMappingTools/pygmt/pull/2410)) +* Add gallery example showing how to use advanced grdgradient via the "azimuth" & "normalize" parameters ([#2354](https://github.com/GenericMappingTools/pygmt/pull/2354)) +* Add gallery example for the Figure.timestamp method ([#2391](https://github.com/GenericMappingTools/pygmt/pull/2391)) +* Expand gallery example "Focal mechanisms" to use "*fill" and "pen" ([#2433](https://github.com/GenericMappingTools/pygmt/pull/2433)) +* Add working example to quickstart section of README ([#2369](https://github.com/GenericMappingTools/pygmt/pull/2369)) +* Recommend Mambaforge and mamba in the installation and contributing guides ([#2385](https://github.com/GenericMappingTools/pygmt/pull/2385)) + +### Maintenance + +* Add the GMTSampleData class to simplify the load_sample_data and list_sample_data functions (#2342) ([#2342](https://github.com/GenericMappingTools/pygmt/pull/2342)) +* Add a new target 'doctest' to run doctests only and simplify Makefile ([#2443](https://github.com/GenericMappingTools/pygmt/pull/2443)) +* Add a package-level variable __gmt_version__ for development use ([#2366](https://github.com/GenericMappingTools/pygmt/pull/2366)) +* Allow printing show_versions() to in-memory buffer to enable testing ([#2399](https://github.com/GenericMappingTools/pygmt/pull/2399)) +* Accept a dict containing configurable GMT parameters in build_arg_string ([#2324](https://github.com/GenericMappingTools/pygmt/pull/2324)) +* Publish to TestPyPI and PyPI via OpenID Connect token ([#2453](https://github.com/GenericMappingTools/pygmt/pull/2453)) +* Remove --sdist --wheel flags from the build command ([#2420](https://github.com/GenericMappingTools/pygmt/pull/2420)) +* Replace ModuleNotFoundError with the more general ImportError ([#2441](https://github.com/GenericMappingTools/pygmt/pull/2441)) + +### Contributors + +* [Dongdong Tian](https://github.com/seisman) +* [Yvonne Fröhlich](https://github.com/yvonnefroehlich) +* [Wei Ji Leong](https://github.com/weiji14) +* [Michael Grund](https://github.com/michaelgrund) +* [Will Schlitzer](https://github.com/willschlitzer) +* [Jing-Hui Tong](https://github.com/JingHuiTong) +* [Max Jones](https://github.com/maxrjones) + +--- ## Release v0.8.0 (2022/12/30) From f56cab72e6ed7973ad597a514c9724899b3788ee Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 30 Mar 2023 20:44:43 -0400 Subject: [PATCH 08/12] Apply suggestions from code review --- README.rst | 2 +- doc/changes.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.rst b/README.rst index e609802d551..a38e0d8ce48 100644 --- a/README.rst +++ b/README.rst @@ -212,7 +212,7 @@ To cite a specific version of PyGMT, go to our Zenodo page at https://doi.org/10.5281/zenodo.3781524 and use the "Export to BibTeX" function there. It is also strongly recommended to cite the `GMT6 paper `__ (which PyGMT wraps around). -Note that some modules like ``dimfilter``, ``surface`` and ``x2sys`` also have their +Note that some modules like ``dimfilter``, ``surface``, and ``x2sys`` also have their dedicated citation. Further information for all these can be found at https://www.generic-mapping-tools.org/cite. diff --git a/doc/changes.md b/doc/changes.md index e8c5f0b8994..8dffa97df7e 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -1,6 +1,6 @@ # Changelog -## Release v0.9.0 (20YY/03/31) +## Release v0.9.0 (2023/03/31) [![Digital Object Identifier for PyGMT v0.9.0](https://zenodo.org/badge/DOI/10.5281/zenodo.7772533.svg)](https://doi.org/10.5281/zenodo.7772533) @@ -21,7 +21,6 @@ * Figure.timestamp: Let the 'text' parameter work for GMT<=6.4.0 and raise a warning for long text ([#2425](https://github.com/GenericMappingTools/pygmt/pull/2425)) * Figure.meca: Add aliases for C, E, G, and W ([#2345](https://github.com/GenericMappingTools/pygmt/pull/2345)) * Figure.colorbar: Add aliases for L and Z ([#2357](https://github.com/GenericMappingTools/pygmt/pull/2357)) -* Expand Colorbar gallery example for categorical data ([#2395](https://github.com/GenericMappingTools/pygmt/pull/2395)) ### Deprecations @@ -42,7 +41,7 @@ * Fix setting "sharex", "sharey", and "frame" of Figure.subplot in combination with Figure.basemap ([#2417](https://github.com/GenericMappingTools/pygmt/pull/2417)) * Fix bug with different band dtype from load_tile_map by casting to uint8 ([#2393](https://github.com/GenericMappingTools/pygmt/pull/2393)) * Figure.subplot: Fix strange positioning issues after exiting subplot ([#2427](https://github.com/GenericMappingTools/pygmt/pull/2427)) -* pygmt.config: Correctly resetting to default values that contain whitespaces ([#2331](https://github.com/GenericMappingTools/pygmt/pull/2331)) +* pygmt.config: Correctly reset to default values that contain whitespaces ([#2331](https://github.com/GenericMappingTools/pygmt/pull/2331)) * pygmt.set_display: Do nothing when the display method is set to 'none' ([#2450](https://github.com/GenericMappingTools/pygmt/pull/2450)) ### Documentation @@ -60,6 +59,7 @@ * Add gallery example for scatter plot with histograms on sides ([#2410](https://github.com/GenericMappingTools/pygmt/pull/2410)) * Add gallery example showing how to use advanced grdgradient via the "azimuth" & "normalize" parameters ([#2354](https://github.com/GenericMappingTools/pygmt/pull/2354)) * Add gallery example for the Figure.timestamp method ([#2391](https://github.com/GenericMappingTools/pygmt/pull/2391)) +* Expand gallery example "Colorbar" for categorical data ([#2395](https://github.com/GenericMappingTools/pygmt/pull/2395)) * Expand gallery example "Focal mechanisms" to use "*fill" and "pen" ([#2433](https://github.com/GenericMappingTools/pygmt/pull/2433)) * Add working example to quickstart section of README ([#2369](https://github.com/GenericMappingTools/pygmt/pull/2369)) * Recommend Mambaforge and mamba in the installation and contributing guides ([#2385](https://github.com/GenericMappingTools/pygmt/pull/2385)) From dc662bcfa0459610c1dba6f7c7f9f062402a9608 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 30 Mar 2023 21:38:25 -0400 Subject: [PATCH 09/12] Apply suggestions from code review Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> Co-authored-by: Dongdong Tian --- doc/changes.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 8dffa97df7e..0541acd31a3 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -7,18 +7,17 @@ ### Highlights * 🎉 **Ninth minor release of PyGMT** 🎉 -* Add function to load raster tile maps using contextily ([#2125](https://github.com/GenericMappingTools/pygmt/pull/2125)) * Add Figure.tilemap to plot XYZ tile maps ([#2394](https://github.com/GenericMappingTools/pygmt/pull/2394)) +* Add function to load raster tile maps using contextily ([#2125](https://github.com/GenericMappingTools/pygmt/pull/2125)) ### New Features * Add load_earth_mask function for GSHHG Global Earth Mask dataset ([#2310](https://github.com/GenericMappingTools/pygmt/pull/2310)) -* Add Figure.timestamp to plot the GMT timestamp logo ([#2208](https://github.com/GenericMappingTools/pygmt/pull/2208)) +* Add Figure.timestamp to plot the GMT timestamp logo ([#2208](https://github.com/GenericMappingTools/pygmt/pull/2208), [#2425](https://github.com/GenericMappingTools/pygmt/pull/2425)) ### Enhancements * pygmt.surface: Add aliases for "C", "L", "M", and "T" ([#2321](https://github.com/GenericMappingTools/pygmt/pull/2321)) -* Figure.timestamp: Let the 'text' parameter work for GMT<=6.4.0 and raise a warning for long text ([#2425](https://github.com/GenericMappingTools/pygmt/pull/2425)) * Figure.meca: Add aliases for C, E, G, and W ([#2345](https://github.com/GenericMappingTools/pygmt/pull/2345)) * Figure.colorbar: Add aliases for L and Z ([#2357](https://github.com/GenericMappingTools/pygmt/pull/2357)) @@ -39,7 +38,6 @@ * GMTDataArrayAccessor: Fallback to default grid registration and gtype if the grid source file doesn't exist ([#2009](https://github.com/GenericMappingTools/pygmt/pull/2009)) * Fix setting "sharex", "sharey", and "frame" of Figure.subplot in combination with Figure.basemap ([#2417](https://github.com/GenericMappingTools/pygmt/pull/2417)) -* Fix bug with different band dtype from load_tile_map by casting to uint8 ([#2393](https://github.com/GenericMappingTools/pygmt/pull/2393)) * Figure.subplot: Fix strange positioning issues after exiting subplot ([#2427](https://github.com/GenericMappingTools/pygmt/pull/2427)) * pygmt.config: Correctly reset to default values that contain whitespaces ([#2331](https://github.com/GenericMappingTools/pygmt/pull/2331)) * pygmt.set_display: Do nothing when the display method is set to 'none' ([#2450](https://github.com/GenericMappingTools/pygmt/pull/2450)) @@ -68,7 +66,7 @@ * Add the GMTSampleData class to simplify the load_sample_data and list_sample_data functions (#2342) ([#2342](https://github.com/GenericMappingTools/pygmt/pull/2342)) * Add a new target 'doctest' to run doctests only and simplify Makefile ([#2443](https://github.com/GenericMappingTools/pygmt/pull/2443)) -* Add a package-level variable __gmt_version__ for development use ([#2366](https://github.com/GenericMappingTools/pygmt/pull/2366)) +* Add a package-level variable `__gmt_version__` for development use ([#2366](https://github.com/GenericMappingTools/pygmt/pull/2366)) * Allow printing show_versions() to in-memory buffer to enable testing ([#2399](https://github.com/GenericMappingTools/pygmt/pull/2399)) * Accept a dict containing configurable GMT parameters in build_arg_string ([#2324](https://github.com/GenericMappingTools/pygmt/pull/2324)) * Publish to TestPyPI and PyPI via OpenID Connect token ([#2453](https://github.com/GenericMappingTools/pygmt/pull/2453)) From e3f98cea854c8e90e1fbc303637efbb17de511e3 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 30 Mar 2023 22:41:42 -0400 Subject: [PATCH 10/12] Update doc/changes.md --- doc/changes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/changes.md b/doc/changes.md index 0541acd31a3..b05f54b4759 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -9,6 +9,7 @@ * 🎉 **Ninth minor release of PyGMT** 🎉 * Add Figure.tilemap to plot XYZ tile maps ([#2394](https://github.com/GenericMappingTools/pygmt/pull/2394)) * Add function to load raster tile maps using contextily ([#2125](https://github.com/GenericMappingTools/pygmt/pull/2125)) +* Add eleven new inline and gallery examples ### New Features From 6f6911fdb78b3f0e74cb3869b75790f2f3028894 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Thu, 30 Mar 2023 23:02:21 -0400 Subject: [PATCH 11/12] Update doc/changes.md Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> --- doc/changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index b05f54b4759..25031533db9 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -9,7 +9,7 @@ * 🎉 **Ninth minor release of PyGMT** 🎉 * Add Figure.tilemap to plot XYZ tile maps ([#2394](https://github.com/GenericMappingTools/pygmt/pull/2394)) * Add function to load raster tile maps using contextily ([#2125](https://github.com/GenericMappingTools/pygmt/pull/2125)) -* Add eleven new inline and gallery examples +* Eleven new/updated gallery and inline examples ### New Features From ce9a560e42cd4c5d00e3b47b1b28c5698b815d72 Mon Sep 17 00:00:00 2001 From: Max Jones <14077947+maxrjones@users.noreply.github.com> Date: Fri, 31 Mar 2023 11:35:56 -0400 Subject: [PATCH 12/12] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com> Co-authored-by: Dongdong Tian --- README.rst | 2 +- doc/changes.md | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index a38e0d8ce48..c7fe63d07b6 100644 --- a/README.rst +++ b/README.rst @@ -213,7 +213,7 @@ https://doi.org/10.5281/zenodo.3781524 and use the "Export to BibTeX" function t It is also strongly recommended to cite the `GMT6 paper `__ (which PyGMT wraps around). Note that some modules like ``dimfilter``, ``surface``, and ``x2sys`` also have their -dedicated citation. Further information for all these can be found at +dedicated citations. Further information for all these can be found at https://www.generic-mapping-tools.org/cite. diff --git a/doc/changes.md b/doc/changes.md index 25031533db9..51a08a27eeb 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -18,9 +18,9 @@ ### Enhancements -* pygmt.surface: Add aliases for "C", "L", "M", and "T" ([#2321](https://github.com/GenericMappingTools/pygmt/pull/2321)) -* Figure.meca: Add aliases for C, E, G, and W ([#2345](https://github.com/GenericMappingTools/pygmt/pull/2345)) -* Figure.colorbar: Add aliases for L and Z ([#2357](https://github.com/GenericMappingTools/pygmt/pull/2357)) +* pygmt.surface: Add aliases for "C", "L", "M", and "T" ([#2321](https://github.com/GenericMappingTools/pygmt/pull/2321)) +* Figure.meca: Add aliases for "C", "E", "G", and "W" ([#2345](https://github.com/GenericMappingTools/pygmt/pull/2345)) +* Figure.colorbar: Add aliases for "L" and "Z" ([#2357](https://github.com/GenericMappingTools/pygmt/pull/2357)) ### Deprecations @@ -38,14 +38,14 @@ ### Bug Fixes * GMTDataArrayAccessor: Fallback to default grid registration and gtype if the grid source file doesn't exist ([#2009](https://github.com/GenericMappingTools/pygmt/pull/2009)) -* Fix setting "sharex", "sharey", and "frame" of Figure.subplot in combination with Figure.basemap ([#2417](https://github.com/GenericMappingTools/pygmt/pull/2417)) +* Figure.subplot: Fix setting "sharex", "sharey", and "frame" in combination with Figure.basemap ([#2417](https://github.com/GenericMappingTools/pygmt/pull/2417)) * Figure.subplot: Fix strange positioning issues after exiting subplot ([#2427](https://github.com/GenericMappingTools/pygmt/pull/2427)) * pygmt.config: Correctly reset to default values that contain whitespaces ([#2331](https://github.com/GenericMappingTools/pygmt/pull/2331)) * pygmt.set_display: Do nothing when the display method is set to 'none' ([#2450](https://github.com/GenericMappingTools/pygmt/pull/2450)) ### Documentation -* GMTDataArrayAccessor: Add inline examples for setting GMT specific properties (#2370) ([#2370](https://github.com/GenericMappingTools/pygmt/pull/2370)) +* GMTDataArrayAccessor: Add inline examples for setting GMT specific properties ([#2370](https://github.com/GenericMappingTools/pygmt/pull/2370)) * Document limitations of GMT xarray accessors ([#2375](https://github.com/GenericMappingTools/pygmt/pull/2375)) * Revise the notes about registration and gtype of remote datasets ([#2384](https://github.com/GenericMappingTools/pygmt/pull/2384)) * Add project keywords to the pyproject.toml file ([#2315](https://github.com/GenericMappingTools/pygmt/pull/2315)) @@ -54,7 +54,7 @@ * Add inline example for load_earth_mask ([#2355](https://github.com/GenericMappingTools/pygmt/pull/2355)) * Add inline example for load_earth_vertical_gravity_gradient ([#2356](https://github.com/GenericMappingTools/pygmt/pull/2356)) * Add inline examples and improve documentation for pygmt.set_display ([#2458](https://github.com/GenericMappingTools/pygmt/pull/2458)) -* Add gallery example showing how to use patterns via the "fill" parameter (or similiar parameters) ([#2329](https://github.com/GenericMappingTools/pygmt/pull/2329)) +* Add gallery example showing how to use patterns via the "fill" parameter (or similar parameters) ([#2329](https://github.com/GenericMappingTools/pygmt/pull/2329)) * Add gallery example for scatter plot with histograms on sides ([#2410](https://github.com/GenericMappingTools/pygmt/pull/2410)) * Add gallery example showing how to use advanced grdgradient via the "azimuth" & "normalize" parameters ([#2354](https://github.com/GenericMappingTools/pygmt/pull/2354)) * Add gallery example for the Figure.timestamp method ([#2391](https://github.com/GenericMappingTools/pygmt/pull/2391)) @@ -65,7 +65,7 @@ ### Maintenance -* Add the GMTSampleData class to simplify the load_sample_data and list_sample_data functions (#2342) ([#2342](https://github.com/GenericMappingTools/pygmt/pull/2342)) +* Add the GMTSampleData class to simplify the load_sample_data and list_sample_data functions ([#2342](https://github.com/GenericMappingTools/pygmt/pull/2342)) * Add a new target 'doctest' to run doctests only and simplify Makefile ([#2443](https://github.com/GenericMappingTools/pygmt/pull/2443)) * Add a package-level variable `__gmt_version__` for development use ([#2366](https://github.com/GenericMappingTools/pygmt/pull/2366)) * Allow printing show_versions() to in-memory buffer to enable testing ([#2399](https://github.com/GenericMappingTools/pygmt/pull/2399))