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

2011-09-19 Thread Sandro Tosi
Hello, To be available from the Debian main archive, we need to provide a tarball containing all source code, something that later generates a "binary" content or in a form that's what called "the preferred form of modification" (f.e. in a sphinx doc, it's the rst files, not the html files resultin

[matplotlib-devel] [Basemap] nad2bin is not installed?

2011-09-19 Thread Sandro Tosi
Hello, it seems nad2bin is not installed, but only compiled. Is that expected? Should it be installed by hand instead of by setup.py install? Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi ---

[matplotlib-devel] [Basemap] Make doc build-process more self-contained

2011-09-19 Thread Sandro Tosi
Hello, the doc build process is a lot of hand-crafting work and it also requires the full source of matplotlib just to get a couple of directory. I know that code duplication sucks, but I'd suggest to include directly into the basemap dir all the files (sphinxext & _static at the very least) neede

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

2011-09-19 Thread Christoph Gohlke
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] to >> integers in the range [0 to 255]. This way only 1.0