fill between curves on log scale?

I can fill between curves using either:

xs, ys = poly_between(x, y1, y2)
ax = gca()
ax.fill(xs,ys, facecolor='b', alpha=0.5)


xs = concatenate((x,x[::-1]))
ys = concatenate((y1,y2[::-1]))
p = fill(xs,ys,facecolor='b', alpha=0.5)


But, if I try to do either on a semilogy plot, I get a strange looking
combination of reflected-looking polygons.

Any ideas?


View this message in context:
Sent from the matplotlib - users mailing list archive at