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 effect than the annotation disappearing. I have > made this modification in my source locally, and it works very well, > but I thought I would suggest here for inclusion into the main code > base. >
Can you explain more explicitly why you think this behavior is better? For example, what is the point of annotating something if that something is not visible? Also, annotating texts are often placed outside of axes area. I don't think clipping out the arrow is a good idea in this case. Just in case, this is just a default behavior. You can override this behavior without changing the mpl source code. Regards, -JJ ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users