Commit e31d8ed
Fixed bug: mathtext rendered width not being calculated correctly (matplotlib#25692)
* Text now accounts for mathtext width when wrapping
* Added test case for mathtext wrapping
* Update lib/matplotlib/text.py
Co-authored-by: Tim Hoffmann <[email protected]>
* removed unnecessary variable
---------
Co-authored-by: Tim Hoffmann <[email protected]>1 parent cf9a887 commit e31d8ed
2 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
701 | 701 | | |
702 | 702 | | |
703 | 703 | | |
| 704 | + | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
704 | 713 | | |
705 | 714 | | |
706 | 715 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
642 | 642 | | |
643 | 643 | | |
644 | 644 | | |
| 645 | + | |
645 | 646 | | |
646 | 647 | | |
647 | 648 | | |
648 | | - | |
| 649 | + | |
649 | 650 | | |
650 | 651 | | |
651 | 652 | | |
| |||
0 commit comments