Re: [matplotlib-devel] experimental MPL git mirror online

2008-12-04 Thread Michael Droettboom
Has anyone had any success installing git-svn on a managed machine 
without root priviledges?  It seems that the Perl Alien::SVN dependency 
is totally broken in that context.

Mike

Andrew Straw wrote:
> I just put my git mirror of the matplotlib svn repository online. This
> is experimental in nature. Thanks to github for hosting this project.
> Anyhow, I added instructions for how to use this (including to interact
> with the central svn repository) here:
>
> http://github.com/astraw/matplotlib/tree/master/README.git
>
> Note that the initial downloads are about 150 MB in size.
>
> I have not actually used git in collaboration with others save through
> the svn interface, so I don't have experience with some aspects of git,
> particularly collaborating branching/merging/pushing etc. For
> single-user use, however, I've been finding all that stuff very nice.
> One thing particularly useful is the ability to clean up history before
> committing changes to a central subversion repository.
>
> Anyhow, thanks to Ondrej for the critical clue for how to make this work.
>
> -Andrew
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] experimental MPL git mirror online

2008-12-04 Thread John Hunter
On Wed, Dec 3, 2008 at 8:12 PM, Andrew Straw <[EMAIL PROTECTED]> wrote:
> I just put my git mirror of the matplotlib svn repository online. This
> is experimental in nature. Thanks to github for hosting this project.
> Anyhow, I added instructions for how to use this (including to interact
> with the central svn repository) here:
>
> http://github.com/astraw/matplotlib/tree/master/README.git
>
> Note that the initial downloads are about 150 MB in size.


Just got an account, but am getting a permission denied on the first
command.  I tried both with the "git" and "jdh2358" users:

home:~> git clone [EMAIL PROTECTED]:astraw/matplotlib.git mpl.git
Initialized empty Git repository in /Users/jdhunter/mpl.git/.git/
ERROR: Permission to astraw/matplotlib denied to jdh2358.
fatal: The remote end hung up unexpectedly
home:~> git clone [EMAIL PROTECTED]:astraw/matplotlib.git mpl.git
Initialized empty Git repository in /Users/jdhunter/mpl.git/.git/
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

JDH

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] experimental MPL git mirror online

2008-12-04 Thread Andrew Straw
Hi John,

Michael just wrote me that he got the same error. I think that perhaps I
need to assign write permissions even to read using the "personal" URL.
For now, can you try the public clone URL
git://github.com/astraw/matplotlib.git instead? I will attempt to sort
this out... (And of course give you and Michael and anyone else write
permissions if need be.) I'm new to git in a multi-developer context and
 git-svn may add another layer here, so please bear with me.

-Andrew

John Hunter wrote:
> On Wed, Dec 3, 2008 at 8:12 PM, Andrew Straw <[EMAIL PROTECTED]> wrote:
>> I just put my git mirror of the matplotlib svn repository online. This
>> is experimental in nature. Thanks to github for hosting this project.
>> Anyhow, I added instructions for how to use this (including to interact
>> with the central svn repository) here:
>>
>> http://github.com/astraw/matplotlib/tree/master/README.git
>>
>> Note that the initial downloads are about 150 MB in size.
> 
> 
> Just got an account, but am getting a permission denied on the first
> command.  I tried both with the "git" and "jdh2358" users:
> 
> home:~> git clone [EMAIL PROTECTED]:astraw/matplotlib.git mpl.git
> Initialized empty Git repository in /Users/jdhunter/mpl.git/.git/
> ERROR: Permission to astraw/matplotlib denied to jdh2358.
> fatal: The remote end hung up unexpectedly
> home:~> git clone [EMAIL PROTECTED]:astraw/matplotlib.git mpl.git
> Initialized empty Git repository in /Users/jdhunter/mpl.git/.git/
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly
> 
> JDH


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release? no, this time really I mean it

2008-12-04 Thread Charlie Moad
Works for me.  Let's aim for Saturday night so we have Sunday to test
it out.  Doable?

- Charlie

On Wed, Dec 3, 2008 at 9:29 PM, John Hunter <[EMAIL PROTECTED]> wrote:
> Despite my occasional recent murmurings to get a release out, which
> fall by the wayside as more pressing matters arise, I really would
> like to do a 0.98.4 ASAP.   Part of the reason is that there are lots
> of great features and bug fixes that should be more easily accessible
> to others (in particular Jae-Joon's fantastic work), part of the
> reason is that the website gallery is getting farther apart from the
> last released version, and part of the reason is that I am giving a
> talk on Dec 12th to the NIPS "machine learning and open source
> software" (MLOSS) conference.
>
>  http://mloss.org/software/
>
> John Eaton, of Octave fame, is the other invited speaker to this
> session, and I want to put our best face forward.
>
> I would like to do the release this weekend if Charlie has time
> (Charlie?).  So please get your bugfixes and cleanups in over the next
> couple of days, and let me know if there are any other critical
> show-stopper problems or critical bugs that should hold up the
> release.
>
> And if you have any extra time to spend taking out a few bugs on the
> tracker over the next couple of days, that would be great.
>
> JDH
>
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> Matplotlib-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] release? no, this time really I mean it

2008-12-04 Thread John Hunter
On Thu, Dec 4, 2008 at 12:38 PM, Charlie Moad <[EMAIL PROTECTED]> wrote:
> Works for me.  Let's aim for Saturday night so we have Sunday to test
> it out.  Doable?

Great -- everyone please hold off adding any significant features
before the release and focus any mpl time you have on outstanding
bugs.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] experimental MPL git mirror online

2008-12-04 Thread Andrew Straw
I updated the documentation to hopefully address the issue that John
(and Michael) had. I also moved the git documentation to a section in
doc/faq/installing_faq.rst.

And I noticed that github does automatic parsing of rst files. Check
this out -- Sweet! :)
http://github.com/astraw/matplotlib/tree/master/doc/faq/installing_faq.rst#install-from-git

Note that there is a section called "A note about git write access"
which outlines an issue we may want to address, but probably only after
some familiarity with the issues involved. For now, for me, even a
one-way sync of the svn repo is a huge win for looking at history
locally and doing "git bisect". (And "one-way sync" doesn't give justice
to the ease of committing to the svn repository from git.)

-Andrew


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] Installing git and git-svn from source

2008-12-04 Thread Michael Droettboom
Getting git-svn installed without root privileges is truly epic, given 
there are virtually no installation instructions for it, and its 
homepage seems to be down.  This doesn't bode well for git-svn adoption 
in managed environments like mine where users don't have root.  In 
fairness, the hard bit is Subversion and its perl bindings, but those do 
need to be current, and the commonly available advice to install 
Alien::SVN using cpan is totally broken for non-root installs.  I hope 
that the git-svn guys can simplify this down the road...

So, I thought I'd share my solution here to save others the trouble...

###Don't use cpan to install Alien::SVN -- it should have made this 
whole thing really easy, but it has a number of known bugs when 
installing without root.###

Here's what worked for me.  I have a folder ~/usr for my usual 
user-local installs, that's already been set up with the usual 
environment variables in my .bashrc:

   export PATH=~/usr/bin:$PATH
   export LD_LIBRARY_PATH=~/usr/lib:$LD_LIBRARY_PATH
   export PKG_CONFIG_PATH=~/usr/lib/pkgconfig:$PKG_CONFIG_PATH

1) Download and install openssl from www.openssl.org/source

   tar zvxf openssl-0.9.8i.tar.gz
   cd openssl-0.9.8i
   ./configure --prefix=/home/mdroe/usr
   make -j
   make install

2) Download subversion tarball

   cd ..
   tar jxvf subversion-1.5.4.tar.bz2
   cd subversion-1.5.4

3) Download neon inside the subversion source tree, and configure

wget http://www.webdav.org/neon/neon-0.27.2.tar.gz
tar zvxf neon-0.27.2.tar.gz
mv neon-0.27.2 neon
cd neon
./configure --prefix=/home/mdroe/usr --without-gssapi --with-ssl=openssl

4) Get apr and apr-util, and configure

