Re: [matplotlib-devel] problems with labeling contour lines in 0.98.3

2008-08-25 Thread kaplan
Hi, I am currently on vacation, so I can´t be of much help - back beginning of next month. It would be useful if you could try the clabel and ginput demo scripts and send images of the resulting figures so that we can determine exactly what things work and don´t work. Thanks, David Mark

[matplotlib-devel] transform_angles

2008-11-05 Thread David Kaplan
the screen coordinate system), but I haven't gotten around to finishing this yet. Cheers, David -- ** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de Recherche Halieutique Mediterraneenne et Tropicale av. Jean Monnet

Re: [matplotlib-devel] transform_angles

2008-11-05 Thread David Kaplan
direction on these points, I will try to finish a patch for this functionality. Cheers, David On Wed, 2008-11-05 at 10:28 -0500, Michael Droettboom wrote: > Darn clogged e-mail queue! ;) > > I see you've already addressed my question... > > Cheers, > Mike > >

Re: [matplotlib-devel] transform_angles

2008-11-06 Thread David Kaplan
the coordinate system for the dash I think I saw this and just decided to raise not implemented warnings on attempts to set non-screen coordinate system rotations. Is there a strong desire for adding this feature to text with dash? Cheers, David -- ****** Dav

Re: [matplotlib-devel] transform_angles

2008-11-06 Thread David Kaplan
add a text object to that axes. Can this method do the trick for you? Cheers, David -- ** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de Recherche Halieutique Mediterraneenne et Tropicale av. Jean Monnet B.P. 171 34203 Sete cedex Fran

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 62, Issue 6

2011-07-13 Thread David Kaplan
Hi, I will be on vacation with limited email from July 14 to August 7, 2011. Bonjour, Je serai en conge du 14 juillet jusqu'au 7 aout, 2011. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries,

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 62, Issue 7

2011-07-17 Thread David Kaplan
Hi, I will be on vacation with limited email from July 14 to August 7, 2011. Bonjour, Je serai en conge du 14 juillet jusqu'au 7 aout, 2011. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries,

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 62, Issue 8

2011-07-18 Thread David Kaplan
Hi, I will be on vacation with limited email from July 14 to August 7, 2011. Bonjour, Je serai en conge du 14 juillet jusqu'au 7 aout, 2011. -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries,

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 62, Issue 9

2011-07-22 Thread David Kaplan
Hi, I will be on vacation with limited email from July 14 to August 7, 2011. Bonjour, Je serai en conge du 14 juillet jusqu'au 7 aout, 2011. -- 10 Tips for Better Web Security Learn 10 ways to better secure your busines

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 62, Issue 10

2011-07-27 Thread David Kaplan
Hi, I will be on vacation with limited email from July 14 to August 7, 2011. Bonjour, Je serai en conge du 14 juillet jusqu'au 7 aout, 2011. -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 62, Issue 11

2011-07-29 Thread David Kaplan
Hi, I will be on vacation with limited email from July 14 to August 7, 2011. Bonjour, Je serai en conge du 14 juillet jusqu'au 7 aout, 2011. -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 62, Issue 12

2011-07-29 Thread David Kaplan
Hi, I will be on vacation with limited email from July 14 to August 7, 2011. Bonjour, Je serai en conge du 14 juillet jusqu'au 7 aout, 2011. -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 62, Issue 13

2011-07-29 Thread David Kaplan
Hi, I will be on vacation with limited email from July 14 to August 7, 2011. Bonjour, Je serai en conge du 14 juillet jusqu'au 7 aout, 2011. -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 63, Issue 1

2011-08-01 Thread David Kaplan
Hi, I will be on vacation with limited email from July 14 to August 7, 2011. Bonjour, Je serai en conge du 14 juillet jusqu'au 7 aout, 2011. -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we

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

2008-07-17 Thread David Kaplan
-0400, Paul Kienzle wrote: > 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-platfo

Re: [matplotlib-devel] reverting changes to contour.py

2008-07-21 Thread David Kaplan
2) Can someone explain to me why is_string_like in the cbook doesn't just do isinstance(obj,str)? Is there anything "string like" that won't be caught be this isinstance call? Cheers, David -- ** David M. Kaplan Charge de Recherche 1 I

Re: [matplotlib-devel] reverting changes to contour.py

