Re: [Matplotlib-users] subplot with specified heights

2011-10-21 Thread Holger Brandsmeier
Indeed, with that link, I was able to make it work. Thanks a lot, Holger On Thu, Oct 20, 2011 at 11:30, Jean-Louis Durrieu jean-lo...@durrieu.ch wrote: Hi Holger, On Oct 20, 2011, at 11:21 AM, Holger Brandsmeier wrote: I would like to have two subplots in a figure one below each other (so

[Matplotlib-users] update colorbar

2011-10-21 Thread Holger Brandsmeier
Dear list, I am making a 3d plot of a set of functions one after the other. Actually I do this interactively, but what matter should only be that I plot, clear the axis, plot again and so on. I want to display a colorbar for each of those plots. The first thing I tried was calling

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-21 Thread Michael Droettboom
Thanks for looking into this deeper. Agg requires image buffers to be premultiplied, as described in the third bullet point here. (It's not exactly clear, to say the least, but that's what I take it to mean, and also from reading the code).

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-21 Thread Daniel Hyams
All sounds reasonable Mike; I do agree that patching the agg source code is not that desirable; I was operating under the (incorrect) assumption that most, if not all, backends used straight alpha. I'll certainly test the patch tonight, but I can only test it under wxAgg reasonably, which is one

Re: [Matplotlib-users] please help with arrow drawing.

2011-10-21 Thread Piter_
Thanks. The annotate function works. Does anybody knows a way to add some text above or belove an arrow? Now I do it using text command and coordinates for text. May be it possible to do directly with annotate command? Thanks. Petro.

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-21 Thread Michael Droettboom
On 10/21/2011 09:49 AM, Daniel Hyams wrote: All sounds reasonable Mike; I do agree that patching the agg source code is not that desirable; I was operating under the (incorrect) assumption that most, if not all, backends used straight alpha. I'll certainly test the patch tonight, but I can

Re: [Matplotlib-users] strange behavior of images when they have an alpha channel [resend]

2011-10-21 Thread Benjamin Root
On Friday, October 21, 2011, Michael Droettboom md...@stsci.edu wrote: On 10/21/2011 09:49 AM, Daniel Hyams wrote: All sounds reasonable Mike; I do agree that patching the agg source code is not that desirable; I was operating under the (incorrect) assumption that most, if not all, backends

Re: [Matplotlib-users] extreme navigation slowness for subplots

2011-10-21 Thread Michael Droettboom
I have a simple fix for this on this branch: https://github.com/mdboom/matplotlib/tree/slow_update It's sort of the simplest thing that could work. It caches the last results of _update_ticks and only updates them if the view limits or axis position have changed. It also invalidates this

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-21 Thread Paul Ivanov
Hi Rich, On Mon, Oct 17, 2011 at 10:57 AM, Rich Shepard rshep...@appl-ecosys.com wrote:   After a long hiatus I'm again working on an application and just upgraded matplotlib from 0.98.5.2 to 0.99.1.2. Is there a particular reason you just upgraded to a version of matplotlib that is almost 2

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-21 Thread Benjamin Root
On Friday, October 21, 2011, Paul Ivanov pivanov...@gmail.com wrote: Hi Rich, On Mon, Oct 17, 2011 at 10:57 AM, Rich Shepard rshep...@appl-ecosys.com wrote: After a long hiatus I'm again working on an application and just upgraded matplotlib from 0.98.5.2 to 0.99.1.2. Is there a

Re: [Matplotlib-users] 0.99.1.2: error in afm.py

2011-10-21 Thread Benjamin Root
On Friday, October 21, 2011, Benjamin Root ben.r...@ou.edu wrote: On Friday, October 21, 2011, Paul Ivanov pivanov...@gmail.com wrote: Hi Rich, On Mon, Oct 17, 2011 at 10:57 AM, Rich Shepard rshep...@appl-ecosys.com wrote: After a long hiatus I'm again working on an application and just

[Matplotlib-users] Fwd: 0.99.1.2: error in afm.py

2011-10-21 Thread Benjamin Root
Paul, here is that email. The file name should be in the attached txt file. He is using Slackware (I forget which version). Ben Root -- Forwarded message -- From: Rich Shepard Date: Wednesday, October 19, 2011 Subject: [Matplotlib-users] 0.99.1.2: error in afm.py To: Benjamin