Skip to content

v0.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Sep 01:51
d3e131a

DOI

Highlights

  • πŸŽ‰ Second minor release of PyGMT πŸŽ‰
  • Minimum required GMT version is now 6.1.1 or newer (#577)
  • Plotting xarray grids using grdimage and grdview should not crash anymore and works for most cases (#560)
  • Easier time-series plots with support for datetime-like inputs to plot (#464) and the region argument (#562)

New Features

  • Wrap GMT_Put_Strings to pass str columns into GMT C API directly (#520)
  • Wrap meca (#516)
  • Wrap x2sys_init and x2sys_cross (#546)
  • Let grdcut() accept xarray.DataArray as input (#541)
  • Initialize a GMTDataArrayAccessor (#500)

Enhancements

  • Allow passing in pandas dataframes to x2sys_cross (#591)
  • Sensible array outputs for pygmt info (#575)
  • Allow pandas.DataFrame table and 1D/2D numpy array inputs into pygmt.info (#574)
  • Add auto-legend feature to grdcontour and contour (#568)
  • Add common alias verbose (V) (#550)
  • Let load_earth_relief() support all resolutions and optional subregion (#542)
  • Allow load_earth_relief() to load pixel or gridline registered data (#509)

Documentation

  • Link to try-gmt binder repository (#598)
  • Improve docstring of data_kind() to include xarray grid (#588)
  • Improve the documentation of Figure.shift_origin() (#536)
  • Add shading to grdview gallery example (#506)

Bug Fixes

  • Ensure surface and grdcut loads GMTDataArray accessor info into xarray (#539)
  • Raise an error if short- and long-form arguments coexist (#537)
  • Fix the grdtrack example to avoid crashes on macOS (#531)
  • Properly allow for either pixel or gridline registered grids (#476)

Maintenance

  • Add a test for xarray shading (#581)
  • Remove expected failures on grdview tests (#589)
  • Redesign check_figures_equal testing function to be more explicit (#590)
  • Cut Windows CI build time in half to 15 min (#586)
  • Add a test for Session.write_data() writing netCDF grids (#583)
  • Add a test to make sure shift_origin does not crash (#580)
  • Add testing.check_figures_equal to avoid storing baseline images (#555)
  • Eliminate unnecessary jobs from Travis CI (#567) and Azure Pipelines (#513)
  • Improve the workflow to test both GMT master (#485) and 6.1 branches (#554)
  • Automatically cancel in-progress CI runs of old commits (#544)
  • Remove the Stickler CI configuration file (#538), run style checks using Github Actions (#519)
  • Cache GMT remote data as artifacts on Github (#530)
  • Let pytest generate both HTML and XML coverage reports (#512)
  • Run Continuous Integration tests on Github Actions (#475)

Contributors