Re: [Matplotlib-users] Suggestion for annotation arrow clipping

2011-09-14 Thread Jae-Joon Lee
On Mon, Sep 12, 2011 at 3:20 AM, Daniel Hyams dhy...@gmail.com wrote: I would suggest the following modification to Annotation.draw in text.py.  All it does is set a clip box so that the annotation and arrow is still drawn, but the arrow is clipped at the axes boundary. It is a much nicer

Re: [Matplotlib-users] Suggestion for annotation arrow clipping

2011-09-14 Thread Daniel Hyams
You are correct JJ; the annotation_clip=False attribute was exactly what I was after, but somehow missed it in the docs :(. On Wed, Sep 14, 2011 at 9:09 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: On Mon, Sep 12, 2011 at 3:20 AM, Daniel Hyams dhy...@gmail.com wrote: I would suggest the

[Matplotlib-users] Suggestion for annotation arrow clipping

2011-09-11 Thread Daniel Hyams
Mpl 1.0.0 The way Annotation.draw (in text.py) is implemented, if an annotation is created with an annotation point (x,y) and text located at (tx,ty) and then the you pan around on the graph such that (x,y) is no longer visible, the annotation suddenly disappears. I would suggest the following