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 :
- 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)
Faster PyGMT by ~0.1 seconds for each module call (#2930)
Read through the changelog for the full list of changes. Installation/upgrade instructions are at Installing — PyGMT! Note that this version is cross-compatible with GMT 6.3 - 6.5, but it requires
Python 3.9+ and NumPy 1.23+ following NEP29. Go try it online at try-gmt
.
Nice enhancements :
Figure.savefig
: Support generating GeoTIFF file (#2698)Figure.text
: Allow lists as input type for theangle
,font
, andjustify
parameters (#2720)datasets.load_tile_map
andFigure.tilemap
: Addzoom_adjust
parameter (#2934)
New aliases :
- Figure.coast:
box
(F
) - grdlandmask:
cores
(x
)
As usual, report any bugs with the issue template on GitHub. Your feedback is what helps us to improve!
New tutorial and gallery examples
- Add tutorial for working with table inputs in PyGMT (#2722) by @seisman
- Add gallery example showing how to create a choropleth map (#2796) by @mgrund
- Add gallery example showing how to add a scale bar (#2822) by @yvonnefroehlich
- Add gallery example showing how to plotting connection lines (#2999) by @yvonnefroehlich
- Add gallery example showing how to adjust line segment ends (#3015) by @yvonnefroehlich
- Update gallery example for legend regarding multi-columns (#2762) by @yvonnefroehlich
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
- Documentation improvements
We invite you to get involved in these efforts by reaching out on GitHub !
Upcoming deprecations
- v0.12.0
- All plotting methods: Remove aliases
xshift
(X
) andyshift
(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 parametercolor
, usefill
instead (FutureWarning raised since PyGMT v0.8.0)Figure.velo
: Remove parameteruncertaintycolor
, useuncertaintyfill
instead (FutureWarning raised since PyGMT v0.8.0)Figure.wiggle
: Remove parametercolor
, usefillnegative
orfillpositive
instead (FutureWarning raised since PyGMT v0.8.0)Figure.grdimage
: Remove parameterbit_color
, usebitcolor
instead (Future Warning raised since PyGMT v0.10.0)
- All plotting methods: Remove aliases
- v0.13.0
Figure.timestamp
: Remove parameterjustification
, usejustify
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)
- Short form aliases (e.g.
The compatibility matrix is listed at Minimum Supported GMT/Python/NumPy Versions — PyGMT, so make sure you keep things up to date!
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
P.S. Share the word on Instagram @genericmappingtools and ResearchGate!