John, Very good--I will work on it this weekend.
Eric > Eric, how about adding a helper method to matplotlib.transforms call > "relative_to", something like > > trans = relative_to(artist, pointsx, pointsy) > > you can get dpi from artist.figure.dpi to construct the right > points->pixels offset. Then you could do > > trans = relative_to(line, -5, 10) > ax.text(x, y, 'hi', transform=trans) > > This may not be the perfect API, but it should give you the idea of > providing a very simple interface to users to build these transforms > for offsets. > > JDH ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users