Commit 10145a2
committed
Don't sort lexicographially entries in SVG output.
Sorting had been added in cb5893d for reproducible outputs, but dicts
now maintain insertion order so this is not needed anymore; moreover,
not sorting allows keeping attributes in a more semantic meaning --
e.g., attributes of the toplevel `<svg>` are now in the order
`xmlns:xlink width height viewBox xmlns version` rather than
`height version viewBox width xmlns xmlns:xlink`; the `<use>` elements
of ticks now have attributes `xlink:href x y style` rather than
`style x xlink:href y`.
The order is still not perfect due to other issues, but that'll be
addressed another time.1 parent 200ebe1 commit 10145a2
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
0 commit comments