[Matplotlib-users] Bad eps output

2010-03-09 Thread Olle Engdegård
Hi, This import pylab as pl pl.plot([3,6,3,7,3]) pl.xlabel(Xlabel) pl.savefig(test.eps) gives me an unpleasant outfile with the backends GTK, GTKAgg, WXAgg, WX, Agg, GDK and PS. It works fine only with Cairo and GTKCairo. I'm on trunk and Ubuntu 8.04. All backends do fine for png. It's

[Matplotlib-users] zorder with twinx grid

2009-01-18 Thread Olle Engdegård
Hi, Does the zorder work between twin axis? I can't get lines on the first axis to be on top of the second grid: plot([20,30], [0, 5], color=red, lw=5, zorder=10) ax2=twinx() grid(ls=-, lw=5, zorder=-1) ax2.set_axisbelow(True) title(Why doesn't the read line go above the second axis?)