Skip to content

Commit

Permalink
Bump version to v0.0.2.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshannon committed Jul 27, 2017
1 parent 73c8475 commit 482bec2
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog (contours)
====================

0.0.2
-----
* Bugfix: Add support for degenerate (single point) polygons in the
shapely_formatter.

0.0.1
-----

Expand Down
2 changes: 1 addition & 1 deletion contours/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
from .core import numpy_formatter, matlab_formatter, shapely_formatter
from .quad import QuadContourGenerator

__version__ = '0.0.2.dev0'
__version__ = '0.0.2'
14 changes: 14 additions & 0 deletions docs/releasenotes/0.0.2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
0.0.2
=====

Bugfix: Degenerate Polygons and the Shapely Formatter
-----------------------------------------------------

The :func:`contours.core.shapely_formatter` could not handle single point
polygons or polygons with single point holes.

* In the case of regular contours the :func:`shapely_formatter` now returns
:class:`shapely.geometry.Point` objects for single point contour lines.
* In the case of filled contours the :func:`shapely_formatter` now removes
single point polygons and single point holes in polygons as they are not well
defined for filled contours.
3 changes: 2 additions & 1 deletion docs/releasenotes/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ Release Notes
=============

.. toctree::
:maxdepth: 1
:maxdepth: 2

0.0.2
0.0.1
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
license='MIT',
url='https://github.com/ccarocean/python-contours',
download_url=('https://github.com/ccarocean/python-contours/'
'archive/master.zip'),
'archive/v0.0.2.zip'),
long_description=long_desc,
packages=['contours'],
platforms=['any'],
Expand Down

0 comments on commit 482bec2

Please sign in to comment.