Re: [matplotlib-devel] Native backend for Mac OS X

2008-12-19 Thread Michiel de Hoon
> This looks great -- in particular I am intrigued by the > final timing results which show your backend 12 times > faster than tkagg. I am not sure where this speedup is > coming from -- do you have some ideas? In this example, I am drawing 16 subplots in a 4x4 grid. With Tkagg, I am noticing t

Re: [matplotlib-devel] 98.5.2 tarball and OS X binaries up

2008-12-19 Thread John Hunter
On Fri, Dec 19, 2008 at 1:49 AM, Michiel de Hoon wrote: > It appears that the 98.5.2 tarball is missing one file for the native Mac OS > X backend: src/_macosx.m is missing. The other file > (lib/matplotlib/backends/backend_macosx.py) is present. Yep, I forgot to modify the MNIFEST.in to includ

Re: [matplotlib-devel] Native backend for Mac OS X

2008-12-19 Thread John Hunter
On Fri, Dec 19, 2008 at 2:20 AM, Michiel de Hoon wrote: >> This looks great -- in particular I am intrigued by the >> final timing results which show your backend 12 times >> faster than tkagg. I am not sure where this speedup is >> coming from -- do you have some ideas? > > In this example, I am

Re: [matplotlib-devel] Native backend for Mac OS X

2008-12-19 Thread Paul Kienzle
On Dec 19, 2008, at 7:52 AM, John Hunter wrote: > Could you post the script you are using to do the profiling? The call > to subplot/plot/bar should not trigger a draw, unless "interactive" is > set to True > > http://matplotlib.sourceforge.net/users/shell.html > > Interactive is not the best

Re: [matplotlib-devel] [Matplotlib-users] histogram(x, bin): x-axis range should be based on bin.min() and bin.max() when bin is a sequence

2008-12-19 Thread Sandro Tosi
On Fri, Dec 19, 2008 at 18:47, Ondrej Certik wrote: > On Fri, Dec 19, 2008 at 6:34 PM, Sandro Tosi wrote: >> This is fixed in the latest release (0.98.4 or in 0.98.5); I'm working >> on uploading it Debian, together with John and Michael (and all dev >> team), to have a feasable release. > > Ah,

Re: [matplotlib-devel] [Matplotlib-users] histogram(x, bin): x-axis range should be based on bin.min() and bin.max() when bin is a sequence

2008-12-19 Thread Ondrej Certik
On Fri, Dec 19, 2008 at 6:50 PM, Sandro Tosi wrote: > On Fri, Dec 19, 2008 at 18:47, Ondrej Certik wrote: >> On Fri, Dec 19, 2008 at 6:34 PM, Sandro Tosi wrote: >>> This is fixed in the latest release (0.98.4 or in 0.98.5); I'm working >>> on uploading it Debian, together with John and Michael (

Re: [matplotlib-devel] calculate axes position at drawing time

2008-12-19 Thread Jae-Joon Lee
As there was no explicit objection, I just submit this to the trunk. The change in Axes class is rather minor, and I hope others don't mind. I added two examples. The examples are rather lengthy, because they are actually helper classes that I have been playing with (and it is not well documented).