Re: [matplotlib-devel] Last call for 1.2.0

2012-11-08 Thread Jens Nielsen
I just noticed a small documentation issue yesterday.  This table does not
include the
gtk3 backend
http://matplotlib.org/1.2.0/faq/usage_faq.html#what-is-a-backend

Should we update the table to include the gtk3 backend? (and note that the
qt3 backend is depreciated)

Jens



On Thu, Nov 8, 2012 at 3:23 AM, Michael Droettboom  wrote:

> The milestone is clear.  Is there anything we're missing?
>
> If not, I plan to cut a final release and update the documentation
> website tomorrow morning.
>
> Mike
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Last call for 1.2.0

2012-11-08 Thread Paul Ivanov
On Wed, Nov 7, 2012 at 6:23 PM, Michael Droettboom  wrote:
> The milestone is clear.  Is there anything we're missing?
>
> If not, I plan to cut a final release and update the documentation
> website tomorrow morning.

I just submitted #1462 against v1.2.x, (which is also pending as #1458
against master).

"use plt.subplots() in examples as much as possible"

replaces a whole bunch of example code like this:

fig = plt.figure()
ax = plt.subplot(111) # or plt.add_subplot(111)

to be just this:

fig, ax = plt.subplots()

This is a docs-only update - but I think it'll be worthwhile to start
to give a more sensible way of creating figures and axes in one call
for our the folks who'll be looking at matplotlib with fresh eyes
after the 1.2 release.

But I totally understand if folks feel this is too big of a pill to
swallow this late in the game.

go, team, go!
-- 
Paul Ivanov
314 address only used for lists,  off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Last call for 1.2.0

2012-11-08 Thread Phil Elson
Just closed the PR which proposes this change against master (in favour of
the one against v1.2.x).

It is very late in the day to be making so many example changes (especially
as we don't have tests for them).
Personally, the balance between the risks vs the benefits doesn't give me
much indication of which way to go (I guess that is partly because I don't
actually prefer the plt.subplots() interface in some situations). I guess
that is a debate for inside the PR (
https://github.com/matplotlib/matplotlib/pull/1462).

Cheers,




On 8 November 2012 09:22, Paul Ivanov  wrote:

> On Wed, Nov 7, 2012 at 6:23 PM, Michael Droettboom 
> wrote:
> > The milestone is clear.  Is there anything we're missing?
> >
> > If not, I plan to cut a final release and update the documentation
> > website tomorrow morning.
>
> I just submitted #1462 against v1.2.x, (which is also pending as #1458
> against master).
>
> "use plt.subplots() in examples as much as possible"
>
> replaces a whole bunch of example code like this:
>
> fig = plt.figure()
> ax = plt.subplot(111) # or plt.add_subplot(111)
>
> to be just this:
>
> fig, ax = plt.subplots()
>
> This is a docs-only update - but I think it'll be worthwhile to start
> to give a more sensible way of creating figures and axes in one call
> for our the folks who'll be looking at matplotlib with fresh eyes
> after the 1.2 release.
>
> But I totally understand if folks feel this is too big of a pill to
> swallow this late in the game.
>
> go, team, go!
> --
> Paul Ivanov
> 314 address only used for lists,  off-list direct email at:
> http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Last call for 1.2.0

2012-11-08 Thread Michael Droettboom
While I think Paul's contribution in #1462 is great, I'd prefer to not 
put this in 1.2.0.  There just isn't enough time to review such a large 
patch this late in the game.  As our experience with Nelle's valuable 
PEP8 work shows, it's still possible to slip in accidental breakage even 
when making mostly mechanical changes.  I'm fine with it going on the 
1.2.x branch after the release, however, so it would be in 1.2.1 (if we 
do one), so there's no need to change the PR target etc. at this point 
-- I'll just add a note that we don't want it to be merged until after 
1.2.0 has been tagged.


Mike

On 11/08/2012 05:38 AM, Phil Elson wrote:
Just closed the PR which proposes this change against master (in 
favour of the one against v1.2.x).


It is very late in the day to be making so many example changes 
(especially as we don't have tests for them).
Personally, the balance between the risks vs the benefits doesn't give 
me much indication of which way to go (I guess that is partly because 
I don't actually prefer the plt.subplots() interface in some 
situations). I guess that is a debate for inside the PR 
(https://github.com/matplotlib/matplotlib/pull/1462).


Cheers,




On 8 November 2012 09:22, Paul Ivanov > wrote:


On Wed, Nov 7, 2012 at 6:23 PM, Michael Droettboom
mailto:[email protected]>> wrote:
> The milestone is clear.  Is there anything we're missing?
>
> If not, I plan to cut a final release and update the documentation
> website tomorrow morning.

I just submitted #1462 against v1.2.x, (which is also pending as #1458
against master).

"use plt.subplots() in examples as much as possible"

replaces a whole bunch of example code like this:

fig = plt.figure()
ax = plt.subplot(111) # or plt.add_subplot(111)

to be just this:

fig, ax = plt.subplots()

This is a docs-only update - but I think it'll be worthwhile to start
to give a more sensible way of creating figures and axes in one call
for our the folks who'll be looking at matplotlib with fresh eyes
after the 1.2 release.

But I totally understand if folks feel this is too big of a pill to
swallow this late in the game.

go, team, go!
--
Paul Ivanov
314 address only used for lists,  off-list direct email at:
http://pirsquared.org | GPG/PGP key id: 0x0F3E28F7


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov


___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Last call for 1.2.0

2012-11-08 Thread Michael Droettboom

See

https://github.com/matplotlib/matplotlib/pull/1463

Mike

On 11/08/2012 03:06 AM, Jens Nielsen wrote:


I just noticed a small documentation issue yesterday.  This table does 
not include the
gtk3 backend 
http://matplotlib.org/1.2.0/faq/usage_faq.html#what-is-a-backend


Should we update the table to include the gtk3 backend? (and note that 
the qt3 backend is depreciated)


Jens



On Thu, Nov 8, 2012 at 3:23 AM, Michael Droettboom > wrote:


The milestone is clear.  Is there anything we're missing?

If not, I plan to cut a final release and update the documentation
website tomorrow morning.

Mike


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov


___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] dead link on matplotlib.org page

2012-11-08 Thread Benjamin Root
There is a link to the CHANGELOG (are we even keeping that up to date
anymore?) on the main page that is dead.

Ben Root
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] dead link on matplotlib.org page

