PyGMT v0.11.0 released

PyGMT v0.11.0 released

Announcing PyGMT v0.11.0 with 1 new tutorial, 4 new gallery examples, support of GMT 6.5, and access to 5 planetary reliefs!

The PyGMT team is kicking off 2024 with version v0.11.0, which is inline with the release of GMT 6.5 just three weeks ago! First, the highlights :tada::

  • Tutorial for table inputs (#2722) and gallery example for a choropleth map (#2796)
  • Easy access to planetary relief datasets (Mercury, Venus, Moon, Mars, Pluto) (#3028, #2906, #2674, #2847, #3027)
  • :rocket: Faster PyGMT by ~0.1 seconds for each module call (#2930)
Mercury Venus Moon Mars Pluto
Pluto Venus Moon Mars Pluto

Read through the changelog for the full list of changes. Installation/upgrade :arrow_up: instructions are at Installing — PyGMT! Note that this version is cross-compatible with GMT 6.3 - 6.5, but it requires :snake: Python 3.9+ and NumPy 1.23+ following NEP29. Go try it online at try-gmt :rocket:.

Nice enhancements :sparkles::

  • Figure.savefig: Support generating GeoTIFF file (#2698)
  • Figure.text: Allow lists as input type for the angle, font, and justify parameters (#2720)
  • datasets.load_tile_map and Figure.tilemap: Add zoom_adjust parameter (#2934)

New aliases :memo::

As usual, report any bugs :beetle: with the issue template on GitHub. Your feedback is what helps us to improve!

:bulb: New tutorial and gallery examples

Tabel inputs Choropleth map Scale bar
Tabel inputs Choropleth map Scale bar
Connection lines Line segment ends Multi-column legend
Connection lines Line segment ends Multi-column legend

:railway_track: Roadmap to v0.12.0

The team has been focusing a lot more on the documentation and refactoring the internals of PyGMT in recent releases, but we do have plenty of features we’d like to add! Check out the good first issue label on GitHub or the list below for things you can help with!

  • Features/enhancements :sparkles:
  • Documentation improvements :book:
    • Add a beginner :beginner: friendly PyGMT tutorial that is a good roadmap for new GMT/PyGMT users (#770)
    • Add a tutorial explaining the generally accepted input types (#1268)

We invite you to get involved in these efforts by reaching out on GitHub :rocket:!

:warning: Upcoming deprecations

  • v0.12.0
    • All plotting methods: Remove aliases xshift (X) and yshift (Y) (FutureWarning raised since PyGMT v0.8.0)
    • All plotting methods: Remove alias timestamp (U) (FutureWarning raised since PyGMT v0.9.0)
    • Figure.plot, Figure.plot3d, Figure.rose, Figure.velo: Remove parameter color, use fill instead (FutureWarning raised since PyGMT v0.8.0)
    • Figure.velo: Remove parameter uncertaintycolor, use uncertaintyfill instead (FutureWarning raised since PyGMT v0.8.0)
    • Figure.wiggle: Remove parameter color, use fillnegative or fillpositive instead (FutureWarning raised since PyGMT v0.8.0)
    • Figure.grdimage: Remove parameter bit_color, use bitcolor instead (Future Warning raised since PyGMT v0.10.0)
  • v0.13.0
    • Figure.timestamp: Remove parameter justification, use justify instead (FutureWarning raised since PyGMT v0.11.0)
  • v1.0.0
    • Short form aliases (e.g. R) will not work if long form aliases (e.g. region) are available (SyntaxWarning raised since PyGMT v0.4.0, see #1316)

The compatibility matrix is listed at Minimum Supported GMT/Python/NumPy Versions — PyGMT, so make sure you keep things up to date!

:world_map: Conference presentations/workshops/sprints

We hope that this new PyGMT release will be useful for those of you making posters for the upcoming EGU Meeting in April 2024! Would you like to lead a PyGMT or GMT workshop at AGU, FOSS4G, or some other regional conferences this year? Let us know on the forum and we can help to organize and add it to Workshops — The Generic Mapping Tools!

Onwards :rocket:

P.S. Share the word on Instagram @genericmappingtools :camera_with_flash: and ResearchGate!

2 Likes