contour & colorbar...

Hi,

Please look at the short example attached showing the issue.

I want to display only one contour line, with value 0.8.

Obviously, the color associated with this contour line is bad
(blue instead of red color).

I think the reason is that the contour has its own colormap,
so for only one value, the color is blue.

I don't see anything about this issue in the contour help.

How can I fix this ?

Thanks in advance.

Cheers,

essai.py (167 Bytes)

···

--
http://scipy.org/FredericPetit