|
From: Christian A. <ia...@gm...> - 2014-10-24 19:59:59
|
Hi Ben, Yes, indeed. I'm referring to a choropleth. :) Thanks, Christian On Oct 24, 2014 8:23 PM, "Benjamin Root" <ben...@ou...> wrote: > Do you mean choropleth? http://en.wikipedia.org/wiki/Choropleth_map > > On Fri, Oct 24, 2014 at 1:18 PM, ianalis <ia...@gm...> wrote: > >> I have been creating chloropleth maps in Python by adding patches and/or >> polygons in a matplotlib Axes but I'm looking for something easier to use. >> >> Ideally, the interface should be similar to how contour maps or >> pseudocolor >> plots are created where, at the minimum, only one call to a function is >> needed to create these plots from data. Colors are automatically assigned >> and normalized based on values. A colorbar can then be added by calling >> another function. >> >> So far, the closest package seems to be geopandas. Is there an another >> package that is nearer to what I want? That is, is there a package that >> can >> make a (basic) chloropleth of values stored as a dictionary, numpy array >> or >> pandas dataframe in one call? >> >> I'm willing to contribute code and help develop the chloropleth capability >> of a package since I currently end up creating my own function and >> manipulating Axes internals just to create a chloropleth. >> >> >> >> -- >> View this message in context: >> http://matplotlib.1069221.n5.nabble.com/Easiest-way-to-create-a-chloropleth-in-Python-tp44195.html >> Sent from the matplotlib - users mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > |