[Matplotlib-users] (no subject)

2012-07-08 Thread Arek Kedzior
http://kamiasek.kx.cz/daqowrtau/669669.html -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions

[Matplotlib-users] Why does contourf with the extend argument tweak the data limits?

2012-07-08 Thread Brendan Barnwell
I just spent some time debugging an odd problem. Take this code: x,y = np.arange(-10,10), np.arange(-10,10) x,y = np.meshgrid(x,y) z = x**2+y**2 cs = pyplot.contourf(x,y,z,levels=np.arange(50, 220, 20), cmap=pyplot.cm.jet, extend='both') cs.cmap.set_under('k') cb = pyplot.colorbar(cs)