Commit 19355c6
committed
ps: Fix anchoring of rotated usetex text
In PostScript, usetex text is anchored to the bottom left for
replacement by psfrag, while in Matplotlib, text is placed by the
baseline usually. So PostScript subtracts the text depth from the y
position, but for rotated text, this subtraction should also be in a
rotated direction.1 parent e9e3579 commit 19355c6
File tree
6 files changed
+10843
-2
lines changed- lib/matplotlib
- backends
- tests
- baseline_images/test_usetex
6 files changed
+10843
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
588 | 588 | | |
589 | 589 | | |
590 | 590 | | |
591 | | - | |
592 | | - | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
593 | 595 | | |
594 | 596 | | |
595 | 597 | | |
| |||
0 commit comments