Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 15 Feb 09:50
65b099a

DOI

Highlights

  • πŸŽ‰ Third minor release of PyGMT πŸŽ‰
  • Wrap inset (#788) for making overview maps and subplot (#822) for multi-panel figures
  • Apply standardized formatting conventions (#775) across most documentation pages
  • Drop Python 3.6 support (#699) so PyGMT now requires Python 3.7 or newer

New Features

  • Wrap grd2cpt (#803)
  • Let Figure.text support record-by-record transparency (#716)
  • Provide basic support for FreeBSD (#700, #878)

Enhancements

  • Let load_earth_relief support the 'region' parameter for all resolutions (#873)
  • Improve how PyGMT finds the GMT library (#702)
  • Add common alias panel (-c) to all plotting functions (#853)
  • Add aliases dcw (#765) and lakes (#781) to Figure.coast
  • Add alias shading to Figure.colorbar (#752)
  • Add alias annotation (A) to Figure.contour (#883)
  • Wrap Figure.grdinfo aliases (#799)
  • Add aliases frame and cmap to Figure.colorbar (#709)
  • Add alias frame to Figure.grdview (#707)
  • Improve the error message when PyGMT fails to load the GMT library (#814)
  • Add GMTInvalidInput error to Figure.coast (#787)

Documentation

  • Add authorship policy (#726)
  • Update PyGMT development installation instructions (#865)
  • Add a tutorial for adding a map title (#720)
  • Add a tutorial for plotting Earth relief (#712)
  • Add a tutorial for 3D perspective image (#743)
  • Add a tutorial for contour maps (#705)
  • Add a tutorial for plotting lines (#741)
  • Add a tutorial for the region argument (#800)
  • Add a gallery example for datetime inputs (#779)
  • Add a gallery example for Figure.logo (#823)
  • Add a gallery example for plotting multi-parameter symbols (#772)
  • Add a gallery example for Figure.image (#777)
  • Add a gallery example for setting line colors with a custom CPT (#774)
  • Add more gallery examples for projections (#761, #721, #757, #723, #762, #742, #728, #727)
  • Update the docstrings in the plotting modules (#881)
  • Update the docstrings in the non-plotting modules (#882)
  • Update Figure.coast docstrings (#798)
  • Update the docstrings of common aliases (#862)
  • Add sphinx-copybutton extension to easily copy codes (#838)
  • Choose the best figures in tutorials for thumbnails (#826)
  • Update axis label explanation in frames tutorial (#820)
  • Add guidelines for types of tests to write (#796)
  • Recommend using SI units in documentation (#795)
  • Add a table for compatibility of PyGMT with Python and GMT (#763)
  • Add description for the "columns" arguments (#766)
  • Add a table of the available projections (#753)
  • Add projection description for Lambert Azimuthal Equal-Area (#760)
  • Change text when GMTInvalidInput error is raised for basemap (#729)

Bug Fixes

  • Fix a bug of Figure.text when "text" is a non-string array (#724)
  • Fix the error message when IPython is not available (#701)

Maintenance

  • Add dependabot to keep GitHub Actions up to date (#861)
  • Skip workflows in PRs if only non-source-code files are changed (#839)
  • Add slash command '/test-gmt-dev' to test GMT dev version (#831)
  • Check files for UNIX-style line breaks and 644 permission (#736)
  • Rename vercel configuration file from now.json to vercel.json (#738)
  • Add a CI job testing GMT master branch on Windows (#756)
  • Migrate documentation deployment from Travis CI to GitHub Actions (#713)
  • Move Figure.meca into a standalone module (#686)
  • Move plotting functions to separate modules (#808)
  • Move non-plotting modules to separate modules (#832)
  • Add isort to sort imports alphabetically (#745)
  • Convert relative imports to absolute imports (#754)
  • Switch from versioneer to setuptools-scm (#695)
  • Add docformatter to format plain text in docstrings (#642)
  • Migrate pytest configurations to pyproject.toml (#725)
  • Migrate coverage configurations to pyproject.toml (#667)
  • Show test execution times in pytest (#835)
  • Add tests for grdfilter (#809)
  • Add tests for GMTInvalidInput of Figure.savefig and Figure.show (#810)
  • Add args_in_kwargs function (#791)
  • Add a Makefile target 'distclean' for deleting project metadata files (#744)
  • Add a test for Figure.basemap map_scale (#739)
  • Use args_in_kwargs for Figure.basemap error raising (#797)

Contributors