Re: [Matplotlib-users] Partial coloring of text in matplotlib

2012-02-07 Thread Yann Tambouret
Along the lines of Mike's suggestion, I thought this could be done using Latex. I posted an answer on SO with an example of doing this, but it seems only to work with postscript backend. Other backends override the color with the mpl text color setting. Is there a way to prevent this override?

Re: [Matplotlib-users] Strange default choice of ylabel ticks

2012-01-18 Thread Yann Tambouret
Hi Per, I think you want to use the 'ticklabel_format' method: http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.ticklabel_format Here's your example modified some. 'some_point2A.pdf' produces exactly the same as the default. 'some_point2B.pdf' does not use an offset, and

[Matplotlib-users] How do you change the position of an annotation?

2012-01-13 Thread Yann Tambouret
I'm trying to update the position of an annotation. If I add an annotation, change it's position using set_position, I find the value of the position (found using get_position) is updated, but the actual position on the figure does not change. How can I actually change the position of the text and