greedy’s documentation

https://travis-ci.org/martinfleis/greedy.svg?branch=master https://codecov.io/gh/martinfleis/greedy/branch/master/graph/badge.svg

Warning

Greedy has been included in mapclassify and is no longer supported and developed as an independent package.

Use greedy module in mapclassify instead.:

from mapclassify import greedy

gdf['colors'] = greedy(gdf)

greedy a Python package which brings topological (greedy) coloring to GeoPandas. Several coloring strategies all accessible using one line of code:

gdf['colors'] = greedy(gdf)
_images/output_7_02.png

Install greedy using conda from conda-forge:

conda install -c conda-forge greedy

Or from PyPI using pip:

pip install greedy

Indices and tables