You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
[1.3.0] - 2026-10-30
Added
legend.icon in the configuration sets the icon a discrete legend item draws for its series: rounded softens its corners, and marks picks the shape by how the series draws (line, dot, area, bar, cell, rect or geo), unless the series sets its own symbol. A legend item can name its mark to choose from it.
A rule marker takes a list as its value, and a delta marker a list as its at: one line, or one delta, at each position, all with the same style, instead of one marker for each. A delta's line, text and dot can be functions of the position, to style each one on its own.
facet on a marker or a segment limits it to some facet panels, on every plot kind: a by value, a list of them, or { row, col } in a rows/cols grid. Without it a marker or a segment is drawn in every panel, as before, and a plot with no facet leaves out whatever names one.
Fixed
Automatic margins reserve what a plot needs without taking its drawing area: the label of the top y tick is no longer cut off, since an 'auto' top margin now leaves room for half its height, and margins that grow to fit labels stop growing once they would leave the plot less than a quarter of its box, which kept svelteplot from drawing marks with negative sizes on small plots.