Re: [Matplotlib-users] text in axis coords

2007-01-09 Thread Lionel Roubeyrie
Arg, sorry, stupid question, I didn't use valid limits. Le Mardi 09 Janvier 2007 12:32, Lionel Roubeyrie a écrit : > Hi all, > I need to set texts on figures in axis coords, not data coords. > Following "text" doc, transform=ax.transAxes seems not working : > ## > > |~|[32]>ax=

[Matplotlib-users] text in axis coords

2007-01-09 Thread Lionel Roubeyrie
Hi all, I need to set texts on figures in axis coords, not data coords. Following "text" doc, transform=ax.transAxes seems not working : ## |~|[32]>ax=subplot(111) |~|[33]>text( 0.0, 1.0, 'text1', transform=ax.transData, color='r' ) Out [33]: |~|[34]>text( 1.0, 1.0, 'text2',