Re: [matplotlib-devel] Quantization of normalized float to uint8

2011-09-20 Thread Christoph Gohlke
On 9/19/2011 2:23 AM, Christoph Gohlke wrote: > > > On 9/18/2011 2:30 PM, Eric Firing wrote: >> On 09/18/2011 09:30 AM, Christoph Gohlke wrote: >>> Hello, >>> >>> matplotlib uses int(x*255) or np.array(x*255, np.uint8) to quantize >>> normalized floating point numbers x in the range [0.0 to 1.0]

Re: [matplotlib-devel] [Basemap] Preferred form of modification for data files

2011-09-20 Thread Benjamin Root
Sandro, On Mon, Sep 19, 2011 at 4:08 PM, Sandro Tosi wrote: > Moreover, what are the > sources of those files (i.e. where are they downloaded from)? > > >From the README, the coastline, lake, river and political boundary data are extracted from datasets provided with the Generic Mapping Tools (

[matplotlib-devel] Sankey code review

2011-09-20 Thread Kevin Davies
Hello, I would like to ask for a code review on the Sankey feature.  I've tried to improve the formatting and documentation.  Here is the comparison: https://github.com/kdavies4/matplotlib/compare/master...sankey3#diff-1 Thanks! Kevin -