Sorry for the delay. Here is an example I came across today using geopandas
and pysal:
http://nbviewer.ipython.org/github/geopandas/geopandas/blob/master/examples/choropleths.ipynb
Cheers!
Ben Root
On Fri, Oct 24, 2014 at 3:59 PM, Christian Alis <iana...@gmail.com> wrote:
> Hi Ben,
>
> Yes, indeed. I'm referring to a choropleth. :)
>
> Thanks,
>
> Christian
> On Oct 24, 2014 8:23 PM, "Benjamin Root" <ben.r...@ou.edu> wrote:
>
>> Do you mean choropleth? http://en.wikipedia.org/wiki/Choropleth_map
>>
>> On Fri, Oct 24, 2014 at 1:18 PM, ianalis <iana...@gmail.com> 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
>>> Matplotlib-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>>>
>>
>>
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users