Commit eb51274
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 1840d9b commit eb51274
File tree
12 files changed
+320
-342
lines changed- lib/matplotlib/tests
- baseline_images
- test_axes
- test_backend_pdf
- test_bbox_tight
- test_lines
- test_patheffects
12 files changed
+320
-342
lines changedLoading
Binary file not shown.
Binary file not shown.
Lines changed: 312 additions & 333 deletions
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4593 | 4593 | | |
4594 | 4594 | | |
4595 | 4595 | | |
4596 | | - | |
| 4596 | + | |
4597 | 4597 | | |
4598 | 4598 | | |
4599 | 4599 | | |
| |||
| 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 | | |
| |||
| 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 | | |
| |||
0 commit comments