Repository navigation
Commit 600ad50
committed
TST: Use text placeholders for empty legends
These tests use `remove_text=True` and set legend labels to empty
strings. However, they are still affected by font metrics because even
the empty string is as tall as the line height (which is calculated from
the height of the "lp" string.)1 parent f101e49 commit 600ad50
12 files changed
Lines changed: 331 additions & 355 deletions
File tree
- lib/matplotlib/tests
- baseline_images
- test_axes
- test_backend_pdf
- test_bbox_tight
- test_lines
- test_patheffects
Loading
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4593 | 4593 | | |
4594 | 4594 | | |
4595 | 4595 | | |
4596 | | - | |
| 4596 | + | |
4597 | 4597 | | |
4598 | 4598 | | |
4599 | 4599 | | |
4600 | | - | |
4601 | | - | |
4602 | 4600 | | |
4603 | | - | |
| 4601 | + | |
4604 | 4602 | | |
4605 | 4603 | | |
4606 | 4604 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
300 | | - | |
| 299 | + | |
| 300 | + | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments