I'm not sure whether I'm correctly understanding you. Let's consider a
hypothetical engineering performance-versus-requirements scatter plot or
contour plot of a performance metric that takes positive values. I'd
like to map values to colors so that anything below 50 gets solid red,
values from
Phillip M. Feldman wrote:
> Eric and Reinier-
>
> It seems to me that continuous (piecewise-linear) colormaps could work
> in much the same fashion. One would specify n boundary colors and n
> thresholds (for continuous colormaps, I believe that the number of
> thresholds and colors must be th
Phillip M. Feldman wrote:
>
> When I look at the online documentaiton for from_list, here's what I
> see: "Make a linear segmented colormap with /name/ from a sequence of
> /colors/ which evenly transitions from colors[0] at val=1 to colors[-1]
> at val=1. N is the number of rgb quantization l
David Cournapeau wrote:
> Hi,
>
> I don't know if that's of any interest for matplotlib developers,
> but I added scripts to build matplotlib with numscons:
>
> http://github.com/cournape/matplotlib/tree/scons_build
>
OK, I managed to clone your repo -- I cloned mine, then added yours as a
r
Hi,
I'm trying to get something like texture mapping to work. (I don't need
anything fancy transforms between texel location and image location,
though. I'm happy to specify just a 2D grid of pixel colors that appear
onto a rectangle positioned in 3D space.)
Given that, I made a demo based on pco
I'd like to see a single function that combines ListedColormap and
BoundaryNorm. This function could compare the lengths of the color list
and threshold list to determine what type of colormap is desired. (If
the lengths are the same, then the calling program wants a continuous
colormap; if t
Eric and Reinier-
It seems to me that continuous (piecewise-linear) colormaps could work
in much the same fashion. One would specify n boundary colors and n
thresholds (for continuous colormaps, I believe that the number of
thresholds and colors must be the same), and for any value between two
Eric Firing wrote:
> Phillip M. Feldman wrote:
>> Hello Eric-
>>
>> I'd like to understand the reason why you object to
>> piecewise-constant colormaps. I have found these to be useful for
>> some types of plots.
>
> It is a crude and indirect way of achieving a result that can be
> achieved
Andrew Straw wrote:
>>> As far as the test data -- I agree this is an issue. One point in favor
>>> of the status quo is that it's really nice to have the test data
>>> included with the source code so there are no configuration hassles. I'm
>>> not sure how well the buildbot infrastructure would c
Michael Droettboom wrote:
>> "inkscape input.svg --export-png=output.png" works very well as an svg
>> renderer.
>>
> I'd also like to run SVG through xmllint against the SVG schema as
> another sanity check. I may get to this if I can find the time.
That'd be great. I just installed inkscap
Andrew Straw wrote:
> Jouni K. Seppänen wrote:
>
>> Jouni K. Seppänen writes:
>>
>> When we add new formats (comparing postscript files could easily be done
>> using the same ghostscript command as used for pdf files, and some svg
>> renderer could also be added)
>>
>
> "inkscape inpu
Jouni K. Seppänen wrote:
> Jouni K. Seppänen writes:
>
>
>> Oh, right. My fault: when I implemented the pdf comparison, I made it
>> run the test for only those formats for which a baseline image exists,
>>
>
> I committed a change to make it run both png and pdf tests all the time.
>
Jouni K. Seppänen writes:
> Oh, right. My fault: when I implemented the pdf comparison, I made it
> run the test for only those formats for which a baseline image exists,
I committed a change to make it run both png and pdf tests all the time.
When we add new formats (comparing postscript files
Michael Droettboom
writes:
> Unfortunately, it doesn't seem to be running the new test at all. If I
> put "assert False" at the top of the test, and even that doesn't fail.
> If I remove the "image_comparison" decorator, however, the test will
> fail. Maybe this is because the baseline imag
I went to create a new image comparison test related to the hatching bug
reported this morning.
I added my test to the bottom of test_simplification.py, and ran all the
tests as follows:
python -c "import matplotlib; matplotlib.test()"
Unfortunately, it doesn't seem to be running the new te
15 matches
Mail list logo