tylerjereddy / py_sphere_Voronoi

Python utility code for handling spherical Voronoi Diagrams
MIT License
24 stars 14 forks source link

Image in documentation shows Voronoi diagram with weird metric / wrong tesselation #6

Closed paulmueller closed 8 years ago

paulmueller commented 8 years ago

The voronoi diagram in the documentation has "kinks":

example_random_voronoi_plot

This might be a matplotlib issue. On my PC your example shows the expected tesselation without "kinks".

tylerjereddy commented 8 years ago

Are you referring to the old documentation? The spherical Voronoi code is now officially integrated into scipy 0.18. See here: http://scipy.github.io/devdocs/generated/scipy.spatial.SphericalVoronoi.html

The original code in my repo here shouldn't be used anymore as the above implementation is far more robust.

Note that we are working on improving the way matplotlib handles spherical polygons and on getting spherical polygons surface area calculations into scipy as well (https://github.com/scipy/scipy/issues/6069).

paulmueller commented 8 years ago

Yes, I was referring to http://py-sphere-voronoi.readthedocs.io/en/latest/voronoi_utility.html

tylerjereddy commented 8 years ago

Because that documentation (and indeed this repository) are merely available for historical purposes, and the code to be used is in scipy.spatial.SphericalVoronoi, and because there's already an issue open (https://github.com/matplotlib/matplotlib/pull/6248) for dealing with matplotlib plotting for spherical polygons, I'm closing this issue. Of course, contributions to these open source efforts are always welcome!