2012-11-08 Thread Benjamin Root
And I had completely missed that this was taken care of yesterday.
However, the changelog link from the what's new page is still dead.

Ben

On Thu, Nov 8, 2012 at 11:24 AM, Benjamin Root  wrote:

> There is a link to the CHANGELOG (are we even keeping that up to date
> anymore?) on the main page that is dead.
>
> Ben Root
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] dead link on matplotlib.org page

2012-11-08 Thread Phil Elson
To raise (built) documentation based problems, I have been creating issues
in https://github.com/matplotlib/matplotlib.github.com .
That seems to work well, but sadly, it always seems to be Michael that ends
up sorting it out... he is a victim of his own success (and speed) ;-)


On 8 November 2012 16:31, Benjamin Root  wrote:

> And I had completely missed that this was taken care of yesterday.
> However, the changelog link from the what's new page is still dead.
>
> Ben
>
>
> On Thu, Nov 8, 2012 at 11:24 AM, Benjamin Root  wrote:
>
>> There is a link to the CHANGELOG (are we even keeping that up to date
>> anymore?) on the main page that is dead.
>>
>> Ben Root
>>
>
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] dead link on matplotlib.org page

2012-11-08 Thread Michael Droettboom
It's actually better to create these issues against the main matplotlib 
repository since all of the bugs are fixed over there in the source.  
matplotlib.github.com only contains generated files.


Mike

On 11/08/2012 11:50 AM, Phil Elson wrote:
To raise (built) documentation based problems, I have been creating 
issues in https://github.com/matplotlib/matplotlib.github.com .
That seems to work well, but sadly, it always seems to be Michael that 
ends up sorting it out... he is a victim of his own success (and 
speed) ;-)



On 8 November 2012 16:31, Benjamin Root > wrote:


And I had completely missed that this was taken care of
yesterday.  However, the changelog link from the what's new page
is still dead.

Ben


On Thu, Nov 8, 2012 at 11:24 AM, Benjamin Root mailto:[email protected]>> wrote:

There is a link to the CHANGELOG (are we even keeping that up
to date anymore?) on the main page that is dead.

Ben Root




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]

https://lists.sourceforge.net/lists/listinfo/matplotlib-devel




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov


___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] dead link on matplotlib.org page

2012-11-08 Thread Michael Droettboom

This will be addressed when I update the docs to 1.2.0 shortly.

Mike

On 11/08/2012 11:31 AM, Benjamin Root wrote:
And I had completely missed that this was taken care of yesterday.  
However, the changelog link from the what's new page is still dead.


Ben

On Thu, Nov 8, 2012 at 11:24 AM, Benjamin Root > wrote:


There is a link to the CHANGELOG (are we even keeping that up to
date anymore?) on the main page that is dead.

Ben Root




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov


___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] 1.2.0 Final tagged and uploaded

2012-11-08 Thread Michael Droettboom
Thanks again to everyone for all of their hard work.  This release has 
been tagged and uploaded.

As per the usual drill, once we have the binaries up, I'll make an ANN 
on matplotlib-users.

The documentation is currently being rebuilt, and the default for 
matplotlib.org will update to 1.2.0 around the same time as that 
announcement.

Mike

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.2.0 Final tagged and uploaded

2012-11-08 Thread Russell E. Owen
In article <[email protected]>,
 Michael Droettboom  
 wrote:

> Thanks again to everyone for all of their hard work.  This release has 
> been tagged and uploaded.
> 
> As per the usual drill, once we have the binaries up, I'll make an ANN 
> on matplotlib-users.
> 
> The documentation is currently being rebuilt, and the default for 
> matplotlib.org will update to 1.2.0 around the same time as that 
> announcement.
> 
> Mike

Congratulations!

It looks like the binaries are all there (I uploaded the Mac binaries 
and found the Windows binaries already present).