2008-07-21 Thread David Kaplan
-0500, John Hunter wrote: > On Mon, Jul 21, 2008 at 7:51 AM, David Kaplan <[EMAIL PROTECTED]> wrote: > > > 2) Can someone explain to me why is_string_like in the cbook doesn't > > just do isinstance(obj,str)? Is there anything "string like" that won't >

[matplotlib-devel] is_scalar bug

2008-07-23 Thread David Kaplan
(obj) Cheers, David -- ** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de Recherche Halieutique Mediterraneenne et Tropicale av. Jean Monnet B.P. 171 34203 Sete cedex France Phone: +33 (0)4 99 57 32 27 Fax: +33 (0)4 99 57 32 95 htt

[matplotlib-devel] clabel improvements

2008-07-23 Thread David Kaplan
at throw errors from FigureBaseCanvas. Complex, but this assures clean inheritance. Thoughts welcome. Cheers, David -- ** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de Recherche Halieutique Mediterraneenne et Tropicale av.

Re: [matplotlib-devel] is_scalar bug

2008-07-23 Thread David Kaplan
Hi, Almost: In [3]: cbook.is_scalar((0,1)) Out[3]: True That should be an "and" not an "or". Cheers, David On Wed, 2008-07-23 at 08:16 -0500, John Hunter wrote: > On Wed, Jul 23, 2008 at 4:04 AM, David Kaplan <[EMAIL PROTECTED]> wrote: > > Hi, > &g

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

2008-07-24 Thread David Kaplan
lib/backends/backend_wx.py", line 360, in new_gc self.gc = GraphicsContextWx(self.bitmap, self) File "/usr/lib/python2.5/site-packages/matplotlib/backends/backend_wx.py", line 457, in __init__ gfx_ctx = wx.GraphicsContext.Create(dc) : 'module' object has no attribute 'Gra

Re: [matplotlib-devel] clabel improvements

2008-07-24 Thread David Kaplan
This function is probably more useful in matlab since it has no shape way to distinguish vectors from 2D matrices, but still it doesn't hurt to have it around. Cheers, David On Wed, 2008-07-23 at 08:08 -1000, Eric Firing wrote: > John Hunter wrote: > > On Wed, Jul 23, 2008 at 6:21 AM

Re: [matplotlib-devel] clabel improvements

2008-07-24 Thread David Kaplan
Hi, I made the suggested fixes. Comments below: On Thu, 2008-07-24 at 08:38 -0500, John Hunter wrote: > On Thu, Jul 24, 2008 at 7:31 AM, David Kaplan <[EMAIL PROTECTED]> wrote: > > > I committed the changes to clabel (r5830). > > Hey David -- thanks for these fixes

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

2008-07-24 Thread David Kaplan
where in the class self.Bind is used. Is this correct? If so, should these other references perhaps take advantage of your abstraction? Cheers, David On Thu, 2008-07-24 at 11:02 -0400, Paul Kienzle wrote: > On Thu, Jul 24, 2008 at 12:12:21PM +0200, David Kaplan wrote: > > 4) In WX, I used

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

2008-07-25 Thread David Kaplan
isn't initialized properly. Updating to wxPython 2.8 fixed the problem, but I think that breaks other things on my system (like system tools on Ubuntu that I need to use). For now I will just use 2.8, but I may have to revert. Is supporting wx 2.6 a goal? Cheers, David On Thu, 2008-07-24 at

Re: [matplotlib-devel] doc warnings

2008-07-25 Thread David Kaplan
hey are identical in format to other functions around them. What does this error mean? Cheers, David -- ****** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de Recherche Halieutique Mediterraneenne et Tropicale av. Jean Monnet B.

[matplotlib-devel] differences between twinx and twiny

2008-07-25 Thread David Kaplan
ing twinx work like twiny. As an aside, this would not be necessary if there was an easy after the fact way of sharing and unsharing axes (i.e., ax.set_shared_x_axes(ax2)). Cheers, David -- ****** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour l

[matplotlib-devel] auto-rotating text and plotyy

2008-07-25 Thread David Kaplan
the vertical line that is the y-axis. Is there an easy way to do this? Cheers, David -- ** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de Recherche Halieutique Mediterraneenne et Tropicale av. Jean Monnet B.P. 171 34203 S

Re: [matplotlib-devel] auto-rotating text and plotyy

2008-07-29 Thread David Kaplan
5:00 -0400, Ryan May wrote: > David Kaplan wrote: > > The second patch is to pyplot.py to create a plotyy function. This is > > like a matlab function of the same name that puts two curves with > > different y ranges on the same x axis. It basically wraps the > > two_sc