svn co http://svn.apache.org/repos/asf/apr/apr/branches/0.9.x apr
cd apr
./buildconf
cd ..
svn co http://svn.apache.org/repos/asf/apr/apr-util/branches/0.9.x 
apr-util
cd apr-util
./buildconf
cd ..

5) Build subversion

./autogen.sh
./configure --prefix=/home/mdroe/usr --with-ssl --enable-shared
make -j
make install

6) Build perl bindings

make swig-pl
make swig-pl-lib
make install-swig-pl-lib
cd subversion/bindings/swig/perl/native
perl Makefile.PL PREFIX=/home/mdroe/usr
make install
cd ../../../../../..

7) Download, build and install git

   tar zvxf get-1.6.0.tar.gz
   cd git-1.6.0
   ./configure --prefix=/home/mdroe/usr
   make install


... follow Andrew Straw's git instructions ... (???) ... profit!!!

Mike

   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] pyplot.fill() and masked arrays

2008-12-04 Thread Ryan May
Hi,

Is there any reason pyplot.fill() doesn't support masked arrays?  Or was it 
just 
overlooked?

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] pyplot.fill() and masked arrays

2008-12-04 Thread Eric Firing
Ryan May wrote:
> Hi,
> 
> Is there any reason pyplot.fill() doesn't support masked arrays?  Or was it 
> just 
> overlooked?
> 

I think the reason is that it is not obvious what any filled region with 
masked vertices should look like.

Eric

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] pyplot.fill() and masked arrays

2008-12-04 Thread Ryan May
Ryan May wrote:
> Hi,
> 
> Is there any reason pyplot.fill() doesn't support masked arrays?  Or was 
> it just overlooked?

Looks like this is better handled by fill_between, nevermind.

Now, what about dates?  I'm having problems using dates for the x-axis for 
fill_between.  I know I can use date2num on my array, but I was wonder if there 
was some magic I could add to the fill_between code.

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] pyplot.fill() and masked arrays

2008-12-04 Thread Eric Firing
Ryan May wrote:
> Ryan May wrote:
>> Hi,
>>
>> Is there any reason pyplot.fill() doesn't support masked arrays?  Or was 
>> it just overlooked?
> 
> Looks like this is better handled by fill_between, nevermind.
> 
> Now, what about dates?  I'm having problems using dates for the x-axis for 
> fill_between.  I know I can use date2num on my array, but I was wonder if 
> there 
> was some magic I could add to the fill_between code.

Magic is the operative word.  It is sprinkled like pixie dust throughout 
mpl.  You may be able to figure it out by looking at the code for other 
functions that do support units.  You could look for recent commits by 
Ted Drain, if I remember correctly, and by John, both of whom fill gaps 
in units handling every now and then.

For example, note this line at the top of scatter:

 self._process_unit_info(xdata=x, ydata=y, kwargs=kwargs)


Eric

> 
> Ryan
> 


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] reimplemented legend class

2008-12-04 Thread Jae-Joon Lee
John,

I just committed changes to SVN that reflect most of your comments.
I didn't add the optional transformation support yet though.


On Tue, Dec 2, 2008 at 7:45 AM, John Hunter <[EMAIL PROTECTED]> wrote:
> On Mon, Dec 1, 2008 at 6:00 PM, Jae-Joon Lee <[EMAIL PROTECTED]> wrote:
>
>> As implementing an optional transformation should be trivial, I'll
>> just go ahead an work on it. But it seems not clear to me how to
>> approach this without any specific use case given.
>
> In another thread yesterday, someone was asking about a general way to
> create a shadow effect.  It occurred to me that we could probably use
> the offsetbox for this.  One could create an offset box for a given
> artist that draws the artist offset from the original by 5 points or 5
> pixels, in a gray color that creates the appearance of a shadow.
> Would this be a reasonable use case to test the offset transformation
> in either points or pixels?
>
> JDH
>

I kind of prefer to use transforms.offset_copy() for simple offsets.
But it may better to use some kind of container (e.g., offsetbox) if
you have multiple artists.
I'll think about it.

Regards,

-JJ

--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
Matplotlib-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel