PyGMT v0.9.0 released
Announcing PyGMT v0.9.0, including integration with contextily to plot nice XYZ tilemap backgrounds!
The PyGMT team is super excited to bring you version v0.9.0! Here are the highlights
- Add
Figure.tilemap
to plot XYZ tile maps (#2394) - Add
pygmt.datasets.load_tile_map
to load raster tile maps using contextily (#2125) - Eleven new/updated gallery and inline examples
Read through the changelog for the full list of changes. Installation/upgrade instructions are at Installing β PyGMT! Note that this version is still cross-compatible with GMT 6.3 and 6.4. Go try it online at try-gmt
.
Shout out to our new contributor Jing-Hui Tong ! Also thanks to the entire PyGMT Team for making this release possible
.
New features:
pygmt.datasets.load_earth_mask
: Load the GSHHG Global Earth Mask in various resolutionspygmt.Figure.timestamp
: Plot the GMT timestamp logo
New aliases:
pygmt.surface
:convergence
(C
),lower
(Ll
),upper
(Lu
),maxradius
(M
),tension
(T
)pygmt.Figure.meca
:cmap
(C
),extensionfill
(E
),compressionfill
(G
),pen
(W
)pygmt.Figure.colorbar
:equalsize
(L
),zfile
(Z
)
Feel free to report bugs using our refreshed bug template on GitHub, your feedback is what helps us to improve!
New gallery examples
- Calculating grid gradient with custom azimuth and normalize parameters by @JingHuiTong
- Using Bit and Hachure Patterns as fill by @yvonnefroehlich
- Creating a Scatter plot with histograms by @mgrund
- Adding a Timestamp to a figure by @mgrund
- Extend of the gallery examples Colorbar and Focal mechanisms by @yvonnefroehlich
- Addition of inline examples for colorbar, grdview, load_earth_mask, load_earth_vertical_gravity_gradient, and set_display by @willschlitzer and @seisman
Calculating grid gradient with custom azimuth and normalize parameters | Bit and Hachure Patterns | Scatter plot with histograms |
---|---|---|
![]() |
![]() |
![]() |
Roadmap to v0.10.0
Whatβs next? Here are a few in the pipeline, but also check out the GitHub issues board for more! Use the good first issue label to filter easy ones you can help out with!
- Features/enhancements
- Documentation improvements
We invite you to get involved in these efforts by reaching out on GitHub !
Upcoming deprecations
- v0.10.0 (Jul 2023)
- v0.12.0
- All plotting methods: Remove aliases
xshift
(X
) andyshift
(Y
) (FutureWarning raised since PyGMT v0.8.0) pygmt.Figure.plot
,pygmt.Figure.plot3d
,pygmt.Figure.rose
,pygmt.Figure.velo
: Remove parametercolor
, usefill
instead (FutureWarning raised since PyGMT v0.8.0)pygmt.Figure.wiggle
: Remove parametercolor
, usefillnegative
orfillpositive
instead (FutureWarning raised since PyGMT v0.8.0)
- All plotting methods: Remove aliases
- 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 PyGMT, so make sure you keep things up to date!
Conference presentations/workshops/sprints
The only planned engagement so far for 2023 is the addition of a PyGMT section to the annual GMT for Geodesy Short Course, but if anyone is keen to host something for the next AGU Fall Meeting or some other regional conferences, do let us know on the forum and we can add it to the list!
Onwards
P.S. Share the word on Twitter @gmt_dev and Instagram @genericmappingtools