Text alignment

Hello List.

Is it just me or does the alignment in the picture at
http://matplotlib.sourceforge.net/users/text_props.html
look off?

Best
Simon

Maybe. To me, the rotated “with newlines” text doesn’t quite seem to be rotated about its center, and that is even without any capital letters (it would look worse with them). The “centered” text to the right seems like it might be to far to the left, and might look worse with capital letters. And the “center top” also seems a bit off.

However, checking the PDF version of the image, it looks perfect! So, either we have a bug in the backend that saves PNG files and the positions are being calculated right by matplotlib… or we have a bug in matplotlib position calculations and the PDF backend that are correcting each other… My vote is for the former.

Ben Root

···

On Fri, Jul 16, 2010 at 12:34 PM, Simon Friedberger <simon+matplotlib@…3202…> wrote:

Hello List.

Is it just me or does the alignment in the picture at

http://matplotlib.sourceforge.net/users/text_props.html

look off?

Best

Simon