Skip to content

Commit

Permalink
Merge pull request #2219 from greglucas/v0.22-doc-whatsnew
Browse files Browse the repository at this point in the history
DOC: Add v0.22 whats new page
  • Loading branch information
greglucas committed Aug 4, 2023
2 parents 94ffd38 + fe8a0b5 commit b9f140d
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/whatsnew/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Versions
.. toctree::
:maxdepth: 2

v0.22
v0.21
v0.20
v0.19
Expand Down
56 changes: 56 additions & 0 deletions docs/source/whatsnew/v0.22.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
Version 0.22 (August 4, 2023)
=============================

Cartopy v0.22 is a major step forward in the project's development. The
requirement to install with local PROJ and GEOS libraries has been
removed. The previous C PROJ library calls have been replaced by pyproj
and the C GEOS calls have been replaced by shapely. This means that
Cartopy can now be installed with a simple ``pip install cartopy``.


For a full list of included Pull Requests and closed Issues, please see the
`0.22 milestone <https://github.com/SciTools/cartopy/milestone/35>`_.

Features
--------

* Matthias Cuntz updated the OGC reader to handle EPSG projections. (:pull:`2191`)

* Greg Lucas added the ability to build wheels for the project and
move towards new Python packaging standards. (:pull:`2197`)

* Elliott Sales de Andrade removed the GEOS dependency and replaced it with shapely
and Greg Lucas added some additional speedups in the geometry transforms. (:pull:`2080`)

* Ruth Comer added the ability to use RGB(A) color arrays with pcolormesh and
updated the code to work with Matplotlib version 3.8. (:pull:`2166`)

.. plot::

import cartopy.crs as ccrs
import matplotlib.pyplot as plt
import numpy as np

np.random.seed(100)

x = np.arange(10, 20)
y = np.arange(0, 10)
x, y = np.meshgrid(x, y)

img = np.random.randint(low=0, high=255, size=(10, 10, 4)) / 255

projection = ccrs.Mollweide()
transform = ccrs.PlateCarree()
ax = plt.axes(projection=projection)
ax.set_global()
ax.coastlines()

ax.pcolormesh(np.linspace(0, 120, 11), np.linspace(0, 80, 11), img, transform=transform)

plt.show()

* Dan Hirst updated the Ordnance Survey image tiles to use the new OS API. (:pull:`2105`)

* Martin Yeo added the Oblique Mercator projection. (:pull:`2096`)

* Elliott Sales de Andrade added the Aitoff and Hammer projections. (:pull:`1249``)

0 comments on commit b9f140d

Please sign in to comment.