Re: [matplotlib-devel] Ginput bug

2008-09-12 Thread David Kaplan
4312 if not hasattr(self, "_name"): > 14313 self._name = "[unknown]" > > 14314 raise PyDeadObjectError(self.attrStr % self._name) > 14315 > 14316 def __nonzero__(self): > > PyDeadObjectError: The C++ part of the FigureCanvasW

Re: [matplotlib-devel] problems with labeling contour lines in 0.98.3

2008-09-12 Thread David Kaplan
when you don't use the 'inline', but the > picture is of course not as nice, as the labels are not in-line > anymore. Maybe that gives a clue to what goes wrong? > > Thanks, Mark > > On Wed, Sep 3, 2008 at 12:47 PM, David M. Kaplan <[EMAIL PROTECTED]> > w

Re: [matplotlib-devel] fix to clabel issues plus more

2008-09-24 Thread David Kaplan
hings. Cheers, David On Tue, 2008-09-23 at 13:24 -0500, John Hunter wrote: > On Tue, Sep 16, 2008 at 3:26 AM, David M. Kaplan <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I would just undo what I have done rather than putting a lot of moved > > messages all over the place

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 69, Issue 2

2012-02-17 Thread David kaplan
Hi, I will be on vacation with limited email from February 18-25, 2012. Bonjour, Je serai en conge du 18 au 25 fevrier, 2012. Thanks, David -- Virtualization & Cloud Management Using Capacity Planning Cloud computing m

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 69, Issue 3

2012-02-18 Thread David kaplan
Hi, I will be on vacation with limited email from February 18-25, 2012. Bonjour, Je serai en conge du 18 au 25 fevrier, 2012. Thanks, David -- Virtualization & Cloud Management Using Capacity Planning Cloud computing m

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 69, Issue 4

2012-02-25 Thread David kaplan
Hi, I will be on vacation with limited email from February 18-25, 2012. Bonjour, Je serai en conge du 18 au 25 fevrier, 2012. Thanks, David -- Virtualization & Cloud Management Using Capacity Planning Cloud computing m

Re: [matplotlib-devel] Matplotlib-devel Digest, Vol 69, Issue 5

2012-02-26 Thread David kaplan
Hi, I will be on vacation with limited email from February 18-25, 2012. Bonjour, Je serai en conge du 18 au 25 fevrier, 2012. Thanks, David -- Virtualization & Cloud Management Using Capacity Planning Cloud computing m

[matplotlib-devel] waitforbuttonpress function addition

2008-07-11 Thread David M. Kaplan
e=True) and hit ctrl-c). This probably isn't a huge problem, but it would be nice if there was a way to say "if ctrl-c is pressed, cleanup nicely". Does someone know if that is possible? Cheers, David -- ****** David M. Kaplan Charge de Recherche 1

Re: [matplotlib-devel] waitforbuttonpress function addition

2008-07-11 Thread David M. Kaplan
quaux wrote: > On Fri, Jul 11, 2008 at 03:22:30PM +0200, David M. Kaplan wrote: > > The way I have implemented it is by adding an additional class > > BlockingKeyMouseInput, which is quite similar to BlockingMouseInput, but > > waits for both key and mouse events. A s

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

2008-07-16 Thread David M. Kaplan
access to my own branch of the matplotlib svn. I don't want to modify the trunk, but for my own sanity, it would be nice to be able to keep track of my changes somewhere. If not, I would like to here what other non-commit developers do to best organize changes. Thanks, David -- **

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

2008-07-17 Thread David M. Kaplan
need to attach the right method of one to the other. Cheers, David On Wed, 2008-07-16 at 10:10 -1000, Eric Firing wrote: > John Hunter wrote: > > On Wed, Jul 16, 2008 at 7:20 AM, David M. Kaplan <[EMAIL PROTECTED]> wrote: > > > >> The patch isn't done - manually sel

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

2008-07-17 Thread David M. Kaplan
s. Cheers, David On Thu, 2008-07-17 at 09:46 +0200, David M. Kaplan wrote: > 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 poss

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

2008-07-17 Thread David M. Kaplan
n example ...!? > > Manuel Along these lines, I have been thinking that it would be a simple addition to allow fmt to be a dictionary (as an alternative to a string) that matches contour levels with the desired text. This would allow users to label contours with arbitrary strings, which is

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

2008-07-17 Thread David M. Kaplan
ot;manual". > I have to run. I haven't reviewed the patch very well. I think you should > address those two comments and send it again to the list for review. > You'll probably get useful advice and maybe learn more about Python. > > Thanks, > > Gaël -- **

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

2008-07-18 Thread David M. Kaplan
ntour should always be an array (at least the linecontours in a Path), so I don't see much point in forcing it to array. I have removed these and several other np.array or np.asarray calls that seemed extraneous to me. If desired, I can include a single np.array call, but I don't think

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

2008-07-18 Thread David M. Kaplan
over interactive commands such as ginput. This may be better than an immediate error, but could cause problems later in the script when data is expected, but one gets []. Cheers, David -- ****** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour l

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

2008-07-18 Thread David M. Kaplan
Hi, My bad - I forgot strings are iterable. This should now be fixed. Cheers, David On Fri, 2008-07-18 at 09:41 -0500, John Hunter wrote: > On Fri, Jul 18, 2008 at 3:50 AM, David M. Kaplan <[EMAIL PROTECTED]> wrote: > > >> I would probably write a cbook method is_sequenc

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

2008-07-18 Thread David M. Kaplan
d mouse button has proved quite useful to me and the user would still need to test in this case. We could warn if not enough points are returned, but an error seems too much to me. Cheers, David -- ** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Develo

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

2008-07-18 Thread David M. Kaplan
Hi, On Fri, 2008-07-18 at 09:24 -0500, John Hunter wrote: > On Fri, Jul 18, 2008 at 4:27 AM, David M. Kaplan <[EMAIL PROTECTED]> wrote: > I'm not a huge fan of mixins. We use them occassionally, eg for > FigureCanvasGtkAgg and their are some good uses for them, but they c

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

2008-07-19 Thread David M. Kaplan
fewer points rather than inadvertantly letting it happen. Cheers, David -- ****** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de Recherche Halieutique Mediterraneenne et Tropicale av. Jean Monnet B.P. 171 34203 Sete cedex Fran

Re: [matplotlib-devel] reverting changes to contour.py

2008-07-20 Thread David M. Kaplan
t; worth > with svn. Too bad we aren't using something nice like Mercurial. > Now, > that comment should push a few buttons.) > > Eric > -- ** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de

Re: [matplotlib-devel] doc warnings

2008-07-26 Thread David M. Kaplan
at to do with this. Along the way, I noticed these is some duplication in the examples directory between pylab_examples and mpl_examples. Cheers, David > JDH -- ** David M. Kaplan Charge de Recherche 1 Institut de Recherche pour le Developpement Centre de Rech

[matplotlib-devel] duplicate functions?

2008-07-28 Thread David M. Kaplan
Hi, Quick question: I have noticed that there are functions in cbook that have identical or near identical versions in numpy - unique, is_scalar (isscalar), iterable, Is this intentional? Cheers, David -- ** David M. Kaplan Charge de Recherche 1

Re: [matplotlib-devel] problems with labeling contour lines in 0.98.3

2008-09-03 Thread David M. Kaplan
; Does anybody have a solution? > > Thanks, Mark > > > > > > > This message was sent using IMP, the Internet Messaging

[matplotlib-devel] error when plotting with point markers in latest SVN

2008-09-08 Thread David M. Kaplan
nderer) File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 439, in draw markerFunc(renderer, gc, tpath, affine.frozen()) File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 752, in _draw_circle rgbFace) : Codes array is wrong length Ou

Re: [matplotlib-devel] error when plotting with point markers in latest SVN

2008-09-08 Thread David M. Kaplan
; File "/usr/lib/python2.5/site-packages/matplotlib/axes.py", line 1525, > > in draw > >a.draw(renderer) > > File "/usr/lib/python2.5/site-packages/matplotlib/lines.py", line 439, > > in draw > >markerFunc(renderer, gc, tpath, affine.froze

[matplotlib-devel] fix to clabel issues plus more

2008-09-14 Thread David M. Kaplan
having to do with numerics and geometry from cbook and mlab into a separate file called numerical_methods.py as was discussed a while back. This is fairly easy to undo if a problem, but this seems logical to me. Cheers, David -- ** David M. Kaplan Charge de

Re: [matplotlib-devel] fix to clabel issues plus more

2008-09-16 Thread David M. Kaplan
On Sun, Sep 14, 2008 at 10:44 AM, David M. Kaplan <[EMAIL PROTECTED]> wrote: > > > I also moved a bunch of functions having to do with numerics and > > geometry from cbook and mlab into a separate file called > > numerical_methods.py as was discussed a while back. This i