Re: [matplotlib-devel] contour plots & linestyles

2009-01-06 Thread Manuel Metz
Eric Firing wrote: > Manuel Metz wrote: >> Hi, >> I just noted a strange behavior of contour(). When a contour plot is >> created with negative values and using a single color instead of a cmap, >> contour _always_ uses the contour.negative_linestyle, even if linestyles >> are specifically provid

Re: [matplotlib-devel] contour plots & linestyles

2009-01-06 Thread Eric Firing
Manuel Metz wrote: > Hi, > I just noted a strange behavior of contour(). When a contour plot is > created with negative values and using a single color instead of a cmap, > contour _always_ uses the contour.negative_linestyle, even if linestyles > are specifically provided: > > x = linspace(-p

[matplotlib-devel] contour plots & linestyles

2009-01-06 Thread Manuel Metz
Hi, I just noted a strange behavior of contour(). When a contour plot is created with negative values and using a single color instead of a cmap, contour _always_ uses the contour.negative_linestyle, even if linestyles are specifically provided: x = linspace(-pi,pi,100) X,Y = meshgrid(x,x)