[Matplotlib-users] (no subject)

2012-07-09 Thread Arek Kedzior
http://akws.org/joelcmsqi/459113.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 will

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

2012-07-09 Thread Eric Firing
On 2012/07/09 7:33 AM, Brendan Barnwell wrote: > On 2012-07-09 06:13, Benjamin Root wrote: >> On Sun, Jul 8, 2012 at 9:04 PM, Brendan Barnwellwrote: >>> cs = pyplot.contourf(x,y,z,levels=np.arange(50, 220, 20), >>> cmap=pyplot.cm.jet, extend='both') >>> cs.cmap.set_under('k') >>> cs.set_cli

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

2012-07-09 Thread Brendan Barnwell
On 2012-07-09 06:13, Benjamin Root wrote: > On Sun, Jul 8, 2012 at 9:04 PM, Brendan Barnwellwrote: >> cs = pyplot.contourf(x,y,z,levels=np.arange(50, 220, 20), >> cmap=pyplot.cm.jet, extend='both') >> cs.cmap.set_under('k') >> cs.set_clim(50, 210) >> cb = pyplot.colorbar(cs) >> >> But

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

2012-07-09 Thread Benjamin Root
On Sun, Jul 8, 2012 at 9:04 PM, Brendan Barnwell wrote: > 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.j

Re: [Matplotlib-users] Accelerating PDF saved plots

2012-07-09 Thread Michiel de Hoon
Hi Eric, Jouni, Thanks for your replies. I opened an issue here: https://github.com/matplotlib/matplotlib/issues/992 and wrote an outline of how the PDF backend can be simplified by making use of gc.restore to keep track of the graphics context. In essence the PDF backend would then follow the

Re: [Matplotlib-users] conflicts with navigation bar events

2012-07-09 Thread Jean-Francois . Moulin
Hi Ben ! nope, ESC does not help. By the way do you have any tip on working with key modifiers? Thanks a lot, Best JF - Helmholtz Zentrum Geesthacht Institut für Werkstoffforschung Abteilung WPN, Instrument REFSANS Lichtenbergstr. 1 85747 Garching FRM II Tel.: +49 (0)89 289 10762 Internet: htt