Commit 5c54324
committed
Preserve whitespace in svg output.
See https://www.w3.org/TR/css-text-3/#white-space-property,
which replaces the deprecated
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xml:space
(which wasn't used before either).1 parent 093d582 commit 5c54324
3 files changed
Lines changed: 34 additions & 1 deletion
File tree
- lib/matplotlib
- backends
- tests
- baseline_images/test_backend_svg
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
322 | 324 | | |
323 | 325 | | |
324 | 326 | | |
| |||
Lines changed: 24 additions & 0 deletions
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
79 | 86 | | |
80 | 87 | | |
81 | 88 | | |
| |||
0 commit comments