-
Notifications
You must be signed in to change notification settings - Fork 359
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2219 from greglucas/v0.22-doc-whatsnew
DOC: Add v0.22 whats new page
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ Versions | |
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
v0.22 | ||
v0.21 | ||
v0.20 | ||
v0.19 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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``) |