Re: [matplotlib-devel] Comparing pdf output in tests

2009-10-04 Thread Jouni K . Seppänen
Andrew Straw  writes:

> This test function is a generator that nose will then generate two test
> cases out of. So, perhaps the image_comparison decorator could be
> changed to become a generator? I'm not 100% sure it will work, but I
> don't see why it won't. If it does work, I think this is a good idea.

It seems to have worked. The build slave with gs shows 65 tests with 2
known failures, and the one without gs shows 30 known failures:

http://mpl-buildbot.code.astraw.com/builders/Ubuntu%208.04%2C%20Python%202.5%2C%20amd64/builds/167/steps/test/logs/stdio
http://mpl-buildbot.code.astraw.com/builders/Ubuntu%208.04%2C%20Python%202.5%2C%20amd64%2C%20no%20dvipng%2C%20no%20latex/builds/91/steps/test/logs/stdio

-- 
Jouni K. Seppänen
http://www.iki.fi/jks


--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] [PATCH] experimental numscons support in matplotlib

2009-10-04 Thread Andrew Straw
Andrew Straw wrote:
> David Cournapeau wrote:
>   
>> I have a question about git as well, actually - I could not update the
>> svn metadata, unfortunately, by using git-svn rebase -l (I used your
>> branch on github and the instructions on matplotlib website). It gives
>> me an awful lot of merging errors, which seems to indicate that git-svn
>> is confused about the current state,
>> 
> I have trouble with that too. :(
>
> Do you have notes on how you setup the numpy git repo? I was never able
> to figure out the way to make a good git clone that could be shared with
> others.
OK, I think I fixed the git mirror. The good news is that things should
work just like your scipy svn git mirror. The bad news is that I moved
the master branch to "old-master-broken-svn-import", so you'll probably
have to rebase all your changes. The new git branch to base off is
"trunk", which is a mirror of the svn trunk. MPL's svn layout doesn't
follow the standard svn repository, so I haven't mirrored other branches
(yet). I'll update the MPL dev docs soon.

Please let me know if you're having any more trouble.

-Andrew

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] imshow remove

2009-10-04 Thread Jae-Joon Lee
Thank you for reporting.
I guess this was a simple oversight.
This should be fixed in the maint. branch and the trunk.

Meanwhile, you may manually set the remove method.

im = ax.imshow(...)
im._remove_method = lambda a: ax.images.remove(a)

Regards,

-JJ


On Thu, Oct 1, 2009 at 3:56 AM, Martin Teichmann
 wrote:
> Hello List,
>
> Normally, something added to axes in
> a plot can later be removed by
> saying element.remove(). All but
> images, for example plotted with imshow,
> since they lack a _remove_method.
>
> Is that a bug or a feature?
>
> Greetings
>
> Martin Teichmann
>
> --
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] [PATCH] experimental numscons support in matplotlib

2009-10-04 Thread David Cournapeau
Andrew Straw wrote:
> Andrew Straw wrote:
>   
>> David Cournapeau wrote:
>>   
>> 
>>> I have a question about git as well, actually - I could not update the
>>> svn metadata, unfortunately, by using git-svn rebase -l (I used your
>>> branch on github and the instructions on matplotlib website). It gives
>>> me an awful lot of merging errors, which seems to indicate that git-svn
>>> is confused about the current state,
>>> 
>>>   
>> I have trouble with that too. :(
>>
>> Do you have notes on how you setup the numpy git repo? I was never able
>> to figure out the way to make a good git clone that could be shared with
>> others.
>> 
> OK, I think I fixed the git mirror. The good news is that things should
> work just like your scipy svn git mirror. The bad news is that I moved
> the master branch to "old-master-broken-svn-import", so you'll probably
> have to rebase all your changes. The new git branch to base off is
> "trunk", which is a mirror of the svn trunk. MPL's svn layout doesn't
> follow the standard svn repository, so I haven't mirrored other branches
> (yet). I'll update the MPL dev docs soon.
>   

FWIW, I have tried importing the whole svn repo, and the repo got might
big (~700 Mb) - I guess because of all the things in trunk but not in
trunk/matplotlib.

> Great
> Please let me know if you're having any more trouble.
>   

I have deleted my old repo and redid a fork on github - I have not tried
rebasing on top of svn changes, but I updated the scons_build branch anyway.

cheers,

David

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] [PATCH] experimental numscons support in matplotlib

2009-10-04 Thread Andrew Straw
David Cournapeau wrote:
> Andrew Straw wrote:
>   
>> Andrew Straw wrote:
>>   
>> 
>>> David Cournapeau wrote:
>>>   
>>> 
>>>   
 I have a question about git as well, actually - I could not update the
 svn metadata, unfortunately, by using git-svn rebase -l (I used your
 branch on github and the instructions on matplotlib website). It gives
 me an awful lot of merging errors, which seems to indicate that git-svn
 is confused about the current state,
 
   
 
>>> I have trouble with that too. :(
>>>
>>> Do you have notes on how you setup the numpy git repo? I was never able
>>> to figure out the way to make a good git clone that could be shared with
>>> others.
>>> 
>>>   
>> OK, I think I fixed the git mirror. The good news is that things should
>> work just like your scipy svn git mirror. The bad news is that I moved
>> the master branch to "old-master-broken-svn-import", so you'll probably
>> have to rebase all your changes. The new git branch to base off is
>> "trunk", which is a mirror of the svn trunk. MPL's svn layout doesn't
>> follow the standard svn repository, so I haven't mirrored other branches
>> (yet). I'll update the MPL dev docs soon.
>>   
>> 
>
> FWIW, I have tried importing the whole svn repo, and the repo got might
> big (~700 Mb) - I guess because of all the things in trunk but not in
> trunk/matplotlib.
>   
OK, I'm rebuilding a repo with the branches and tags myself as we speak.
It's been going over 2 hours on a local rsync on a screaming fast
computer. If this does import reasonably, would it be a real pain for
you to rebase again? (I'm still not sure it will be a reasonable idea --
I'll have to look at the size of the git repo, I think.)
>   
>> Great
>> Please let me know if you're having any more trouble.
>>   
>> 
>
> I have deleted my old repo and redid a fork on github - I have not tried
> rebasing on top of svn changes, but I updated the scons_build branch anyway.
>   
OK. Actually, the trigger that started all my git work is that something
broke with the old import anyway. Git thought one of the more recent svn
commits was parented to a commit months ago, so everything was broken
anyway. The new import is much better -- for the first time I managed to
be able to share the svn meta data across git clones.

-Andrew

--
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel