-
Notifications
You must be signed in to change notification settings - Fork 365
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 #2455 from rcomer/path-shapely
Introduce `path_to_shapely` and `shapely_to_path`
- Loading branch information
Showing
18 changed files
with
489 additions
and
171 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
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
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
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.25 | ||
v0.24 | ||
v0.23 | ||
v0.22 | ||
|
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,30 @@ | ||
Version 0.25 (Date TBD) | ||
======================= | ||
|
||
The new minimum supported versions of dependencies that have been updated are: | ||
|
||
* Shapely 2.0 | ||
|
||
|
||
Features | ||
-------- | ||
|
||
* Ruth Comer introduced `~cartopy.mpl.path.shapely_to_path` and | ||
`~cartopy.mpl.path.path_to_shapely` which map a single Shapely geometry or | ||
collection to a single Matplotlib path and *vice versa*. (:pull:`2455`) | ||
|
||
|
||
Deprecations and Removals | ||
------------------------- | ||
|
||
* `~cartopy.mpl.patch.path_to_geos` and `~cartopy.mpl.patch.geos_to_path` are | ||
deprecated. Use `~cartopy.mpl.path.path_to_shapely` and | ||
`~cartopy.mpl.path.shapely_to_path` instead. | ||
|
||
* `~cartopy.mpl.patch.path_segments` is deprecated without replacement. The | ||
implementation is simply | ||
|
||
.. code-block:: python | ||
pth = path.cleaned(**kwargs) | ||
return pth.vertices[:-1, :], pth.codes[:-1] |
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
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
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
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
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
Oops, something went wrong.