Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread David M. Kaplan
Hi all, Thanks for the comments. My sourceforge ID is dmkaplan. Please add me as a developer. I will commit to the trunk and try to not break things, but I am VERY new to python and it is a possibility. If things don't work out, we can always fall back to creating a branch, though I admit that

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-17 Thread Sandro Tosi
Hi All, I'd like to "resubmit" the request below: any new version to be released soon? in the process to generate the doc in Debian, something got fixed upstream, so a new release would be really helpful to have 0.98.2+ in Debian (current 0.98.2 can't be uploaded due to a file with strange chars in

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 7:48 AM, Sandro Tosi <[EMAIL PROTECTED]> wrote: > Hi All, > I'd like to "resubmit" the request below: any new version to be > released soon? in the process to generate the doc in Debian, something > got fixed upstream, so a new release would be really helpful to have > 0.98.

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread David M. Kaplan
Hi, Attached is a new version of the patch that includes ginput, waitforbuttonpress and clabel changes. It is already quite functional, but there are a couple of issues that need improving that I would like to solicit comments on. I explain below after detailing what I have done. I decided to u

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 2:46 AM, David M. Kaplan <[EMAIL PROTECTED]> wrote: > Thanks for the comments. My sourceforge ID is dmkaplan. Please add me Hi David -- I've added you as a developer so you should be able to commit now. The developer's guide is here: http://matplotlib.sourceforge.net

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread Darren Dale
On Thursday 17 July 2008 10:59:23 am John Hunter wrote: > On Thu, Jul 17, 2008 at 2:46 AM, David M. Kaplan <[EMAIL PROTECTED]> wrote: > > Thanks for the comments. My sourceforge ID is dmkaplan. Please add me > > Hi David -- I've added you as a developer so you should be able to > commit now. The

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread David M. Kaplan
Hi, On Thu, 2008-07-17 at 07:47 -0700, [EMAIL PROTECTED] wrote: > Just because the discussion about clabel started, I want to post a > short > snipplet of code that I found useful. It was some sort of hack to get > a > nicer float formating for contours: contour lines represented > confidence

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread Gael Varoquaux
On Thu, Jul 17, 2008 at 04:41:36PM +0200, David M. Kaplan wrote: > Attached is a new version of the patch that includes ginput, > waitforbuttonpress and clabel changes. It is already quite functional, > but there are a couple of issues that need improving that I would like > to solicit comments on

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread Paul Kienzle
On Thu, Jul 17, 2008 at 08:50:03AM +0200, Manuel Metz wrote: > Just because the discussion about clabel started, I want to post a short > snipplet of code that I found useful. It was some sort of hack to get a > nicer float formating for contours: contour lines represented confidence > levels of

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread Manuel Metz
Paul Kienzle wrote: > On Thu, Jul 17, 2008 at 08:50:03AM +0200, Manuel Metz wrote: >> Just because the discussion about clabel started, I want to post a short >> snipplet of code that I found useful. It was some sort of hack to get a >> nicer float formating for contours: contour lines represente

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread Paul Kienzle
On Thu, Jul 17, 2008 at 09:46:16AM +0200, David M. Kaplan wrote: > I don't think the blocking code will be that hard to maintain. It > basically just depends on events, callback functions and time.sleep. If > those are cross-platform, then it shouldn't be a problem. But only time > will tell. M

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread David Kaplan
Hi, This sounds like a great idea. My trunk version of matplotlib does not have these changes. I presume you would like me to commit them? If so, let me know and it would be great if you could give your code a test using the wx backend afterward. Cheers, David On Thu, 2008-07-17 at 12:13 -0

[matplotlib-devel] quadmesh bug

2008-07-17 Thread John Hunter
Anyone have any idea what changes may be causing this new bug in quadmesh on non agg backends? [EMAIL PROTECTED]:mpl> python examples/pylab_examples/quadmesh_demo.py -dPS Traceback (most recent call last): File "examples/pylab_examples/quadmesh_demo.py", line 47, in savefig("quadmesh_demo")

[matplotlib-devel] Search functionality in Sphinx docs

2008-07-17 Thread Michael Droettboom
I'm preparing for my Scipy talk about our Sphinx docs, and I seem to be having trouble with the search functionality. The links that searching generates do not have an .html extension, so they don't actually work. For example this: file:///home/mdroe/builds/matplotlib/doc/build/html/users

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-17 Thread Andrew Straw
John Hunter wrote: > On Thu, Jul 17, 2008 at 7:48 AM, Sandro Tosi <[EMAIL PROTECTED]> wrote: > >> Hi All, >> I'd like to "resubmit" the request below: any new version to be >> released soon? in the process to generate the doc in Debian, something >> got fixed upstream, so a new release would be

Re: [matplotlib-devel] quadmesh bug

2008-07-17 Thread Michael Droettboom
Sorry. That's my bad. I accidentally committed some testing code for log-scaled quad meshes (which works for Agg, but not for other backends). I'll revert the example, and see what's breaking. Cheers, Mike John Hunter wrote: > Anyone have any idea what changes may be causing this new bug in

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-17 Thread Michael Droettboom
I'm looking into it. Cheers, Mike Andrew Straw wrote: > John Hunter wrote: > >> On Thu, Jul 17, 2008 at 7:48 AM, Sandro Tosi <[EMAIL PROTECTED]> wrote: >> >> >>> Hi All, >>> I'd like to "resubmit" the request below: any new version to be >>> released soon? in the process to generate th

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-17 Thread Michael Droettboom
Should be fixed in r5775. It seems Agg doesn't like MOVETO commands and the end of a path. Since the update is in a C++ header file, you will need to force a full rebuild (by removing your build directory, for instance.) Cheers, Mike Michael Droettboom wrote: > I'm looking into it. > > Cheers

Re: [matplotlib-devel] Search functionality in Sphinx docs

2008-07-17 Thread Darren Dale
On Thursday 17 July 2008 01:07:27 pm Michael Droettboom wrote: > I'm preparing for my Scipy talk about our Sphinx docs, and I seem to be > having trouble with the search functionality. The links that searching > generates do not have an .html extension, so they don't actually work. > For example t

Re: [matplotlib-devel] Search functionality in Sphinx docs

2008-07-17 Thread Michael Droettboom
It seems one of the static JavaScript files changed. Deleting my installation of Sphinx in site-packages and reinstalling fixed the problem. Cheers, Mike Darren Dale wrote: > On Thursday 17 July 2008 01:07:27 pm Michael Droettboom wrote: > >> I'm preparing for my Scipy talk about our Sphinx

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-17 Thread Andrew Straw
Michael Droettboom wrote: > Should be fixed in r5775. > > It seems Agg doesn't like MOVETO commands and the end of a path. Since > the update is in a C++ header file, you will need to force a full > rebuild (by removing your build directory, for instance.) Thanks, I tested and this fixes the iss

[matplotlib-devel] dot warnings when build docs

2008-07-17 Thread John Hunter
I am trying to do a clean rebuild of the docs, and am seeing warnings from dot/digraph when I do the latex part. Looks like this is coming from the inheritance diagram support: [EMAIL PROTECTED]:doc> dot -V dot - Graphviz version 2.14.1 (Fri Sep 7 12:22:15 UTC 2007) # here is the build output d

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread David M. Kaplan
Hi all, I committed to svn (revision 5782) a version of the patch for clabel and waitforbuttonpress. I haven't perfected label rotation yet, but it works at the moment. I also haven't yet followed Paul Kienzle's suggestions (though I think they are a good idea), as I wanted to get a bit more inf

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 2:44 PM, David M. Kaplan <[EMAIL PROTECTED]> wrote: > Hi all, > > I committed to svn (revision 5782) a version of the patch for clabel and > waitforbuttonpress. I haven't perfected label rotation yet, but it > works at the moment. I also haven't yet followed Paul Kienzle's

[matplotlib-devel] plot_date doesn't pass tz to AutoDateFormater (patch 2020934 submitted)

2008-07-17 Thread Vineet Kumar
Hello, In working with matplotlib to render some time-based data series, I noticed that specifying a timezone as a kwarg to plot_date doesn't affect the rendering of tick labels as I expected. I've submitted a patch on sourceforge: http://sourceforge.net/tracker/index.php?func=detail&aid=2020934

Re: [matplotlib-devel] plot_date doesn't pass tz to AutoDateFormater (patch 2020934 submitted)

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 3:44 PM, Vineet Kumar <[EMAIL PROTECTED]> wrote: > It's a pretty trivial 2-line patch to make this work, which I've > tested internally. It doesn't affect any case where the user has > already specified their own Formatter. > > Please let me know if there's any other inform

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread Paul Kienzle
On Thu, Jul 17, 2008 at 09:44:48PM +0200, David M. Kaplan wrote: > Another option would be to create a start_event_loop function like Paul > suggested and overload that function in those backends that aren't > interactive so that it returns an error, but this requires writing one > such function fo

[matplotlib-devel] Alpha Weirdness on Windows

2008-07-17 Thread Ryan May
Hi, Has anyone ever noticed weirdness with translucent polygons on win32 (using GTKAgg)? I had the occasion to actually do something on windows and noticed that, having drawn some polygons with alpha < 1, if I resized the window or panned, the alpha channel seemed to disappear and leave solid

Re: [matplotlib-devel] Alpha Weirdness on Windows

2008-07-17 Thread John Hunter
On Thu, Jul 17, 2008 at 10:35 PM, Ryan May <[EMAIL PROTECTED]> wrote: > Hi, > > Has anyone ever noticed weirdness with translucent polygons on win32 > (using GTKAgg)? I had the occasion to actually do something on windows > and noticed that, having drawn some polygons with alpha < 1, if I > resize

Re: [matplotlib-devel] (Wind) Barbs

2008-07-17 Thread Ryan May
John Hunter wrote: > On Tue, Jul 15, 2008 at 5:37 PM, Ryan May <[EMAIL PROTECTED]> wrote: > >> I welcome any comments/criticism to help improve this. > > Hey Ryan, > > I have looked at this code briefly and have a few minor comments. I > think Eric, who did the bulk of the current quiver implem

Re: [matplotlib-devel] (Wind) Barbs

2008-07-17 Thread Ryan May
Jeff Whitaker wrote: > Ryan May wrote: >> Hi, >> >> I've got (what seems to me) a nice clean, self-contained >> implementation of wind barbs plots. I'd like to see if I can get this >> into matplotlib, as it would be very useful to the meteorology >> community. I've borrowed heavily from Quive

Re: [matplotlib-devel] Any short plan for a new release (0.98.2 for real or 0.98.3)?

2008-07-17 Thread Gael Varoquaux
On Thu, Jul 17, 2008 at 08:55:59AM -0500, John Hunter wrote: > I think we could do a 0.98.3 release. I am right now implementing a wx frontend to ipython, and I can see in the near future a score of people complaining that "from pylab import *; show()" crashes it because it calls the wrong backe

Re: [matplotlib-devel] patch for adding manual label location selection to clabel

2008-07-17 Thread Gael Varoquaux
On Thu, Jul 17, 2008 at 04:55:42PM -0400, Paul Kienzle wrote: > On Thu, Jul 17, 2008 at 09:44:48PM +0200, David M. Kaplan wrote: > > Another option would be to create a start_event_loop function like Paul > > suggested and overload that function in those backends that aren't > > interactive so that