-- Russell


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] [PATCH] gtkagg backend leaks gc's.

2012-11-08 Thread Carl Michal
Hello,

I noticed that a program I had that uses canvas.blit() to do animated graphs 
with the gtkagg backend was leaking memory.

I tracked this down to gtk gc's being allocated in agg_to_gtk_drawable with 
gdk_gc_new(), but never being destroyed.

The leak can be seen using the 'Animating selected plot elements' example 
from:

http://www.scipy.org/Cookbook/Matplotlib/Animations

(if it is modified to run forever, rather than just 50 plots and also 
changing numerix to numpy). After a few minutes, it is clear from ps that the 
memory usage is slowly but steadily climbing.

Patch below (against matplotlib-1.1.1.) fixes it.

Carl

--- _gtkagg.cpp~2012-06-30 12:37:00.0 -0700
+++ _gtkagg.cpp 2012-11-08 14:30:23.0 -0800
@@ -121,6 +121,7 @@
  destbuffer,
  deststride);

+   gdk_gc_destroy(gc);
if (needfree)
{
delete [] destbuffer;




--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.2.0 Final tagged and uploaded

2012-11-08 Thread Mark Lawrence
On 08/11/2012 17:18, Michael Droettboom wrote:
> Thanks again to everyone for all of their hard work.

Yep.  And a fantastic memorial in its own right to the late John Hunter.

>
> As per the usual drill, once we have the binaries up, I'll make an ANN
> on matplotlib-users.

IIRC matplotlib is currently third in the list of libraries most wanted 
by users waiting for Python3 compatibility.  I'd guess that many 
scientific users are aware of this wonderful milestone, but to spread 
the news at a minimum I'd put this on the main Python mailing list and 
on Python announce.  Or does that happen anyway, and I'd simply 
forgotten about it?

>
> The documentation is currently being rebuilt, and the default for
> matplotlib.org will update to 1.2.0 around the same time as that
> announcement.
>
> Mike
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
>

-- 
Cheers.

Mark Lawrence.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] Fwd: 1.2.0 Final tagged and uploaded

2012-11-08 Thread Damon McDougall
-- Forwarded message --
From: Damon McDougall 
Date: Thu, Nov 8, 2012 at 6:16 PM
Subject: Re: [matplotlib-devel] 1.2.0 Final tagged and uploaded
To: "Russell E. Owen" 


On Thu, Nov 8, 2012 at 5:52 PM, Russell E. Owen  wrote:
> In article <[email protected]>,
>  Michael Droettboom 
>  wrote:
>
>> Thanks again to everyone for all of their hard work.  This release has
>> been tagged and uploaded.
>>
>> As per the usual drill, once we have the binaries up, I'll make an ANN
>> on matplotlib-users.
>>
>> The documentation is currently being rebuilt, and the default for
>> matplotlib.org will update to 1.2.0 around the same time as that
>> announcement.
>>
>> Mike
>
> Congratulations!
>
> It looks like the binaries are all there (I uploaded the Mac binaries
> and found the Windows binaries already present).

Was waiting for your OK on this Russell. Glad to know they're building
fine. Good work.

--
Damon McDougall
http://www.damon-is-a-geek.com
Institute for Computational Engineering Sciences
201 E. 24th St.
Stop C0200
The University of Texas at Austin
Austin, TX 78712-1229

Forgot to include everybody else.

-- 
Damon McDougall
http://www.damon-is-a-geek.com
Institute for Computational Engineering Sciences
201 E. 24th St.
Stop C0200
The University of Texas at Austin
Austin, TX 78712-1229

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] 1.2.0 Final tagged and uploaded

2012-11-08 Thread Damon McDougall
On Thu, Nov 8, 2012 at 6:14 PM, Mark Lawrence  wrote:
> On 08/11/2012 17:18, Michael Droettboom wrote:
>> Thanks again to everyone for all of their hard work.
>
> Yep.  And a fantastic memorial in its own right to the late John Hunter.
>
>>
>> As per the usual drill, once we have the binaries up, I'll make an ANN
>> on matplotlib-users.
>
> IIRC matplotlib is currently third in the list of libraries most wanted
> by users waiting for Python3 compatibility.  I'd guess that many
> scientific users are aware of this wonderful milestone, but to spread
> the news at a minimum I'd put this on the main Python mailing list and

+1 for this

> on Python announce.  Or does that happen anyway, and I'd simply
> forgotten about it?
>
>>
>> The documentation is currently being rebuilt, and the default for
>> matplotlib.org will update to 1.2.0 around the same time as that
>> announcement.
>>
>> Mike
>>
>> --
>> Everyone hates slow websites. So do we.
>> Make your web apps faster with AppDynamics
>> Download AppDynamics Lite for free today:
>> http://p.sf.net/sfu/appdyn_d2d_nov
>>
>
> --
> Cheers.
>
> Mark Lawrence.
>
>
> --
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_nov
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel



-- 
Damon McDougall
http://www.damon-is-a-geek.com
Institute for Computational Engineering Sciences
201 E. 24th St.
Stop C0200
The University of Texas at Austin
Austin, TX 78712-1229

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel