Releases: ccarocean/python-contours
Releases · ccarocean/python-contours
v0.0.2
Bugfix: Degenerate Polygons and the Shapely Formatter
The contours.core.shapely_formatter
could not handle single point
polygons or polygons with single point holes.
- In the case of regular contours the
shapely_formatter
now returns
shapely.geometry.Point
objects for single point contour lines. - In the case of filled contours the
shapely_formatter
now removes
single point polygons and single point holes in polygons as they are not well
defined for filled contours.
v0.0.1
Grid Contours
The contours.quad.QuadContourGenerator
class provides an interface
into Matplotlib's contour generation algorithms for curvilinear, rectilinear,
and uniform grids.
Output Formats
Contours can be returned in 1 of 3 formats:
- List of NumPy arrays.
- Single NumPy array (MATLAB style).
- Shapely geometry elements.