geopandas/geopandas — pull request #172 by ianalis (2014-11-02 17:57:21+00:00)
Title: ENH: Implement legend (colorbar) for noncategorical dataframe plots

This PR implements the `legend` option for noncategorical dataframes which, up to now, returns a `NotImplementedError`. Since there is no easy method of accessing the legend of an axes that I'm aware of, `plot_dataframe()` will also return the colorbar aside from the axes. Additional tests and appropriate changes in the documentation were also added.