Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d391a58

Browse files
author
Steve Chaplin
committed
SC 24/12/2005
svn path=/trunk/matplotlib/; revision=814
1 parent 89a248d commit d391a58

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

examples/text_rotation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
#!/usr/bin/env python
12
"""
23
The way matplotlib does text layout is counter-intuituve to some, so
34
this example is designed to make it a little clearer. The text is
45
aligned by it's bounding box (the rectangular box that surrounds the
5-
ink rectangle). The order of opertations is basically rotation then
6+
ink rectangle). The order of operations is basically rotation then
67
alignment, rather than alignment then rotation. Basically, the text
78
is centered at your x,y location, rotated around this point, and then
89
aligned according to the bounding box of the rotated text.

0 commit comments

Comments
 (0)