|
From: Kurt F. <kur...@ho...> - 2010-01-21 21:13:44
|
> From: lee...@gm... > Date: Thu, 21 Jan 2010 13:21:41 -0500 > Subject: Re: [Matplotlib-users] Annotate Behaviour - Arrows Missing > To: kur...@ho... > CC: mat...@li... > > On Thu, Jan 21, 2010 at 12:53 PM, Kurt Forrester > <kur...@ho...> wrote: > > Sorry the text IS drawn in the second example. So the setting of the > > attribute after it is drawn (before it is shown) seems to do the trick. > > > > Kurt > > It seems that somehow the annotation_clip parameter is ignored when it > is given during the object creation. While I'm not 100% sure, this > seems to be fixed in the current svn where it does work. > > And I presume your original script will also work if you call > set_annotation_clip explicitly. > Let me know if there is any other problem. > > Regards, > > -JJ JJ, I can confirm that by calling .set_annotation_clip(False) after the creation of the object makes all the annotations appear as expected. I will amend my code until I get the latest version installed. Just to add one more query to the thread, do you consider a point on a vertex of the axes to be a candidate for annotation without clipping? That is to say if there is a point (0,0) I wish to annotate, and the origin of the axes contains that point (0,0), would you (by design) want to be able to annotate that point? My initial uncertainty as to why I need to have the clipping turned to False in the first instance is because I thought that if a point may fall on a any of the vertices they still should be considered in the visible field. This is just a thought. Thank you for your effort on this. Kind Regards., Kurt _________________________________________________________________ Time for a new car? Sell your old one fast! http://clk.atdmt.com/NMN/go/157637060/direct/01/ |