# PyGMT v0.2.0 released

**URL:** <https://forum.generic-mapping-tools.org/t/pygmt-v0-2-0-released/879>\
**Category:** Announcements\
**Created:** [September 12, 2020, 9:09pm UTC](https://forum.generic-mapping-tools.org/t/pygmt-v0-2-0-released/879 "2020-09-12T21:09:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weiji14](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/weiji14/32/33_2.png) [@weiji14](https://forum.generic-mapping-tools.org/u/weiji14)\
**Post date:** [September 12, 2020, 9:09pm UTC](https://forum.generic-mapping-tools.org/t/pygmt-v0-2-0-released/879/1 "2020-09-12T21:09:26Z")

</div>

**Announcing [PyGMT v0.2.0](https://github.com/GenericMappingTools/pygmt/releases/tag/v0.2.0), now using GMT 6.1.1 or newer!**

The PyGMT team is excited to present version [v0.2.0](https://www.pygmt.org/v0.2.0), our second minor release that is packed with new features from plotting beachball plots with [`meca`](https://www.pygmt.org/v0.2.0/api/generated/pygmt.Figure.meca.html#) to running crossover analysis with [`x2sys_cross`](https://www.pygmt.org/v0.2.0/api/generated/pygmt.x2sys_cross.html). Note that this requires [GMT 6.1.1](https://flint.soest.hawaii.edu/t/gmt-6-1-1-has-been-released/839) or newer which comes with bugfixes for `xarray` grids, and the new default pixel registration scheme for [global earth relief grids](https://docs.generic-mapping-tools.org/6.1/datasets/remote-data.html#global-earth-relief-grids). Here’s some noteworthy highlights:

- Plotting xarray grids using [`grdimage`](https://www.pygmt.org/v0.2.0/api/generated/pygmt.Figure.grdimage.html) and [`grdview`](https://www.pygmt.org/v0.2.0/api/generated/pygmt.Figure.grdimage.html) should not crash anymore and works for most cases ([#560](https://github.com/GenericMappingTools/pygmt/pull/560))
- Easier time-series plots with support for datetime-like inputs to [`plot`](https://www.pygmt.org/v0.2.0/api/generated/pygmt.Figure.plot.html#pygmt.Figure.plot) ([#464](https://github.com/GenericMappingTools/pygmt/pull/464)) and the region argument ([#562](https://github.com/GenericMappingTools/pygmt/pull/562))

The full list of changes can be found in the [changelog](https://www.pygmt.org/v0.2.0/changes.html#release-v0-2-0-2020-09-12). Installation instructions can be found at [Installing — PyGMT](https://www.pygmt.org/v0.2.0/install.html), or you can try it online first at [try-gmt](https://github.com/GenericMappingTools/try-gmt)! Also special shoutout to [@tjnewton](https://github.com/tjnewton) who worked with @liamtoney on the `meca` focal mechanism plotting function during the [SciPy 2020 sprint](https://github.com/GenericMappingTools/pygmt/issues/433), which you can see demonstrated at this [`meca` gallery example](https://www.pygmt.org/v0.2.0/gallery/plot/meca.html#focal-mechanisms)!

**Disclaimer** : While plotting `xarray` grids should work in most cases without crashing, there are still some edge cases (e.g. when plotting across the dateline using certain projections) where they differ slightly from plots made using NetCDF grids (see longstanding issue at [#390](https://github.com/GenericMappingTools/pygmt/issues/390)). This is likely an upstream issue that will be fixed in GMT 6.2.0, and we may get this in as a patch release for [PyGMT v0.2.1](https://github.com/GenericMappingTools/pygmt/milestone/2).

**Roadmap to [v0.3.0](https://github.com/GenericMappingTools/pygmt/milestone/3)**

These are some [aspirational features in progress](https://github.com/GenericMappingTools/pygmt/pulls).

- Wrap `plot3d` ([#471](https://github.com/GenericMappingTools/pygmt/pull/471))
- Implement [subplot](https://docs.generic-mapping-tools.org/latest/subplot.html) wrapper ([#412](https://github.com/GenericMappingTools/pygmt/pull/412))
- Add `velo` function ([#525](https://github.com/GenericMappingTools/pygmt/pull/525))
- etc

As geoscientists, we want to make it easier for researchers to make beautiful, high quality plots. So if you’re keen, jump over to Github and leave your comment/upvote, or help us review/test things so that it works for your real-world dataset! Happy take questions here on the forum, or receive bug reports on our [Github issue tracker](https://github.com/GenericMappingTools/pygmt/issues).

Enjoy 🥳

---

<div class="post-metadata">

**Author:** ![pwessel](https://yyz1.discourse-cdn.com/flex047/user_avatar/forum.generic-mapping-tools.org/pwessel/32/30_2.png) [@pwessel](https://forum.generic-mapping-tools.org/u/pwessel)\
**Post date:** [September 12, 2020, 9:54pm UTC](https://forum.generic-mapping-tools.org/t/pygmt-v0-2-0-released/879/2 "2020-09-12T21:54:19Z")

</div>

Congrats to the PyGMT team! Keep holding the GMT C API Team’s feet to the fire.  
Paul
