Skip to content

Commit b9f140d

Browse files
authored
Merge pull request #2219 from greglucas/v0.22-doc-whatsnew
DOC: Add v0.22 whats new page
2 parents 94ffd38 + fe8a0b5 commit b9f140d

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

docs/source/whatsnew/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Versions
1414
.. toctree::
1515
:maxdepth: 2
1616

17+
v0.22
1718
v0.21
1819
v0.20
1920
v0.19

docs/source/whatsnew/v0.22.rst

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
Version 0.22 (August 4, 2023)
2+
=============================
3+
4+
Cartopy v0.22 is a major step forward in the project's development. The
5+
requirement to install with local PROJ and GEOS libraries has been
6+
removed. The previous C PROJ library calls have been replaced by pyproj
7+
and the C GEOS calls have been replaced by shapely. This means that
8+
Cartopy can now be installed with a simple ``pip install cartopy``.
9+
10+
11+
For a full list of included Pull Requests and closed Issues, please see the
12+
`0.22 milestone <https://github.com/SciTools/cartopy/milestone/35>`_.
13+
14+
Features
15+
--------
16+
17+
* Matthias Cuntz updated the OGC reader to handle EPSG projections. (:pull:`2191`)
18+
19+
* Greg Lucas added the ability to build wheels for the project and
20+
move towards new Python packaging standards. (:pull:`2197`)
21+
22+
* Elliott Sales de Andrade removed the GEOS dependency and replaced it with shapely
23+
and Greg Lucas added some additional speedups in the geometry transforms. (:pull:`2080`)
24+
25+
* Ruth Comer added the ability to use RGB(A) color arrays with pcolormesh and
26+
updated the code to work with Matplotlib version 3.8. (:pull:`2166`)
27+
28+
.. plot::
29+
30+
import cartopy.crs as ccrs
31+
import matplotlib.pyplot as plt
32+
import numpy as np
33+
34+
np.random.seed(100)
35+
36+
x = np.arange(10, 20)
37+
y = np.arange(0, 10)
38+
x, y = np.meshgrid(x, y)
39+
40+
img = np.random.randint(low=0, high=255, size=(10, 10, 4)) / 255
41+
42+
projection = ccrs.Mollweide()
43+
transform = ccrs.PlateCarree()
44+
ax = plt.axes(projection=projection)
45+
ax.set_global()
46+
ax.coastlines()
47+
48+
ax.pcolormesh(np.linspace(0, 120, 11), np.linspace(0, 80, 11), img, transform=transform)
49+
50+
plt.show()
51+
52+
* Dan Hirst updated the Ordnance Survey image tiles to use the new OS API. (:pull:`2105`)
53+
54+
* Martin Yeo added the Oblique Mercator projection. (:pull:`2096`)
55+
56+
* Elliott Sales de Andrade added the Aitoff and Hammer projections. (:pull:`1249``)

0 commit comments

Comments
 (0)