Re: [matplotlib-devel] git migration this weekend

2011-01-30 Thread Darren Dale
On Thu, Jan 27, 2011 at 9:34 PM, Darren Dale  wrote:
> Hi Folks,
>
> I'm planning on freezing the sourceforge svn repository Friday evening
> at 8:00 (NY time), and moving the git repository to its new home on
> Saturday morning.
>
> If you have concerns, please speak up.

John discovered a problem with some very early project history that
was lost several years ago during the CVS to Subversion migration. We
have an opportunity to recover it during the git migration. However,
do to a recent attack, Sourceforge has taken their CVS service down,
and based on the latest information at http://sourceforge.net/blog/ ,
they do not expect it to be back before late this week. I do not think
I will available to work on the migration this upcoming weekend, Feb
4-6. So it will probably be February 7 or 8 before I have a chance to
try to recover the old history, convert the repos to git, and post
them to github.

Darren

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] some issues with legend

2011-01-30 Thread Peter Butterworth
When plotting interactively is it actually possible to update the
legend with the current plots while retaining the previous legend
settings (position, visibility, etc.) ?

here are some observations on the mpl legend operation:
leg = ax.get_legend()   #0 OK. but the recommended way to update a
legend seems to be using #1 ?
leg = ax.legend()   #1 OK
leg.draggable(True) #3 enables the legend to be moved with mouse.
New in mpl1.0.1. OK
leg.set_visible(False)  #4 hides legend. OK
ax.legend(loc=3)#2 defines a legend location. OK but why no
locations outside the plotting area ?
ax.legend(ax.lines) #5 labels are different by default from #1. ??
ax.legend([])   #6 draws an empty square. ??
leg._loc:   #7 allows you to know the legend location. in
#2 value is int, in #3 value is a tuple (if the legend has been moved)
OK but why is the attribute private ?

What to exclude from a legend :
Objects without  an explicit label (labels starting with _) #8. OK
Objects that are not in the viewing area   #9.  should be default
behavior ??
Objects that are not set visible   #10. should be default
behavior ??

-- 
thanks,
peter butterworth

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


[matplotlib-devel] [ANN] FEMTEC: Trac on open source scientific software

2011-01-30 Thread Gael Varoquaux
Hi list,

This is just a note that an extra track at FEMTEC, a conference for
computational methods in engineering and science, is open for open source
scientific software. The organisers have a taste for Python, so if you
want to submit a paper on numerical methods with Python, this is an
excellent venue. Abstract submission is open till end of February. To
submit you need to create an account and edit you profile.

Gael



The 3rd International Conference on Finite Element Methods in Engineering
and Science (FEMTEC 2011, http://hpfem.org/events/femtec-2011/) will have
a track on Open-source projects and Python in scientific computing. 

FEMTEC 2011 is co-organized by the University of Nevada (Reno), Desert
Reseach Institute (Reno), Idaho National Laboratory (Idaho Falls, Idaho),
and U.S. Army Engineer Research and Development Center (Vicksburg,
Mississippi). The objective of the meeting is to strengthen the
interaction between researchers who develop new computational methods,
and scientists and engineers from various fields who employ numerical
methods in their research. Specific focus areas of FEMTEC 2011 include,
but are not limited to, the following: 

*   Computational methods in hydrology, atmospheric
  modeling, and other earth sciences.
* Computational methods in nuclear, mechanical,
  civil, electrical, and other engineering fields.
* Mesh generation and scientific visualization.
* Open-source projects and Python in scientific computing.

Part of the conference will be a software afternoon featuring open source
projects of participants.

Proceedings

Proceedings of FEMTEC 2011 will appear as a special issue of Journal of
Computational and Applied Mathematics (2008 SCI impact factor 1.292), and
additional high-impact international journals as needed.



--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] some issues with legend

2011-01-30 Thread Jae-Joon Lee
On Sun, Jan 30, 2011 at 10:32 PM, Peter Butterworth  wrote:
> When plotting interactively is it actually possible to update the
> legend with the current plots while retaining the previous legend
> settings (position, visibility, etc.) ?
>

I think it is possible, but will be quite difficult to do for a normal
user. I may try to add some method that can ease this.

> here are some observations on the mpl legend operation:
> leg = ax.get_legend()   #0 OK. but the recommended way to update a
> legend seems to be using #1 ?
> leg = ax.legend()       #1 OK
> leg.draggable(True)     #3 enables the legend to be moved with mouse.
> New in mpl1.0.1. OK
> leg.set_visible(False)  #4 hides legend. OK
> ax.legend(loc=3)        #2 defines a legend location. OK but why no
> locations outside the plotting area ?

Legend can be located outside the plotting area, anywhere you want.

http://matplotlib.sourceforge.net/users/legend_guide.html#legend-location

> ax.legend(ax.lines)     #5 labels are different by default from #1. ??

http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.legend

If there is a single non-keyword argument, it is treated as a list of labels.

> ax.legend([])           #6 draws an empty square. ??

To me, the current behavior seems reasonable. What do you expect?

> leg._loc:               #7 allows you to know the legend location. in
> #2 value is int, in #3 value is a tuple (if the legend has been moved)
> OK but why is the attribute private ?
>

I guess this is a valid point. I'll add a public interface to access this value.

> What to exclude from a legend :
> Objects without  an explicit label (labels starting with _) #8. OK
> Objects that are not in the viewing area       #9.  should be default
> behavior ??
> Objects that are not set visible               #10. should be default
> behavior ??

For #9, I don't think there is an exact algorithm to check if a path
is inside the viewing are or not  when cubic splines are involved. If
there is (and that algorithm is feasible), we may consider making that
a default behavior. Otherwise,  I'm not inclined to include a partial
solution.

For #10, I'll make it a default behavior if there is no objection.

Regards,

-JJ


>
> --
> thanks,
> peter butterworth
>
> --
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better price-free!
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> http://p.sf.net/sfu/arcsight-sfd2d
> ___
> Matplotlib-devel mailing list
> Matplotlib-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Bug in Sphinx plotdirective on Windows

2011-01-30 Thread Benjamin Root
On Sunday, January 30, 2011, Ian Bell  wrote:
> I have built the sphinx sampledoc tutorial without problems on Ubuntu and 
> OSX, but I'm having problems on Windows.  I have filed a bug regarding the 
> problems I am having with the plot directive.  For some reason the hyperlinks 
> to the PDF and  get messed up on windows, but are fine on OSX and Ubuntu.  I 
> have to run a virtual machine just to compile my documentation.  Needless to 
> say, not optimal.  I attached a screenshot with the messed up links, and I 
> have posted the build errors I get that I think are related to the problems 
> with the plot directive.  I have the same problem in my own documentation 
> that I am building on my own plotting module based on MPL.
>
>
> D:\My_Documents\sampledoc_tut2\extensions.rst:: (ERROR/3) Anonymous hyperlink 
> mismatch: 5 references but 0 targets.See "backrefs" attribute for IDs.
>
> process_begin: CreateProcess(NULL, echo, ...) failed.
> make (e=2): The system cannot find the file specified.make: *** [html] Error 2
>
> 
> Ian Bell
> Graduate Research Assistant
> Herrick Labs
> Purdue University
> email: ib...@purdue.edu
> cell: (607)227-7626
>
>

Curious, there are forward slashes in those links.  Which version of
mpl are you building documentation for?

Ben Root

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Bug in Sphinx plotdirective on Windows

2011-01-30 Thread Ian Bell
Ben,

I'm building with the freshest subversion build of MPL with Sphinx 1.0.7 and
Windows XP.  I'd be happy to give you any other information that you need,
just let me know.

Ian


Ian Bell
Graduate Research Assistant
Herrick Labs
Purdue University
email: ib...@purdue.edu
cell: (607)227-7626


On Sun, Jan 30, 2011 at 11:34 PM, Benjamin Root  wrote:

> On Sunday, January 30, 2011, Ian Bell  wrote:
> > I have built the sphinx sampledoc tutorial without problems on Ubuntu and
> OSX, but I'm having problems on Windows.  I have filed a bug regarding the
> problems I am having with the plot directive.  For some reason the
> hyperlinks to the PDF and  get messed up on windows, but are fine on OSX and
> Ubuntu.  I have to run a virtual machine just to compile my documentation.
>  Needless to say, not optimal.  I attached a screenshot with the messed up
> links, and I have posted the build errors I get that I think are related to
> the problems with the plot directive.  I have the same problem in my own
> documentation that I am building on my own plotting module based on MPL.
> >
> >
> > D:\My_Documents\sampledoc_tut2\extensions.rst:: (ERROR/3) Anonymous
> hyperlink mismatch: 5 references but 0 targets.See "backrefs" attribute for
> IDs.
> >
> > process_begin: CreateProcess(NULL, echo, ...) failed.
> > make (e=2): The system cannot find the file specified.make: *** [html]
> Error 2
> >
> > 
> > Ian Bell
> > Graduate Research Assistant
> > Herrick Labs
> > Purdue University
> > email: ib...@purdue.edu
> > cell: (607)227-7626
> >
> >
>
> Curious, there are forward slashes in those links.  Which version of
> mpl are you building documentation for?
>
> Ben Root
>
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Bug in Sphinx plotdirective on Windows

2011-01-30 Thread Benjamin Root
On Sunday, January 30, 2011, Ian Bell  wrote:
> Ben,
> I'm building with the freshest subversion build of MPL with Sphinx 1.0.7 and 
> Windows XP.  I'd be happy to give you any other information that you need, 
> just let me know.
>
>
> Ian
> Ian Bell
> Graduate Research Assistant
> Herrick Labs
> Purdue University
> email: ib...@purdue.edu
> cell: (607)227-7626
>

>From which branch?  The development branch or the maintenance branch?
If you aren't sure, just paste the results of 'svn info' (or whatever
equivalent in your windows svn client).

Ben Root

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel


Re: [matplotlib-devel] Bug in Sphinx plotdirective on Windows

2011-01-30 Thread Ian Bell
Ben,

Its the main trunk, svn info is below:

Path: .
URL:
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
Repository Root: https://matplotlib.svn.sourceforge.net/svnroot/matplotlib
Repository UUID: f61c4167-ca0d-0410-bb4a-bb21726e55ed
Revision: 8935
Node Kind: directory
Schedule: normal
Last Changed Author: pivanov314
Last Changed Rev: 8935
Last Changed Date: 2011-01-24 04:41:49 -0500 (Mon, 24 Jan 2011)

Ian


Ian Bell
Graduate Research Assistant
Herrick Labs
Purdue University
email: ib...@purdue.edu
cell: (607)227-7626


On Mon, Jan 31, 2011 at 1:36 AM, Benjamin Root  wrote:

> On Sunday, January 30, 2011, Ian Bell  wrote:
> > Ben,
> > I'm building with the freshest subversion build of MPL with Sphinx 1.0.7
> and Windows XP.  I'd be happy to give you any other information that you
> need, just let me know.
> >
> >
> > Ian
> > Ian Bell
> > Graduate Research Assistant
> > Herrick Labs
> > Purdue University
> > email: ib...@purdue.edu
> > cell: (607)227-7626
> >
>
> From which branch?  The development branch or the maintenance branch?
> If you aren't sure, just paste the results of 'svn info' (or whatever
> equivalent in your windows svn client).
>
> Ben Root
>
--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d___
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel