[matplotlib-devel] mac install 1.0.0

2010-10-01 Thread Paul Kienzle
Note a small issue on the install of matplotlib-1.0.0 python 2.6 mac dmg. The files in mpl-data/images were not installed with read permissions for all. This resulted in an error that _cidgcf was not a valid attribute in FigureManager. This affected one 10.5 machine but not another --- we

[matplotlib-devel] ginput_rect

2009-10-08 Thread Paul Kienzle
callbacks, but the cid is not being saved. * The graph wasn't always drawn before selection in ipython or before a subsequent show() so I forced it with explicit draw_idle() calls. This may lead to unnecessary redraws. - Paul # This program is public domain # Author: Paul Kienzle

Re: [matplotlib-devel] interactive property editor

2009-03-12 Thread Paul Kienzle
On Mar 12, 2009, at 9:49 AM, Michael Droettboom wrote: We've done some experiments with Enthought Traits at various times to address this issue. There were always various obstacles to making it work, but it may be worth another look. Traits has its nice auto- built property editors (that

[matplotlib-devel] interactive property editor

2009-03-11 Thread Paul Kienzle
Hi, What's the status of interactive property editors for mpl graphs? I would like something that would allow me to change properties such as the size and position of the graph, grids, scales, ranges, colors, symbols, line styles, fonts, etc., and add annotations. Some of this already

Re: [matplotlib-devel] Matplotlib patch on EPD trac?

2009-01-12 Thread Paul Kienzle
On Jan 9, 2009, at 6:12 PM, Ryan May wrote: Maybe it's time to refactor here to get routine(s) that operate how we want (IMO more sanely than Matlab), and we provide wrappers that give Matlab- like behavior. Maybe we can also get these sane routines upstream into Scipy. At that

[matplotlib-devel] matplotlib+setuptools

2009-01-09 Thread Paul Kienzle
Hi, I'm sending a little module I use to force a particular version of matplotlib and backend in my library. This is imported in my package __init__.py to make sure the environment is sane. It can also be imported in the beginning of the app to set up a sane environment, which may be

Re: [matplotlib-devel] Native backend for Mac OS X

2008-12-19 Thread Paul Kienzle
On Dec 19, 2008, at 7:52 AM, John Hunter wrote: Could you post the script you are using to do the profiling? The call to subplot/plot/bar should not trigger a draw, unless interactive is set to True http://matplotlib.sourceforge.net/users/shell.html Interactive is not the best word,

Re: [matplotlib-devel] partial ring patch

2008-11-14 Thread Paul Kienzle
On Nov 14, 2008, at 12:36 PM, Paul Kienzle wrote: Any reason not to implement this simply as an additional kwarg to Wedge, rather than a new class -- since Ring with a r2 == 0 is equivalent to Wedge anyway? Just thinking of having less code to maintain...but maybe that's more confusing

[matplotlib-devel] partial ring patch

2008-11-13 Thread Paul Kienzle
Hi, We found we needed to draw a partial ring, but didn't see one in patches.py. Attached is a generalization of Wedge to accept an inner and an outer radius. Should I add this to patches? Note that rather saving the unit ring and constructing a transform as in Wedge: def

Re: [matplotlib-devel] color mix

2008-09-24 Thread Paul Kienzle
On Sep 23, 2008, at 8:29 PM, Tom Holroyd wrote: Repost; the list bounced my last attempt. On Fri, 2008-09-19 at 18:42 -0400, Tom Holroyd wrote: On Thu, 2008-09-18 at 20:40 +0200, Jouni K. Seppänen wrote: I would prefer something like the following options: fc={'orange': 20, 'white':

Re: [matplotlib-devel] wx tweak

2008-09-15 Thread Paul Kienzle
On Mon, Sep 15, 2008 at 11:29:15PM +0200, Gael Varoquaux wrote: On Mon, Sep 15, 2008 at 04:06:45PM -0400, Paul Kienzle wrote: Hi, I tweaked the wx backend so that the idle delay is 5 ms rather than 50 ms. This allows the idle delay to kick in between mouse move events so the graph

Re: [matplotlib-devel] plot performance for help

2008-09-02 Thread Paul Kienzle
can I get there? 2.Is there any existing backend can reach the performance requirement? Can it be embedded with wxpython? 3.What differences (especially performance aspect) between the wxagg and agg backend? 4.As I know, in the recent post, Paul Kienzle is planning to develop

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'CallLater'

2008-07-29 Thread Paul Kienzle
On Tue, Jul 29, 2008 at 08:39:10PM +0200, Nils Wagner wrote: On Tue, 29 Jul 2008 13:01:04 -0500 John Hunter [EMAIL PROTECTED] wrote: On Tue, Jul 29, 2008 at 11:19 AM, Nils Wagner [EMAIL PROTECTED] wrote: Is that correct ? I will try it asap. Thanks in advance OK, I just

Re: [matplotlib-devel] updated artist contains methods

2008-07-28 Thread Paul Kienzle
On Sun, Jul 27, 2008 at 9:54 PM, John Hunter [EMAIL PROTECTED] wrote: On Sun, Jul 27, 2008 at 4:57 PM, Paul Kienzle [EMAIL PROTECTED] wrote: My inclination is to avoid diamond inheritance in this case by moving the wx base class to wxagg. Let me know and I will implement it. My weak

Re: [matplotlib-devel] axes.frame not drawn while axes.draw() called

2008-07-28 Thread Paul Kienzle
On Mon, Jul 28, 2008 at 10:40:47AM -0500, John Hunter wrote: On Mon, Jul 28, 2008 at 10:30 AM, Jae-Joon Lee [EMAIL PROTECTED] wrote: Hi John, I'm a bit confused. When you say 1st instance, you mean if self.axison and self._frameon: self.patch.draw(renderer) at

Re: [matplotlib-devel] AttributeError: 'module' object has no attribute 'CallLater'

2008-07-28 Thread Paul Kienzle
On Mon, Jul 28, 2008 at 08:12:50AM -1000, Eric Firing wrote: Nils Wagner wrote: On Sun, 27 Jul 2008 07:19:24 -1000 Eric Firing [EMAIL PROTECTED] wrote: Nils Wagner wrote: Hi all, I found a new bug $HOME=/home/nwagner matplotlib data path

Re: [matplotlib-devel] updated artist contains methods

2008-07-27 Thread Paul Kienzle
On Sat, Jul 26, 2008 at 7:26 PM, John Hunter [EMAIL PROTECTED] wrote: But this example revealed a serious problem for wxagg -- the wx backend save method was getting triggered. So wxagg couuld display an image, but if we try to save it, it fails because backend_wx's print_figure is getting

Re: [matplotlib-devel] updated artist contains methods

2008-07-27 Thread Paul Kienzle
On Sun, Jul 27, 2008 at 10:20 AM, John Hunter [EMAIL PROTECTED] wrote: On Sun, Jul 27, 2008 at 7:43 AM, Paul Kienzle [EMAIL PROTECTED] wrote: On Sat, Jul 26, 2008 at 7:26 PM, John Hunter [EMAIL PROTECTED] wrote: But this example revealed a serious problem for wxagg -- the wx backend save

Re: [matplotlib-devel] updated artist contains methods

2008-07-27 Thread Paul Kienzle
On Sun, Jul 27, 2008 at 12:28 PM, John Hunter [EMAIL PROTECTED] [ginput_manual_clabel] doesn't appear to be working for me. To keep things simple, I am working with backend_wx so there are no issues of diamond inheritance. It just appears that the specialization is broken. I get this

[matplotlib-devel] contains() tests broken

2008-07-25 Thread Paul Kienzle
Hi, In my attempt to get scroll wheel zooming working for this release I added support for the scroll wheel to TkAgg, and added support for draw_idle to the wx backend. I'm attaching the wheel zoom demonstration code. This is standalone code which is not yet ready to go into backend_bases. It

[matplotlib-devel] improved scroll wheel zooming

2008-07-25 Thread Paul Kienzle
Hi, I commited a fixto the axis contains methods, and now have working scroll wheel zooming code. I still need to use transforms properly before it can go into matplotlib, so for now I provide it only for demonstration purposes. - Paul import math import matplotlib

[matplotlib-devel] contains methods

2008-07-25 Thread Paul Kienzle
Hi, I fixed some of the contains() methods so at least the simple cases work. Degenerate rectangles cause problems in axes_demo: import matplotlib.patches r = matplotlib.patches.Rectangle((0,0),1,0) r.get_transform().inverted() Traceback (most recent call last): File stdin, line 1, in

Re: [matplotlib-devel] preparing for 0.98.3 and 0.91.5

2008-07-24 Thread Paul Kienzle
On Thu, Jul 24, 2008 at 04:28:00PM -0500, John Hunter wrote: On Thu, Jul 24, 2008 at 4:20 PM, Paul Kienzle [EMAIL PROTECTED] wrote: Running, I get a leak of about 5.6 KiB per loop. I'm using matplotlib svn, macos 10.4, numpy 1.1.0 I'm not seeing this w/ PDF or Agg in linux... what backend

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 1,

[matplotlib-devel] colormap menu

2008-07-11 Thread Paul Kienzle
Hi, I created a menu for selecting colormaps from a context menu on the graph. The attached code cmapmenu.py contains a runnable example. I've only implemented support for wx. In general, I would like to be able to add context menu operations to individual artists on the plot, and will be

Re: [matplotlib-devel] future of mpl documentation

2008-05-23 Thread Paul Kienzle
On Thu, May 22, 2008 at 08:45:02PM -0500, John Hunter wrote: On Thu, May 22, 2008 at 6:08 PM, Paul Kienzle [EMAIL PROTECTED] wrote: It looks okay in Firefox 2.0.0.14 (though it did complain about missing the mathml fonts). IE 7 displays the xml tree. I don't mind using latex

Re: [matplotlib-devel] future of mpl documentation

2008-05-22 Thread Paul Kienzle
On Thu, May 22, 2008 at 02:44:43PM -0400, Darren Dale wrote: Here is the docstring for the texmanager module: I saw this package for math markup mentioned in the docutils FAQ: http://docutils.sourceforge.net/sandbox/jensj/latex_math/ It should allow you to include latex markup in the

[matplotlib-devel] matplotlib developers needed

2008-05-22 Thread Paul Kienzle
Hi, We are developing an application for analysing and displaying neutron scattering data in Python, and a big part of this requires good graphics. We are looking for a user interface developer with a science background to help us. Some of this effort will be to improve the matplotlib

Re: [matplotlib-devel] superscript and font size

2008-04-28 Thread Paul Kienzle
On Mon, Apr 28, 2008 at 09:51:54AM -0400, Michael Droettboom wrote: Paul Kienzle wrote: Thanks. It looks much better in png, but pdf has the subscript raised much higher, That was a DPI-related bug, that is hopefully now fixed in SVN. and svg isn't rendering fonts at all (see attached

[matplotlib-devel] superscript and font size

2008-04-23 Thread Paul Kienzle
Hi, The superscripts in mpl don't seem to be placed at the correct height for small fonts. The y-tics on the attached plot shows this. The effect is similar in svg and pdf backends. I'm using 0.91.2 because the latest svn version gives me a KeyError for ufunc isfinite. - Paul

Re: [matplotlib-devel] picking bug in SVN with old masked array

2008-02-19 Thread Paul Kienzle
On Tue, Feb 19, 2008 at 10:55:14AM -0500, Michael Droettboom wrote: 2) The picking code for a line assumes non-masked arrays. Since the Line class already keeps around a compressed version of the data for drawing, it is easy enough to use that instead of the raw data. I didn't provide any

Re: [matplotlib-devel] ginput: blocking call for mouse input

2008-02-08 Thread Paul Kienzle
On Fri, Feb 08, 2008 at 08:15:20AM +0100, Gael Varoquaux wrote: On Thu, Feb 07, 2008 at 11:31:11AM -0500, Paul Kienzle wrote: There are two ways to do this in wx. One is to use eventloop.Dispatch() which waits until the next available event: [...] The other is to trigger

[matplotlib-devel] backend_driver results in separate directories

2008-02-05 Thread Paul Kienzle
Hi, I have a patch to post the results of examples/backend_driver.py to a backend specific directory, after first clearing the directory. Shall I commit? - Paul Index: backend_driver.py === --- backend_driver.py

Re: [matplotlib-devel] ginput: blocking call for mouse input

2008-02-05 Thread Paul Kienzle
On Tue, Feb 05, 2008 at 03:58:08PM -0600, John Hunter wrote: On Feb 2, 2008 8:48 AM, Gael Varoquaux [EMAIL PROTECTED] wrote: Here is the new patch. I added visual feedback when accumulating points. I hope the docstrings are clear. Great -- thanks again. I applied this patch and created

Re: [matplotlib-devel] backend_driver results in separate directories

2008-02-05 Thread Paul Kienzle
On Tue, Feb 05, 2008 at 01:05:55PM -1000, Eric Firing wrote: Paul Kienzle wrote: Hi, I have a patch to post the results of examples/backend_driver.py to a backend specific directory, after first clearing the directory. Excellent idea. Shall I commit? Yes. Done

Re: [matplotlib-devel] ginput: blocking call for mouse input

2008-02-05 Thread Paul Kienzle
On Tue, Feb 05, 2008 at 11:23:14PM +0100, Gael Varoquaux wrote: On Tue, Feb 05, 2008 at 04:11:59PM -0600, John Hunter wrote: Also, my version of GaelInput has seemed to stop evolving. This version has the option to draw lines between clicks, which I use a lot. Also, the default timeout is 0

Re: [matplotlib-devel] New plot type--submission questions

2008-01-31 Thread Paul Kienzle
On Thu, Jan 31, 2008 at 08:38:35AM +0100, Rob Hetland wrote: I was just working with a student to do this. It is straightforward (using norms, as Eric suggests), but not short. I think it would be good to include wrappers for creating these norms to MPL. The advantage is then it

Re: [matplotlib-devel] Qt4 backend improvements

2008-01-28 Thread Paul Kienzle
On Sun, Jan 27, 2008 at 11:43:16AM -0500, Darren Dale wrote: He also asked if it would be a good idea to render multiple figures into a tab widget instead of creating multiple windows. Its an interesting idea, but since the size of each figure may vary, it would mean each figure would have

[matplotlib-devel] wx draw_idle

2007-12-11 Thread Paul Kienzle
Hi, The attached patch has a couple of changes to the wx backend that I want people to test before I commit. 1) implement draw_idle. Rather than using the wx IdleEvent which seemed to be triggered too often I used a timer which is delayed and possibly reset if a new draw request comes within a

Re: [matplotlib-devel] wx draw_idle

2007-12-11 Thread Paul Kienzle
On Tue, Dec 11, 2007 at 10:22:12AM -0800, Christopher Barker wrote: Paul Kienzle wrote: or if there are pending wx events. The scheme isn't perfect since wx doesn't see all the native events, but it seems to work well enough. I'm confused here -- what events are missed, and why? What do

[matplotlib-devel] scroll wheel on wx

2007-12-11 Thread Paul Kienzle
Hi, I have a patch which implements the scroll wheel on wx using the wx mouse wheel event. Rather than a simple up/down mouse event wx uses: delta: intervals per click rotation: number of clicks rate: number of lines per click I convert this to: step = rotation*delta/rate I've

Re: [matplotlib-devel] speed

2007-11-09 Thread Paul Kienzle
On Fri, Nov 09, 2007 at 01:39:10PM -0600, John Hunter wrote: On Nov 9, 2007 1:12 PM, Michael Droettboom [EMAIL PROTECTED] wrote: I've committed my changes on the transforms branch so you can play with it -- I'm holding off on changing the trunk due to the pending release. But if everyone

Re: [matplotlib-devel] Inches?

2007-11-05 Thread Paul Kienzle
On Sat, Nov 03, 2007 at 05:43:55PM +0100, Olivier Verdier wrote: This is much worse than I thought. The inch unit is used in many places in matplotlib. In particular in `figure` and `savefig`. Please, please consider allowing other units. Let me emphasise this once more: in Europe, and, I

Re: [matplotlib-devel] pdf output

2007-09-11 Thread Paul Kienzle
is correct.) Cheers, Mike Paul Kienzle wrote: On Mon, Sep 10, 2007 at 04:19:24PM -0400, Michael Droettboom wrote: Can you set pdf.compression : 0 and send me a copy of the troublesome PDF (probably best off list if it's a large file.)? I used the following: import pylab

Re: [matplotlib-devel] pdf output

2007-09-11 Thread Paul Kienzle
On Tue, Sep 11, 2007 at 10:57:18AM -0400, Paul Kienzle wrote: I'm not sure yet how to fix the problem, but in the sample I sent earlier if I change: 5 0 obj /Length 11 0 R endobj to 5 0 obj /Length 1239 endobj then both gv and acroread can process the file without

Re: [matplotlib-devel] pdf output

2007-09-11 Thread Paul Kienzle
On Tue, Sep 11, 2007 at 12:31:25PM -0400, Michael Droettboom wrote: Did r3829 not work for you? (Or did you miss that in my earlier post?) I don't think anything related to Lengths has changed recently, and it did work at one point... The current svn works --- I must have missed a build

[matplotlib-devel] Windows pdf generation

2007-09-10 Thread Paul Kienzle
Hi, We are having trouble with PDF generation on Windows (see below). Python 2.4.3 - Enthought Edition 1.1.0 freetype 2.5.3 (GnuWin32 package) Anyone experienced similar problems? Meanwhile I'm modifying ttconv to include the font name in the error message. - Paul Traceback (most

[matplotlib-devel] pdf output

2007-09-10 Thread Paul Kienzle
A further comment on the windows PDF problems. PDF output generated by matplotlib on Windows and on OS X is readable in Preview.app on OS X but is not readable in Acrobat 8.1.0 or 7.0.5 on Windows. Adobe 7.0.5 produces the message There were too many arguments. At this point I have no idea

[matplotlib-devel] pdf font problem

2007-09-10 Thread Paul Kienzle
I've resolved part of the PDF font problem on windows --- ttconv was not opening the font file with rb. I'll send a patch later as soon as I figure out why acrobat is saying too many arguments when opening the resulting pdf file. Preview.app on OS X opens the files without difficulty. -

Re: [matplotlib-devel] svg fonts and mathtext

2007-09-07 Thread Paul Kienzle
On Fri, Sep 07, 2007 at 12:09:01PM -0400, Michael Droettboom wrote: Paul Kienzle wrote: I was going to check if this also fixed the dot on the 'i' in sin as well as the equals sign, FWIW, it did for me in Inkscape. And for me in Safari. Note: Adobe SVGViewer doesn't see the embedded

Re: [matplotlib-devel] svg fonts and mathtext

2007-09-07 Thread Paul Kienzle
On Fri, Sep 07, 2007 at 10:31:13AM -0400, Michael Droettboom wrote: Paul Kienzle wrote: On Fri, Sep 07, 2007 at 06:40:55AM -0400, Michael Droettboom wrote: I'd be curious to see a screenshot of what Safari looks like. It may be a simple fix on our end. See attached. As for file

Re: [matplotlib-devel] svg fonts and mathtext

2007-09-07 Thread Paul Kienzle
On Fri, Sep 07, 2007 at 04:04:28PM -0400, Michael Droettboom wrote: Paul Kienzle wrote: It looks the same as the version without embedded fonts, which is that it chooses some incorrect default font with the wrong character codes as I showed earlier. That's very surprising, since when

Re: [matplotlib-devel] backend_driver.py was: Re: examples errors

2007-09-06 Thread Paul Kienzle
On Thu, Sep 06, 2007 at 08:14:19AM -0400, Michael Droettboom wrote: On a broader note, I've been using backend_driver.py as my ersatz acceptance test suite. Not all of these examples are included in it, of course. Is there good reason for that, or should I go ahead and add these to

[matplotlib-devel] polar_demo output

2007-09-06 Thread Paul Kienzle
polar_demo agg and polar_demo pdf/ps/svg show different results. In agg, the spiral is clipped to the polar axes. In pdf/ps/svg it is clipped to the rectangle containing the axes. Note: I don't use polar plots, so I'm mentioning this for completeness only. - Paul

Re: [matplotlib-devel] backend_driver errors

2007-09-05 Thread Paul Kienzle
On Wed, Sep 05, 2007 at 01:40:02PM +0300, Jouni K. Seppänen wrote: Paul Kienzle [EMAIL PROTECTED] writes: [segfaults] Is there something in the last couple of weeks which might cause this? Some changes in font handling caused segfaults for me, and it turned out to be a bug in an old

[matplotlib-devel] mathtext rotation

2007-08-30 Thread Paul Kienzle
Hi all, I replaced one of the text_rotation examples with r'$\rm{mathtext_{225}}$' to see if rotation is supported for mathtext. It is not in the current trunk downloaded today. Before I look to deeply into this myself, is there anyone working on it already? Is there anything I need to look

[matplotlib-devel] mathtext in wx widgets

2007-08-30 Thread Paul Kienzle
Hi, It would be great to be able to display math markup in other parts of my application, such as labels, tables, lists and menus. Has anyone ever tried doing this for wx or gtk? Thanks in advance, - Paul - This

Re: [matplotlib-devel] mathtext rotation

2007-08-30 Thread Paul Kienzle
On Thu, Aug 30, 2007 at 02:19:47PM -0400, Michael Droettboom wrote: Paul Kienzle wrote: Hi all, I replaced one of the text_rotation examples with r'$\rm{mathtext_{225}}$' to see if rotation is supported for mathtext. It is not in the current trunk downloaded today. It's only

Re: [matplotlib-devel] Cannot set nonpositive limits with log transform

2007-08-15 Thread Paul Kienzle
On Wed, Aug 15, 2007 at 09:57:21AM -0400, Darren Dale wrote: On Tuesday 14 August 2007 07:35:43 pm Darren Dale wrote: I'm developing an application for work and need to plot some spectra on a logscale. I can recreate my problem with embedding_in_qt4, by replacing

[matplotlib-devel] sample canvas object code

2007-07-21 Thread Paul Kienzle
Hi, I'm attaching the canvas object code I've been playing with. The API is still incomplete, but in the spirit of release early, release often, I'll put it out there for people to comment on. This should use a common callback mechanism with mpl (e.g., the user should bind to a axis limit

Re: [matplotlib-devel] mpl.math namespace [was: Polygon examples broken]

2007-07-21 Thread Paul Kienzle
On Sat, Jul 21, 2007 at 08:51:19AM -1000, Eric Firing wrote: John Hunter wrote: [...] functions or array functions here, eg math.sqrt vs numpy.sqrt? Also, a few of your symbols clash with python builtins (min, max, abs) which is best avoided. Finally, how would you feel about allowing

Re: [matplotlib-devel] sample canvas object code

2007-07-21 Thread Paul Kienzle
On Sat, Jul 21, 2007 at 02:39:52PM -0500, John Hunter wrote: On 7/21/07, Paul Kienzle [EMAIL PROTECTED] wrote: Hi, I'm attaching the canvas object code I've been playing with. The API is still incomplete, but in the spirit of release early, release often, I'll put it out

[matplotlib-devel] mathtext baseline

2007-07-21 Thread Paul Kienzle
Hi, I really love mathtext! I wrote a simple formula parser and now I can label my graphs with easy to read chemical names (I've attached it below for the curious). The problem is that the baseline is wandering. On my machine the following has the 'h' too low and the 'io' too high: import

Re: [matplotlib-devel] Polygon examples broken

2007-07-20 Thread Paul Kienzle
On Fri, Jul 20, 2007 at 08:53:30AM -0400, Rob Hetland wrote: Second, much of what I do involves plotting model data (on a curvilinear grid). I generally like to use pcolor for these plots. I *always* want shading='flat' Some of my grids are large, and I only see lines if I don't.

[matplotlib-devel] remove artists

2007-07-20 Thread Paul Kienzle
Hi, Not hearing back one way or the other, I checked in the remove artist stuff. It is a pretty minor patch. It is cheap (a lambda and an attribute per artist), but unfortunately not free for those who don' need it :-( I can turn the lambdas into methods pretty easily if the python experts say

Re: [matplotlib-devel] Polygon examples broken

2007-07-20 Thread Paul Kienzle
On Fri, Jul 20, 2007 at 02:53:42PM -0700, Christopher Barker wrote: Paul Kienzle wrote: On Fri, Jul 20, 2007 at 12:34:44PM -0700, Christopher Barker wrote: Out of 491 names in the numpy namespace, I found 26 that would commonly be found in math expressions. The C99 math/complex

[matplotlib-devel] infinite lines

2007-07-19 Thread Paul Kienzle
Probably a better question for the help list, but has anybody written an artist that can display a semi-infinite or infinite line? axvline and axhline can fake it for vertical and horizontal infinite lines, but they cannot handle slopes or semi-infinite lines. Thanks, - Paul

Re: [matplotlib-devel] mpl1 draft

2007-07-19 Thread Paul Kienzle
On Thu, Jul 19, 2007 at 03:31:26PM -0700, Christopher Barker wrote: In matplotlib, the plot functions are matplotlib.axes.Axes methods and I think there is consensus that this is a poor design. Well, the OO interface has always felt a bit clunky to me, but I'm not sure where else plot

[matplotlib-devel] negative log transforms

2007-07-17 Thread Paul Kienzle
On Tue, Jul 17, 2007 at 08:33:47AM -0500, John Hunter wrote: Speaking of branches, we may need to seriously consider a branch here, mpl1. The changes here may involve breaking a fair amount of code, which I don't mind doing to get it right, but I'm somewhat inclined to branch off here for

[matplotlib-devel] sandbox

2007-07-16 Thread Paul Kienzle
Hi, I've made some progress on an MPL canvas infrastructure built on top of the contains() methods patch I submitted earlier (and now in svn). I would like to post it to svn so that interested parties can play with it and contribute to the development, but it is not yet ready to be put in the

[matplotlib-devel] remove artist from axes?

2007-07-15 Thread Paul Kienzle
Hi, I don't see an obvious way to remove a line from an axes object. Shall I add remove_child(h) which searches through all the lists of containers and removes the one that I don't want? For now I will rerender the graph without the missing child. - Paul

Re: [matplotlib-devel] canvas objects

2007-07-09 Thread Paul Kienzle
On Mon, Jul 09, 2007 at 10:37:35AM -0500, John Hunter wrote: One minor bug I fixed for non wx backends in the (very cool) figure.canvas.mpl_connect(motion_notify_event,figure.canvas.hilite) functionality. gui_repaint is a wx only method, and I just commented it out and replaced the draw with

Re: [matplotlib-devel] canvas objects

2007-07-08 Thread Paul Kienzle
On Fri, Jul 06, 2007 at 05:31:58PM -0400, Paul Kienzle wrote: On Fri, Jul 06, 2007 at 10:15:48AM -0500, John Hunter wrote: On 7/6/07, Paul Kienzle [EMAIL PROTECTED] wrote: Instead I would like to start by splitting the current pick method into two parts: contains(event,picker

[matplotlib-devel] canvas objects

2007-07-06 Thread Paul Kienzle
value,details pick(event) which generates the current pick event Later I can construct the infrastructure I want on the contains() function for each artist. Does this approach seem reasonable to those who will approve the patches I will send? Thanks, Paul Kienzle [EMAIL PROTECTED

Re: [matplotlib-devel] canvas objects

2007-07-06 Thread Paul Kienzle
On Fri, Jul 06, 2007 at 10:15:48AM -0500, John Hunter wrote: On 7/6/07, Paul Kienzle [EMAIL PROTECTED] wrote: Hi, I've been playing with the pick infrastructure in 0.90 and find that it doesn't meet my needs. The issue is that events from all artists go to the same callback, so you

Re: [matplotlib-devel] canvas objects

2007-07-06 Thread Paul Kienzle
On Fri, Jul 06, 2007 at 10:15:48AM -0500, John Hunter wrote: On 7/6/07, Paul Kienzle [EMAIL PROTECTED] wrote: Instead I would like to start by splitting the current pick method into two parts: contains(event,picker) which returns truth value,details pick(event) which generates