Skip to content

Changelog

All notable changes to Ferrum are documented here.

Unreleased

No unreleased changes.

0.26.0 — 2026-11-16

The other-column bindings block. A figure or composite mark refits when a later binding names another column, a Date or Datetime column draws as a category axis, Axis(label_map=) relabels tick text only, annotation coordinates on categorical axes are refused or skipped out loud, and ordered-pair and sequence parameters read one set of shapes on every door. Several of these reverse earlier behavior; each reversal has a dated entry in design-docs/spec-history.md.

Added

None

Fixed

  • the jointplot hist remedy renders, a date or Duration colour reads one way on every layer order and door, range refusals share one text, and an interactive chart saves one snapshot
  • bytes and unordered collections are refused on scale domains and ranges, a dict is refused on selection fields, and a date refused on a category axis names its label
  • the non-finite annotation coordinate refusals share one predicate
  • a number, date or non-finite annotation coordinate on a categorical axis is refused, an unknown category is skipped with a warning, and a date or ISO label lands on its band
  • Axis(label_map=) relabels tick text only, applied in Rust at draw time, and a tick follows its axis under interactive zoom and pan whatever its text
  • an uncoloured annotation fill and an unstyled callout draw the theme's colours on every route, and the colour words none and transparent draw no paint
  • the statistic transforms' docstring examples run and render, and a reversed or equal density_data extent on the dict door is refused
  • the regplot and lmplot bin and aggregate remedies use the generic text, and every followed remedy renders
  • a figure refits when a later encode binds another column, through every layering door
  • an unordered or byte collection is refused on every ordered-pair parameter, a reversed or non-finite statistic range gets a typed refusal, and a list is accepted wherever a tuple is
  • BreakAxis(axis=) under a caller's CoordFlip means the caller's channel
  • a ferrum warning names the caller's line on the auto-raster, override and Rust render routes
  • a Date or Datetime column draws as a category axis in time order on every category channel, a Duration there is refused with a remedy, and datetimes sharing a millisecond warn once
  • an unparseable annotation colour is refused at construction in the caller's words, and break rollups name the caller's axis under a flip
  • a mapping is refused on every sequence parameter with no dict form, in one voice on the Python wrappers and every name-list constructor
  • a composite mark that resolved early rebuilds when a later encode binds another column
  • a figure call reads its encode= x/y as its own x and y, a jointplot limit keeps the caller's scale, and a 2-D histogram titles its axes by field
  • an interactive chart renders once, so its HTML and JSON come from the scene built at construction and each warning appears once
  • a zero-row leaf of a concat or grid beside a populated leaf draws its frame and warns once, and a composition whose every leaf is empty is refused however its layers were combined

Other

  • the contract text states every behavior the other-column bindings block shipped and names every reversal
  • every ferrum._core docstring example runs and renders under a must-pass gate
  • a date-category legend answers a format as its label-text twin does

0.25.0 — 2026-11-15

The structural wave. Statistics and transforms now treat empty, null, infinite and date inputs by one rule on every mark and door, impute= works on every key dtype, and annotations are placed in the caller's channels.

Behavior changes to check when upgrading: a bare-string groupby on a transform constructor (fm.Kde, fm.Bin, fm.Smooth and siblings) is refused (pass a list; a mark's own groupby="g" still means one column); a set, byte string or non-dict mapping on a sequence parameter is refused; a category annotation coordinate on a numeric or temporal axis is refused; an annotation with no colour draws the theme's text colour instead of #333; a zero-row frame through box, summary, error-extent and pivot statistics draws its frame and warns instead of raising; impute keyvals add to the observed keys and imputed rows are inserted at their key's place.

Added

None

Fixed

  • residplot refuses an x2 or y2 no residual point can draw
  • a regression refusal's remedy names a door that renders
  • a regression refusal's remedy names a door that renders
  • the null census names an empty band slot in the caller's channels
  • an emptied histogram or boxen group keeps its legend entry, panel or slot and is named
  • a violin or QQ group that cannot be estimated keeps its place and is named
  • a 2-D statistic group or panel that cannot be estimated keeps its place and is named
  • a horizontal catplot's messages name the channels the caller wrote
  • a group a log axis empties is reported once, by the log warning
  • the density statistics give one reason for one cause, and a QQ with nothing to plot warns and draws empty
  • a boxen whose every group key is null warns and draws empty
  • a null category or hue is dropped and counted on every mark, and a faceted impute draws its imputed points
  • an infinite value is unusable on every statistic and data transform, as a null is
  • a Logistic or Glm fit that cannot be computed warns and draws, as its siblings do
  • a date or datetime column groups on every grouped transform and statistic
  • a date or datetime key splits a mark into series on every grouping partition, and a key column no reader takes is refused instead of merged
  • one impute rule serves transform_impute and the encoding options, with imputed rows inserted at their key's place
  • impute= on a value channel completes every series a layer draws, on every key dtype, option and layer door, and an impute that cannot be honoured is refused
  • a hue-by-category cell whose rows are all unusable is named by a warning, and LayerChart reports a shared impute fallback once
  • a layer's routed rows, its series keys and a log axis's emptied groups each have one owner, so the drop, the impute and the draw agree on every layer
  • the impute docstring states the continuous-colour rule as its own sentence
  • a zero-row frame through a box, summary or error-extent statistic draws its frame and warns once instead of raising
  • a set, mapping or byte string is refused wherever a transform or impute option reads order from it
  • an Arrow column of a view type loads as its plain twin at ingest instead of crashing the process
  • a log-axis warning calls infinite values infinite and suggests only a domain that renders, and a facet-sort warning names the caller's channel
  • the Logistic, Robust, GLM and Smooth docstring examples run and render as written, and a test holds every example to that
  • a zero-row frame through a pivot draws its frame and warns once, publishing exactly the names later steps and drawn channels read
  • an annotation coordinate given as a category lands on that category's band on every route, a span between categories covers whole bands, and a category the axis cannot place is refused or warned
  • under a caller's CoordFlip an annotation's coordinates, refusals and warnings mean the caller's channels, and a bracket's below direction draws down
  • an annotation with no colour given draws the theme's text colour on every route, every groupby door refuses a bare string, bytes, set or mapping in one voice, and dict views are read in order like a list

Changed

None

Other

  • build the macOS wheel on macos-latest and pin the docs build to the locked zensical
  • build the docs with the toolchain uv.lock pins, transitive dependencies included
  • Revert "fix(api): a regression refusal's remedy names a door that renders"
  • each shared warning sentence is spelled once across the test files
  • the impute completion tests live in the one impute tests module
  • the contract text states the close batch's zero-row, log-axis, sequence-refusal, view-type and annotation rules as shipped
  • the batch's test modules share one svg digest helper and one interactive-scene accessor
  • five configure goldens carry the theme text colour on default-coloured annotation text
  • every groupby constructor's docstring states the forms it accepts and that a bare string, bytes, set or mapping is refused
  • a groupby docstring says a mapping other than a dict is refused

0.24.0 — 2026-11-09

Wave-1 hardening closes 24 issues (#92, #107, #118, #122, #126, #133, #136, #140, #148, #152, #162, #166, #179, #183, #190, #197, #198, #204, #208, #216, #220, #238, #240, #243) under one standing policy: refuse malformed, warn degraded. Every reported silent accept/degrade becomes a typed refusal or a named warning; four changes are disclosed as user-visible behavior changes (see Breaking, below); everything else is additive (a new error message, a new UserWarning) with no other rendered geometry moving.

Wave-2 break-axis geometry closes four more issues (#226, #228, #230, #231). #226 fixes the root pixel-range defect that silently discarded a broken axis's own scale padding on every effective break, and the tick-label rigid-translation fix that closes the label↔dash offset discrepancy it exposed. #228 unifies the annotation-clip contract with mark geometry: an extent annotation now clips into visible pieces instead of being suppressed whole the moment a gap touches it. #230 closes nine disclosed residuals of the pixel-space surgery model (same-axis merge, hidden-sentinel poisoning, per-segment vertex splitting, split-corner squaring, exact glyph anchors, split-key suffixing, per-facet-panel application, typed Polar/Geo refusal, and temporal gap bounds). #231 lands the discriminating coverage that pins all of it — an arrowed-segment golden plus e2e test, a tick-label-offset assertion, a CoordFlip physical-axis characterization test, and faceted-annotation coverage — with no behavior change of its own.

Wave-3 diagnostics sklearn-parity closes the pre-batch-I campaign's eleven wave-3 issues (#189, #203, #206, #209, #211, #212, #213, #217, #219, #222, #224 — the last of these in two parts, #224a and #224b) plus five research-confirmed findings (N1–N5), making the model-diagnostics layer's target handling, class resolution, cross-validation, compare= composition, embeddings validation, caching, and metric display truthful and sklearn-consistent. #203 is the first of its issues: the answer a corrupted classification target used to get depended on the target's dtype and on which resolution tier the model happened to land in, and every branch of that fork ended silently or raggedly. One matrix now covers the seven ModelSource classification methods and the eight classification methods of the precomputed path — nulls refuse, stray values warn (naming what actually happens to the rows: absorbed as negative on a curve, dropped from the matrix on a confusion matrix), and the total-mismatch refusal reaches the two builders and the one arity it never had. #206 and #224a close the two remaining classification_report gaps: the model path now translates model.predict into y's domain through the same correspondence the confusion fix built (closing the one classification surface #203 left outside the target-hygiene contract) and both classification_report_chart paths now order the class axis identically. Clean targets are byte-identical and no golden moved. #209 closes the multiclass partial-dependence gap: ModelSource.partial_dependence() kept only sklearn's [0] output for a multi-class classifier, silently discarding every other class's curve; it now emits one row group per class with a class_label column, mirroring the convention shap_values() already used — and shap_values() itself gains the one case neither method had answered, numbering a classes_-less multi-output regressor's outputs instead of labelling them all "target". #211 (with N2 and N3) restores two spec claims that had quietly gone false: discrimination_threshold(cv=<int>)'s hand-rolled KFold shuffled with random_state, so "ignores random_state" was no longer true, and a training fold could land with only one class and no warning. It now resolves via sklearn's own unshuffled StratifiedKFold convention — no seed to thread, so the claim is true again — and warns by name when a training fold is left with one class. #213 closes the wave's compare= composition gap: discrimination_threshold_chart was accepting compare= and dropping the model column at unpivot, so the models it was asked to compare rendered as one interleaved zig-zag under a single pooled optimum — it now composes small multiples, one panel per model, each panel built by re-entering the single-model builder so its optimum and threshold rule are per-model by construction. #212 closes the last compare= gap in the classification visualizer family: CalibrationVisualizer accepted a symmetric *models overlay but refused compare= outright, so the one multi-model shape it offered was also the one that reports no .score() and no single headline number — asking it to measure one model against rivals meant giving up the base model's own answer. It now accepts both idioms, for the two different questions they ask. #222 (with N4) closes the embeddings perplexity gap: .embeddings(method="tsne")'s default forwarded unclamped to manifolds-rs, so the unmodified default refused on every dataset of 31 rows or fewer; it now adapts to min(30, n_samples - 2), and an explicit out-of-range or non-finite value refuses by name instead of leaking an internal message or panicking the PyO3 boundary. #224b (with N5) closes the cache gap the same research pass confirmed: BaseSource._cache_key's repr() fallback could collide two logically different calls onto the same cached frame (a cv splitter's reused memory address, a truncated numpy repr, a truncated shap_values(background=) string) — it now normalizes array-likes centrally and never caches a value that stays unhashable after that. #189 closes a narrower gap on the same mark #213 touches: an explicit mark_discrimination_threshold(optimum_label=True)/(threshold_line=True) used to vanish silently when metrics= excluded "f1"; it now refuses, naming the flag and metrics=, while the un-passed default keeps its pre-existing silent downgrade. #219 settles which surface owns a metric: annotate_auc/annotate_ap/annotate_brier drove three surfaces at once — the chart title, the legend entry and the endpoint overlay — so a three-class ROC printed each class's AUC three times, and the title printed it whether or not the flag was set, which meant annotate_*=False never actually took the number off the figure. The overlay now owns it alone, the titles keep their plain names, and the flag means what it says. The remaining research finding, N1, closes alongside #217, the pyarrow-table asymmetry the same research pass was investigating: #217 as filed turned out to be a phantom, already fixed by wave 1's 545be19a, and closes at origins on that evidence rather than on anything in this wave — but underneath it, N1 found and fixed a live, deeper defect in the same code path: a multi-chunk pyarrow.Table silently truncated to its first chunk on the raw-data rank path (measured on a 200-row fixture split into two chunks: variance moved from 1.169347 to the correct 1.018316).

Wave-4 figure helpers closes ten issues (#90, #121, #130, #131, #192, #193, #194, #199, #200, #201 — the last in two parts, #201-B and #201-D) plus a zero-extent-rect rider in the bar renderer. The theme is a parameter that was accepted and then not consulted: a channel's title= reached axes but no legend (#90), bins= reached a door that read only integers and silently fell back to Sturges (#193), multiple="stack" reached displot's own position adjustment but never the binning that makes a stack possible (#194), line_kws reached a rewrite that ran after the layers it meant to style existed (#199), and the hue= column reached an ecdf Bin that had already thrown it away (#200). Three more are cases of the wrong question being asked: eligibility for the single-axis exemption asked the composed spec's placeholder root mark rather than the marks that draw (#201-D), the hue= typing helper asked whether the caller passed an object rather than whether they stated a type (#130), and catplot(kind="count") asked the raw argument what its seven siblings ask the resolved channel (#192). #121 takes the iso-line grouping key off the color channel it was missing against and puts it on detail, so the reference curves finally wear the grey they always declared. #131 adds no behavior: it puts mark_tick into the mark×dtype color-parity sweep it was missing from, so the read batch E gave it cannot quietly go away again. Nine of the ten move user-visible output; every one is disclosed under Breaking, below, with the measured before/after. The wave's closing review added a second round of user-visible change on top: multiple="dodge" now bins on shared edges and subdivides its band (which reaches every dodged span mark, not only displot, and closes a silently dropped bar along the way), displot answers in its own voice instead of leaking mark_histogram()'s, the fit paths accept an encoding object on every method, and an all-zero-extent bar batch says why it drew nothing. Those are disclosed under Breaking too.

Wave-5 coordinate, scale and mark fidelity closes eleven issues (#95, #111, #113, #124, #153, #171, #172 — in three parts, #172(1)/(2)/(3) — #182, #184, #185, #247 in two parts, #247A and #247B) plus #94, which #182's gate closes with it, and three fixes added mid-wave that no issue named. The theme is a fact that was inferred where it should have been declared. A bar's zero-anchored scale was indistinguishable from one the caller wrote, so an overlaid bar bypassed the cross-mark domain union and drew against a domain its own axis did not describe (#247A). Two mark drawers inferred the value axis from a y-axis idiom that CoordFlip invalidates, so a flipped area closed its fill on the wrong edge and a flipped ribbon drew nothing at all (#172(2)/(3)). A sort shorthand's channel token was read in rendering space while the caller wrote it in authored space, so sort="-y" stopped working the moment a flip was added (#95). Layout inferred that a hidden axis still needed its gutter (#182), a composite inferred which panels were marginals from the grid's shape, and a layered chart inferred its ordinal axis from the chart-level column alone. Four things are consequently now declared on the wire — Layer.coord, MarkKwargsSpec::value_axis, ScaleSpec::Linear::system_injected, and CompositeNode::Composite::extent_alignments — each additive and skip-when-absent, each proven byte-stable by round-tripping a pre-change payload, and each landing with the heuristic it replaces deleted rather than left beside it. Alongside them: a declared or defaulted category channel now bands whatever its dtype (#171 + #185), the three position adjustments agree on which dtypes they can read and a stacked time series renders where it used to raise (#184), nice=True on a typed scale class stops being discarded (#153), a legend swatch shows the encoding it stands for (#111), a band exists only if something is drawn in it (#247B), and the shared ordinal axis covers every layer's categories so a layered chart stops silently dropping marks (a user ruling, added mid-wave). That last one is also where the wave's closing review found it had overclaimed: the ordinal ladder read the CHART's flip for every layer while its numeric sibling read each layer's own, so #172(1) was honored on continuous axes and still silently dropping marks on categorical ones. Both halves are closed now — the ladder reads each layer's own coord, and the member a shared panel genuinely cannot hold refuses loudly instead of rendering without it — and the corrected scope is stated in the #172(1) entries below rather than left implied. Every user-visible output change is disclosed under Breaking, below, with the measured before/after.

Wave-6A structural hygiene works through ten issues (#105, #110, #145, #146, #147, #158, #163, #196, #229, #237). Most of it is internal and byte-stable by proof: four modules past the repo's own promotion trigger get job-named homes, and four pieces of untyped state (a string sentinel, a conflated integer, four parallel booleans, a stringly axis) become types. The wave's research found four live defects inside what was filed as hygiene, each named under Fixed: a cleared paint lost to the color channel (#110), an interactive keyed transition wrote onto the wrong instances whenever chrome shared the mark buffers (#105), and an independent-x facet axis ignored Theme(cull_threshold=) (#146) and dropped a temporal tick format (#147). The deliberate output changes are listed under Breaking, and the module moves under Internal. #229(4) is closed WONTFIX-by-design (see Internal).

Wave-6B single-home dedup and rule ownership works through eleven issues (#119, #123, #128, #137, #149, #164, #165 in four parts, #176 (one item), #195, #214, #239); #218 is closed on evidence already in the tree. Each rule that was written in more than one place gets one owner (Inset bounds classification, the compare= merge, the aggregate vocabulary, the secondary-key rule, the registry-consumer lint), and the byte-stable half of that is listed under Internal. The wave's research found three live defects inside what was filed as dedup: a layer's style leaked into kwarg-less sibling layers (#119, listed under Breaking because it changes rendered output on purpose), Shape(scale=) was inert so pairplot(markers=) ignored its argument (#123), and a string conditional literal on a numeric channel repainted the mark's fill on selection (#128). Inputs that were accepted and did nothing, or were silently laundered, now refuse by name under the same refuse malformed, warn degraded policy as wave 1; each such refusal is listed under Breaking. The aggregate vocabulary's three surface changes are disclosed as one entry. No golden moved.

Wave-6C's disclosed changes, below, are #120(6)'s numeric-door unification, #120(7)/N2's auxiliary-warning-count fix, #120(9)/N1's layer shared-axis refusal, #139(2)(3)(4)'s padding.auto hardening, #159's ScaleSpec tag-vocabulary publication, #159(10)'s override-propagation fix, #167(1)'s Utf8View/LargeUtf8 normalization, #176(7)'s violin hue warning, #176(8)'s Layer(transforms=) refusal, #176(10a)(10b)/N5's facet-state merge, #176(11)/N3's Facet(sort=) fix, #245(3)'s conditional-collision message, N4's BreakAxisIneffective domain-order fix, and F19/F19b's interactive-dash fix. Also in this wave: #221 (diagnostic parameter-forwarding test coverage) and #235 (a headless-Chrome pixel harness for conditional encodings).

Wave-7 capability closes four issues (#108, #116, #141, #161), each turning an accepted-but-inert parameter into real behavior. #108: a range-only opacity scale over a constant column is honored (0.3 → 0.5 in the reported case). #161: mark_swarm(size=) is the drawn diameter (default radius 3.385 → 2) and the placement diameter, centres sit size + spacing apart (was 2·(size + spacing)), packed at render time in pixel space. #141: a secondary y axis can draw its own gridlines on request, and every existing dual-axis chart stays byte-identical. #116, the only new subsystem: size= on a line is a per-vertex width (a taper) on every backend, with its constant twin, a refusal when size and stroke_width both set one line's width, line-swatch size legends, and a conditional size honored interactively. User rulings made during the wave add four more disclosed changes: a non-positive constant size= refuses on mark_line and mark_point, a later layer's auxiliary channels promoted to the chart like color (superseded below: the layer-encoding model instead keeps every binding on the layer that declares it), a constant size= refuses on the eleven primitive marks that never drew it and on every composite mark whose emitted marks never draw it, and a size conditional restyles only the lines it reaches. The wave's close adds six more: one Rust table decides which style fields each mark draws at every door (a field the mark never draws refuses, and a drawn field missing its enabling input warns), blend= draws on every mark in both outputs, a conditional of any channel restyles only the marks that declared it, a selection reacts only to input on its own chart's panels, a swarm packs at the largest dot it draws, and a style refusal raised while a figure builds its chart names the figure. The fixes are under Fixed and the refusals under Breaking changes, below.

Three defaults change, each disclosed under Breaking with exact before and after values (#135, #157, #125). Automatic edge padding (padding.auto) is on by default and owned by one built-in default, so a chart whose last continuous-axis label overhangs the canvas now reserves room for it. A band scale named with no padding draws exactly like the auto-inferred categorical axis instead of applying a hidden 0.1. clustermap draws heatmap's default white cell border through one shared helper. A scale-type switch through .override(<channel>_scale_type=...) keeps what the padding you set meant under the new type. Charts that exercise none of these render byte-identical. The wave's close settles three more things, each under Breaking changes with measured values: padding.auto judges a rescue by how many of an x axis's own labels it loses (an even thinning of a continuous axis is not a loss), a faceted chart draws the axes the layout lays out for each panel (titles only on the outer panels, a hidden axis hidden, explicit-range category axes on their marks), and every width and height door refuses a malformed size at the call in its own voice.

Layered charts follow one model. Each layer draws its own bindings over exactly one parent (the chart it is attached to, or what you write on a + composition), never a sibling's; each layer computes its own statistics at its own grain; every channel accepts the same aggregate= and bin= on every door; one scale and one legend per channel are built from every layer that draws it; and +, Chart.layer, fm.Layer(data=), SecondaryY and every fm.LayerChart route, static and interactive, draw the same chart. Several layered charts draw differently as a result, each listed under Breaking with how to get the old picture back, and the rest are fixes listed under Fixed. Four reference images and the render digests of three pinned charts moved, each after its before and after renders were reviewed (last bullet under Breaking).

Added

  • A layer carries its own coordinate system, on the wire (#172(1)). Layer gains an additive coord slot (skip-when-absent), and Chart + Chart — hence LayerChart, .interactive(), and resolve={"y": "independent"}, which all merge through it — carries each secondary member's own coord onto the layers it contributes instead of dropping it. fm.layer(bar, arc_chart.coord(fm.CoordPolar(theta="x"))) now renders the arc member's wedges on both output kinds rather than refusing on the interactive one, and fm.layer(bar, point_chart.coord(fm.CoordFlip())) renders the point member flipped rather than silently unflipped, which was the half of the defect that produced no diagnostic at all. A layer's coord places that layer's marks; the panel's chrome, aspect ratio and scale domains stay the chart-level coord's. So what ships is: honored where the panel can hold the member, refused loudly where it cannot — on both output kinds, and never a silently different chart. A per-layer coord is unplaceable in two ways, and both refuse with the same typed ValueError naming the layer and the coord:

    • it declares a panel property instead of a placement (xlim=/ylim=, expand=False, clip=False, CoordFixed(ratio=)) — layer 1: fm.CoordFixed declares a fixed aspect ratio ... which belongs to the panel every layer shares;
    • or its channel exchange lands a column on an axis that cannot draw it — layer 1: fm.CoordFlip leaves this layer's positional channels in the opposite space from the panel's axes, and the panel's y axis is continuous while the column that lands on it ('cat': Utf8) cannot be drawn against a continuous axis. This is fm.layer(bar, point.coord(fm.CoordFlip())) over a shared x="cat:N", y="v:Q": the exchange asks the panel's quantitative y to hold a categorical column, and one merged panel cannot hold both. Move the coord to the first member (whose coord IS the panel's), or give the member its own y with resolve={"y": "independent"}, which genuinely can hold it.

    Each refusal is scoped to the routes that actually cannot honor the declaration, which is not the same set for the two reasons: the panel-property reason refuses on all three merged-flat routes, while the channel-exchange reason refuses on the two that put every member on one shared axis pair (static chart + chart, .interactive()) and renders on resolve={"y": "independent"}, where the member's own y slot resolves from its own post-flip column. A panel-scoped member coord still renders on the static shared-y route too, where each member is its own composite leaf and nothing is dropped. The asymmetry is deliberate: refusing where a route can honor the declaration would regress a working composition, so it is the routes' real capabilities showing through rather than two answers to one question. Not addressed and flagged rather than half-built: interactive zoom over a mixed-coord panel, since a polar layer's wedges are baked polar pixels and WASM zoom would treat them as Cartesian. Static output is exact. - mark_style carries a value_axis declaration (#172(2)). Additive and skip-when-absent, reusing the enum GH #77 added for exactly this purpose rather than introducing a parallel one. desugar_density stamps it, so a producer-horizontal series is a stated fact instead of something the renderer guesses from traced geometry. The heuristic it replaces (traced_edge_axis, which inferred horizontality from vertex order and misclassified a vertical area whose rows arrive unsorted) is deleted. - ScaleSpec::Linear carries a systemInjected provenance bit (#247A). Additive, skip-when-false, so every pre-existing payload's bytes are unchanged. It distinguishes the zero-anchoring scale ferrum injects on a bar from one the caller wrote, which is the distinction the cross-mark domain union needs in order to know whose word to take. Disclosed: the wire key is hand-settable. The Python producer crosses the same boundary every user dict crosses, so scale={"type": "linear", "systemInjected": True} is accepted on a linear scale — a caller can assert ferrum's authorship of a scale the caller in fact wrote, and that leaf then yields to the union. Since the field's stated purpose is telling the two authorships apart, the advisory nature of that one spelling is disclosed rather than guarded; it is pinned by tests/test_layer_union_provenance.py::test_hand_written_system_injected_scale_is_accepted_and_yields. The Chart.override(...) registry deliberately excludes the leaf — there is no .override(y_scale_systemInjected=True) — with a test guard asserting the excluded key really is in the gate's accepted-key table, so the exclusion cannot rot into a coincidence. - A composite grid declares which cells share an extent (#182 follow-on). CompositeNode::Composite gains extent_alignments: Vec<{follower, leader, axis}> (cell positions, additive, skip-when-empty), emitted by the JointChart and ClusterMapChart lowerings, so "this panel annotates that one" is declared rather than recognized from the grid's geometry. The shape predicate that had been guessing it is deleted: a clustermap is also a 2x2 grid with a hole, so the predicate separated two different figures by which corner was empty. A declaration naming a nested composite cell cannot be honored and now warns (RenderWarning::ExtentAlignmentUnresolvable) naming the follower, leader and axis, rather than dropping silently. - stroke_dash= accepts the named linetypes on every surface that accepts stroke_dash= (#124). mark_line(linetype="dashed") worked and mark_line(stroke_dash="dashed") raised, because the gate read the caller's spelling rather than the canonical key, so the canonical form fell through to float("dashed"). Measured, the delta was exactly the five named linetypes — comma strings with or without spaces, float lists, int lists, tuples, both empty spellings and the junk refusal were already symmetric — so the canonical kwarg was a strict subset of its own alias, and it is now the superset. One normalization serves four surfaces: MarkBase mark kwargs, and annotate_hline/annotate_vline/annotate_abline, which take stroke_dash= and have no linetype= parameter of their own, so the named forms were unreachable there by any spelling. See Breaking for fm.SelectionMark, which went the other way. No value that was accepted before renders differently: 138 tests pin the form matrix across all four surfaces on the rendered stroke-dasharray, not on intermediate values. - mark_area(position=Stack()) over a date or timestamp x renders (#184). It raised for every input before. This is not a second keying model bolted on: a stack over a continuous quantitative axis already binned by exact value (an Int32 x:Q stacks to its group sum, measured at ladder max 9.0 against an unstacked control of 6.0), so exact-value keying was the established behavior and Timestamp was the one dtype the reader could not spell. - Bin(bins=), mark_histogram(bins=) and displot(bins=) accept a closed binning vocabulary (#193): "sturges", "fd" / "freedman_diaconis", a positive int (an exact bin count), a positive finite float (a bin width), or None. It is mutually exclusive with bin_count/bin_width — naming both refuses rather than dropping one answer. Everything outside the set refuses with a typed ValueError in the voice of the entry the caller invoked; see Breaking, below, for what this changes for callers who were relying on the old silence. ferrum._core.validate_bin_rule(bins, ctx) is the new shared replay hook that lets a figure entry refuse in its own name without a second copy of the vocabulary living in Python, mirroring the existing validate_scale_dict. - mark_histogram(position_by=) (#194) names the column the multiple= position adjustment groups by, so forwarding the mode to the desugar does not cost the caller its grouping to the desugar's own position overwrite. It accepts a column name (str) or None; anything else refuses by name — mark_histogram: position_by must be a column name (str) or None, not Color; received Color('g')., with Pass the column name itself: position_by='g'. appended when a channel object was passed. It is deliberately documented as a column name rather than the figure layer's "str or encoding" spelling: position_by feeds Stack(by=)/Dodge(by=), whose contract is Optional[str], and unwrapping would silently widen a contract this change is only now creating. - layer_kwargs={"<layer>": {...}} aims mark kwargs at one sub-layer of a composite mark (#199). A composite mark's own **mark_kwargs reach every layer it emits, so a bare stroke= on mark_smooth repaints the CI band as well as the fit line; layer_kwargs= is the narrower spelling. It is keyed on the same sub-layer vocabulary (LAYER_NAME_CATALOG) that the figure-level mark={...} override already uses, and it is owned by the pending dispatcher rather than by any one mark — so it is live on every composite routed through it, not only mark_smooth: mark_boxplot(layer_kwargs={"median": {...}}), mark_violin, mark_pr and the diagnostic family all take it. An unknown sub-layer name refuses by name — measured, mark_smooth(layer_kwargs={"lines": ...}) gives mark_smooth(layer_kwargs={'lines': ...}): unknown sub-layer 'lines'; this chart's sub-layers are ['line', 'metrics', 'ribbon']. Pass style that should reach every layer as a plain mark kwarg instead, e.g. mark_smooth(opacity=0.5)., and a mark with no named sub-layers says so: mark_histogram(layer_kwargs={'bar': ...}): unknown sub-layer 'bar'; this chart has no named sub-layers to aim at. Pass style ... mark_smooth declares the parameter explicitly and validates eagerly, so a typo refuses at the mark_smooth(...) call; every other composite takes it through **mark_kwargs and refuses at render — one rule and one message, two timings. When both spellings name the same key the narrower one wins — see Breaking, below. lmplot(line_kws=...) is unchanged and now forwards as layer_kwargs={"line": ...}. - CalibrationVisualizer(model, compare={"rival": other}) now works, with the same distinguished-base semantics as ROCVisualizer/PRVisualizer/DiscriminationThresholdVisualizer (#212): the positional model is the base (labelled "base"), has_score is True, .score() scores that model, and _metrics carries a single calibration_error — the base model's own, never pooled across rivals. The call previously raised TypeError: CalibrationVisualizer.__init__() got an unexpected keyword argument 'compare'. The variadic *models overlay is unchanged (symmetric: has_score=False, score() returns 0.0, one calibration_error[<model name>] key per model), and the two are mutually exclusive — several positional models together with compare= raises ValueError naming both idioms. fit resolves compare= through the same helper the three curve visualizers use, so compare={"base": ...} and a non-dict compare= refuse there with identical messages, and the rendered chart is byte-identical to calibration_chart(model, X, y, compare=...). No existing call's output moved and no golden changed. - A Rust TransformWarning channel (#162) now names every transform-level degrade that used to happen in silence — the all-NaN-panel family (Smooth, Robust, RegressionData, LoessData, Kde), stat_smooth's gam k clamp, LetterValue's named-depth cap, and Impute's fallback shapes each surface a UserWarning naming the transform, the group (when grouped), and the reason. Render output is unchanged; only the diagnosis is new. - A null groupby key now warns instead of silently pooling into an unlabeled group, across the whole partitioning family (#179/#197) — see Breaking, below, for the accompanying ordering and null-handling changes. - mark_raster() validates its aggregate/field combination eagerly, at call time (#136), instead of deferring an invalid aggregate to a confusing render-time Rust error, or a missing field= to whenever .encode() happened to resolve. - _Facet.ncols/.nrows (Chart.facet(ncols=)/nrows= and encode(facet=fm.Facet(columns=))) now validate as positive integers at construction (#238) — a non-positive or non-integer wrap count used to construct silently and either render nonsense or get silently overridden by inference. - BreakAxis(gap=...) validates at construction (non-finite, malformed-shape, and reversed pairs all refuse) AND at the Rust wire gate for a hand-built chart_config dict (#92); the annotations[]/structural[] array-item key gate closes the one remaining carve-out in the chart-config wire validation (#148) — an unknown key inside an annotation or structural item now refuses by name instead of silently vanishing or slipping through. - An ordinal-domain scale that resolves to a sub-pixel bandwidth now warns (GroupCardinalityDegenerate, #183), and a mark builder that discovers it has nothing to draw now names why instead of rendering a silent blank panel (MarkBuildEmpty, #118) — at five sites: mark_segment missing x2/y2, mark_image with no source, mark_geoshape with no geometry column at all, mark_rect's box body on a continuous axis, and mark_image under CoordPolar/CoordGeo. Legitimate empties (a zero-row input, a documented per-row skip, a facet panel empty after a filter) still render silently, by design. - The in-gap annotation-suppression warning now rolls up per axis instead of firing once per suppressed primitive (#240-3) — 4 annotate_hline() calls (8 primitives) now warn once, not eight times. - A figure-level composite whose leaves structurally clone the same config mistake (e.g. Repeat/facet applying one ChartConfig override to every panel) now warns once instead of once per leaf (#140); a leaf's own data-condition warnings (a degrading transform, cardinality, an empty mark build) still fan out per leaf unchanged. - catplot(hue=fm.Color(...), hue_order=[...]) now composes instead of raising TypeError on every kind (#190) — hue_order= wins over a channel's own sort=, matching the order= precedent; a channel object's own sort= survives when no hue_order= is given. - An unknown cmap=/scheme= name now refuses at Python desugar (mark_raster, mark_hex, mark_contour, heatmap, clustermap, RenderConfig) and warns at the Rust continuous-scheme resolve site instead of silently falling back to Viridis with no diagnostic (#240-4a/4b). - BreakAxis(gap=...) bounds now accept temporal values — str (ISO-8601 date/datetime), datetime.date, datetime.datetime, numpy.datetime64, or pandas.Timestamp — coerced to epoch-milliseconds UTC at construction through the same conversion the encoding layer's TimeScale-domain coercion already uses (#230). A gap pairing a numeric bound with a temporal one, or carrying an unparseable string, refuses at construction naming the value; a temporal bound that lands outside a non-temporal axis's domain warns BreakAxisIneffective at render time rather than refusing. The break-axes guide's temporal example, previously documented as unsupported, now renders. - numpy.datetime64 is now accepted wherever ferrum accepts a temporal value in Python: a scale={"type": "time", "domain": [...]} domain element and an annotation coordinate (ann.text(x=np.datetime64(...)), every annotate_*/ann.* coordinate) join BreakAxis(gap=...), which accepted it already. The datetime64 conversion moved out of BreakAxis's own module into ferrum.annotation.coords.temporal_coord_to_epoch_ms, the one canonical Python-side temporal seam all three go through, so the claim that they apply "the same conversion" is now literally true rather than true for three of four types. A datetime64 domain element previously raised TypeError, and a datetime64 annotation coordinate reached json.dumps and died with "Object of type datetime64 is not JSON serializable". One surface is deliberately not widened by this change and stays narrower: the Rust-backed ferrum.TimeScale(domain=[...]) constructor extracts its domain in Rust and still refuses numpy.datetime64 with its own accepted-forms TypeError. Spell that domain as a raw scale={"type": "time", "domain": [...]} dict, or convert to pandas.Timestamp/datetime, until the Rust extractor is widened to match. - BreakAxis(gap=...) bounds now accept numpy numeric scalars (np.int64, np.int32, np.float32, ... — what df["v"].max() hands back) alongside int/float. Only np.float64 worked before, and only because it subclasses float; the encoding layer's domain coercion has always accepted all of them. bool and np.bool_ stay refused: a boolean is not a break region. - Theme(cull_labels=) separates "may labels be dropped" from "how much gap" (wave 6A, #146). cull_threshold used to answer both with one integer, so 0 meant both "no gap" and "never cull", and "keep an 8 px gap but never drop a label" was unspellable. The new boolean key carries the permission alone: Theme(cull_threshold=30, cull_labels=False) holds every presentation stage to a 30 px gap and then keeps every label, landing flat or rotated depending on density. Every existing spelling keeps its meaning (cull_threshold=0 is still gap 0 and never cull; a positive value still permits culling), and the default is unchanged (gap 8, culling permitted). See ferrum-spec.md §3.13's 2026-09-20 note. - ferrum._core.mark_kwargs_fields() publishes every mark_style key (wave 6B close). It returns MarkKwargsSpec's wire keys in declaration order, read from the struct's own serde field list, so Python code and tests can enumerate them without parsing Rust source. - A style field that draws only with another input warns when that input is missing (wave 7 close). Before: the field was accepted and drew nothing, silently. After: render warns once per layer, naming the field and the missing input, e.g. mark_bar(stroke_width=3) with no stroke= warns mark_bar: stroke_width has no effect on this bar mark without a stroke color (stroke=) or a numeric stroke_width encoding (which stroke='none' turns off); it was ignored, and mark_segment(arrow_size=12) without arrow=True warns mark_segment: arrow_size has no effect on this segment mark without arrow=True; it was ignored. A stroke field's enabling input differs per mark: a point also takes a hollow outline (filled=False) or a numeric stroke_width encoding, and an area also takes border lines (line=True or borders=True). The other enabling inputs are a quantitative color encoding (a polygon's cmap), raster data from mark_raster() (an image's cmap), a url encoding (an image's width/height), a band axis paired with a y2/x2 range (a rect's band_size), both a text encoding and the heatmap shape, one cell per x/y band pair with no x2 or y2 range (a rect's font_size), and both dx and dy (a label's offsets, since a label places itself unless both are set). A layered chart prefixes layer {i}:, and a composite names itself (layer 3: mark_boxplot: font_size has no effect on this rect mark without both a text encoding and the heatmap shape (one cell per x/y band pair, no x2 or y2 range); it was ignored). The output is unchanged; set the input, or drop the field. - ferrum._core.mark_style_fields(mark) publishes which style fields each mark draws (wave 7 close). It returns each field the mark draws, mapped to the input it needs to show (None when it always shows), from the one Rust table every door now reads; ferrum._core.style_table_marks() lists the marks, and blend_accepted_values(), stroke_cap_accepted_values() and stroke_join_accepted_values() publish those vocabularies. - a line can declare that it rises from its value axis's zero baseline at each series' first observation

Fixed

  • Layers attached to an aggregated chart compute their own statistic. fm.Chart(df).mark_bar().encode(x="g", y="mean(y)").layer(fm.Layer(mark="text", encoding={"text": fm.Text("y", aggregate="mean")})) labels each bar with its mean, where it raised stat_aggregate: column 'y' not found, and an attached point layer with its own color= draws the mean per color. Each layer draws the number of marks it draws alone, whatever layers sit beside it.
  • Faceted charts draw layers over other data. A faceted chart with a fm.Layer(data=) layer or a + operand over another frame dropped that layer's rows; the layer now repeats in every panel, with no false "null in its groupby key" warning.
  • Ranged bars and pies render from raw rows. mark_bar().encode(y="g", x="min(v)", x2="max(v)") draws one bar per g from its minimum to its maximum, mark_arc().encode(theta="sum(z)", color="g") draws a pie, and radius="mean(z)" a radial chart. aggregate= works on x2, y2, theta, radius, theta2 and radius2.
  • Labelled pies render. mark_arc() + mark_text() and arc.layer(fm.Layer(mark="text")) under CoordPolar used to fail; with fm.Theta(..., stack=True) on the text, each label sits in its slice, halfway out by default or at its radius. An unstacked label beside a pie warns how to place it.
  • fm.Color("z", bin=True) draws a binned legend over unchanged rows. The same works on Fill and Stroke, with bin={"bin_count": 3} or a fm.Bin for the bin settings. The bins are cut from the values of every layer that draws the color, statistics that group by color group by bin, a line or ribbon draws one series per bin, and an area one band per bin.
  • A bin beside two aggregates computes both. mark_bar().encode(x=fm.X("v", bin=True), y="mean(y)", color=fm.Color("z", aggregate="mean")) draws one bar per bin colored by its mean z; it was refused.
  • fm.Layer(encoding=) reads strings like encode(). {"y": "sum(y)"} aggregates and {"y": "r:Q"} binds r as a number, where both were read as column names; a plain string on color, shape or stroke_dash is drawn with its legend, where it drew one color with no legend.
  • size, stroke_width and the opacity channels accept fm.SqrtScale, fm.PowScale and fm.LogScale. At 0.23.0 a non-Linear scale on size mapped linearly and was silently ignored, so the power-scaled bubble recipe's fm.SqrtScale(...) drew the same linear-area bubbles a fm.LinearScale() would have; these scales now compute as written, and the recipe's bubble areas grow with the square root of the value. reverse= and an explicit domain now apply on these channels too.
  • SecondaryY over a histogram or a smooth renders. mark_histogram().encode(x="v") + fm.SecondaryY("r", mark="bar") draws its bars from zero on a right axis, mark_smooth(...) + fm.SecondaryY("r") renders with or without ci=, and + fm.SecondaryY("count") is refused with a message saying how to compute the count.
  • Two composite charts compose whatever their internal names. mark_boxplot() + mark_violin() and mark_qq() + mark_qq() were refused because their internal steps shared a name; both now draw.
  • A chart with nothing left to draw says so, whether a filter emptied it or its data started with zero rows. The chart draws its frame and axes and warns the chart has no rows to draw after its transforms; its panel is drawn empty (a faceted chart draws no panel and warns ... no facet panel is drawn), on a plain Chart, +, .layer() and fm.LayerChart static and interactive, where a filter-emptied chart used to render blank in silence and a chart whose data started with zero rows rendered a placeholder comment with no warning at all. An fm.LayerChart overlay in which every member has zero rows now draws instead of raising, and warns once for the whole overlay rather than once per member. A grid composition (hconcat, vconcat, concat, repeat, pairplot, a joint plot or a clustermap) whose every child has zero rows still raises, unchanged.
  • A data-aware sort reads a chart's own rows on every route, not only a layered chart's axis. fm.X("g", sort={"field": "y", "op": "mean"}) beside y="mean(y)" now orders by each category's mean of y on a plain chart, a facet panel, a composite leaf and the color/shape/stroke_dash legends, where those five warned and fell back to insertion order; op="count" now counts observations instead of sometimes counting aggregated groups.
  • A stacked, dodged or jittered mark's tooltip, label, color and key read the row's own value. Before, a stacked mark_text's label, a tooltip or a color bound to the stacked field read the cumulative stack top instead of that row's value, a null row's label read 0 instead of nothing, and a key= on the adjusted field re-keyed a mark whenever a sibling's height changed. Every one of them now reads the same value a fm.Dodge() twin would.
  • An explicit axis title follows its channel under CoordFlip. A flipped chart used to draw the title twice or on the wrong axis.
  • Grouped boxen and QQ plots drop rows with a null group, with a warning, and grouped logistic and GLM fits skip a group they cannot fit. fm.LetterValue, fm.QQ, fm.Logistic and fm.Glm take groupby=.
  • Hover tooltips on layered charts. Each layer's tooltip shows the fields that layer draws, and a selection's fields are added to every layer whose rows have them.
  • Stacked axes reach the top of the stack. A label placed on stacked bars, and stacked bars composed with other marks, used to cut segments off the axis; every route now spans the full stack.
  • A reference rule added with + keeps its own look. fm.Chart(df).mark_point().encode(x="x", y="y", color="class") + fm.Chart(df).mark_rule().encode(y="ref") used to draw the rule once per class, in the class colors, dashes and widths. It now draws one gray dashed rule in its own style, and the scatter keeps its class legend. To color both, bind the color on the composition: (scatter + rule).encode(color="class").
  • A histogram, density, smooth or function line keeps what you wrote on its axis. mark_histogram, mark_density, mark_smooth and mark_function point x or y at the values they compute, and doing so used to drop everything you wrote on that channel except the field name. A title, an axis title, a number format and a scale you wrote are now kept, in either orientation and whatever order you call .encode() in. Charts where you wrote no title still show the field name.
  • Each chart in a + b keeps its own transforms. A chart with its own .transform(...) steps, a density or histogram, or a per-layer statistic used to run on the other chart's rows when composed with +, or fail. Each now draws what it draws alone, as fm.LayerChart(a, b) draws it: a density plus a rug draws one tick per data row, two densities with different bandwidths draw two different curves, a filtered chart beside an unfiltered one keeps every row of the unfiltered one, and the combination also works with fm.SecondaryY, facets, resolve={"y": "independent"} and .interactive(). Charts over two different frames whose column names overlap compose too.
  • A polars LazyFrame renders, and a file path is refused clearly. fm.Chart(df.lazy()) failed at render with has no len(); it now draws exactly what the collected frame draws, on every route, and is collected once per render. A file path (str or pathlib.Path) passed as data is refused with TypeError: Unsupported data type: ... on every route, including fm.Chart(path).layer(fm.Layer(data=df)), which used to draw the layer's data and ignore the path. pandas and pyarrow data now read exactly as polars data does: an annotation placed at a category lands on that category, and a layered interactive chart with shared scales renders.
  • A later configure_padding call no longer turns padding.auto off (#135). Every PaddingConfig used to put auto: false on the wire, even one that only set a side, so configure_padding(auto=True).configure_padding(left=5) merged to {"auto": False, "left": 5.0}. It now merges to {"auto": True, "left": 5.0}, and a composite parent's auto=True reaches a leaf that sets its own sides. PaddingConfig().to_dict() is {} (was {"auto": False}).
  • A dual-axis chart slot-tags its primary y axis wherever it sits. On a chart with a secondary y axis (an independent-y layer or SecondaryY), every y axis on the panel carries its y_slot tag, slot 0 for the primary. Before: with .configure(axis_y=fm.AxisConfig(orient="right")) the primary y axis was left untagged, so the panel's slot tags were ["1"], breaking the rule that every y axis on a multi-slot panel is tagged. After: the tags are ["0", "1"], and the static SVG wraps that primary axis in <g y_slot="0">. Nothing moves on screen, and charts with one y axis are unchanged.
  • .override(width=None) and .override(height=None) are no override. Before: they failed at render with TypeError: float() argument must be a string or a real number, not 'NoneType'. After: the chart's own size stands, and the render is byte-identical to the chart without the override.
  • A None scale override is no override, on every scale leaf (#157). .override(x_scale_domain=None) over a chart's own LinearScale(domain=[0, 10]) erased that domain; the chart's own value now stands, and .override(x_scale_domain=[0, 5]).override(x_scale_domain=None) renders the chart's own [0, 10]. .override(x_scale_padding=None) raised a ValueError and is now a no-op too.
  • A malformed scale override value is refused naming the path you wrote (#157). A malformed TimeScale domain element refuses as Chart.override(x_scale_domain=...) Cannot parse TimeScale domain value 'garbage' ... instead of with an unnamed ValueError, and an unencodable value no longer escapes as a raw TypeError.
  • A malformed scale= dict on a CoordFlip chart is refused naming the channel you wrote. Under CoordFlip(), X("g", scale={"type": "band", "padding": 5}) was refused as band scale on y: padding must be a number in [0, 1]; received 5, naming the axis the flip draws it on; it now reads band scale on x: .... Y("b", scale={"type": "linear", "domain": [5.0]}) was refused as x axis scale-domain config: domain must have length 2; got 1, the wrong channel in the configure_axis wording; it now reads y scale: domain must have length 2; got 1. A configure(axis_y=...) domain refusal still names the physical axis it configures.
  • mark_function(**mark_kwargs) style kwargs work (wave 7 close). stroke_width=, opacity=, color= (the line's stroke) and size= (a dot-diameter width) reach the function's line, validated like any composite mark's kwargs. Before, every kwarg raised a raw TypeError naming an internal helper.
  • A composite's size= sizes only the marks that draw it (wave 7 close, #116). mark_smooth(size=40) sizes its fit line and no longer puts a size on its confidence band, which render now refuses on a non-drawing mark.
  • A swarm that overflows its category slot warns (wave 7 close, #161). When packed dots reach past half their category's slot on an ordinal axis, one warning per swarm names the entry, the reach and the half-slot, and says to shrink the dots or spacing or widen the chart; the dots stay where they were packed.
  • A point is not resized by a line's own size conditional, and an hconcat no longer warns falsely about axis_y2 (wave 7 close). A size conditional declared on one line restyles that line alone in the interactive view; an axis_y2 override applied by one leaf of an hconcat no longer warns for its sibling.
  • A tapered line's one-vertex piece draws nothing (wave 7 close, #116). As a one-point SVG stroke does; before, both backends drew an axis-aligned dot. No chart drawn through mark_line reaches it.
  • A layer's own color, size, shape or stroke_dash binding draws and titles its legend (wave 7 close). A legend now reads its binding from the first layer's resolved encoding, the binding its scale is built from, on the flat, overlay and shared-band routes. Before: a channel bound only on a composite's or layered chart's first layer drew an untitled legend (color) or no legend at all (size, shape, stroke_dash), though its scale was built. A layer-0 Color(legend=...) now styles or suppresses the legend. See ferrum-spec.md's 2026-10-04 notes.
  • roc_chart, pr_chart, heatmap and clustermap legends no longer name an internal column (wave 7 close round 4d). roc_chart/pr_chart title their per-class legend "Class", or "Model" under compare=, via mark_roc/mark_pr's own color_field= passed a titled Color(...) rather than a chart-level encode — a chart-level color would have been inherited by mark_roc's untitled diagonal reference layer and painted it per class. mark_roc/mark_pr's color_field= now also accepts a channel, not just a field name. heatmap/clustermap title their cell-color legend with the data's own single value column when the input has exactly one, and "Value" otherwise, in place of the internal unpivot column name "value".
  • heatmap and clustermap carry a chart title and titled axes by default, and a clustermap colorbar is no longer clipped (wave 7 close). The default title is "Heatmap" / "Clustermap", replaced by properties={"title": ...} and suppressed by title=""; the column axis reads "Column" (was the internal "column" on heatmap and untitled on clustermap) and the row axis reads the id column's name, or "Row" when the input has none (was the internal "_row_id" on heatmap). clustermap sized its dendrograms against a stale 600x400 heatmap default while the heatmap rendered at the real 640x480 default, so the heatmap cell was ratio-scaled to fit and its colorbar, which a ratio cell translates but does not scale, ran past the right canvas edge and cut its tick labels to "1.", "0.", "-0". Dendrograms now size against ferrum.config's width/height, the heatmap renders unscaled, and every default-size clustermap changes geometry (canvas 760x510 becomes 810x610).
  • clustermap dendrogram leaves sit on the rows and columns they name, and the heatmap's columns follow the column clustering (wave 7 close). Three defects drew a tree the heatmap did not show. The leaf axis of each dendrogram was an auto-domain scale over [0, n-1] with a padding inset while the heatmap places cell k at a band centre, so only the middle leaf of an odd count landed on its cell (the clustermap_basic column leaves were off by -53.5px to +176.5px); each leaf axis is now LinearScale(domain=[-0.5, n-0.5]), the band scale's continuous image, and every leaf sits on its cell centre. The row dendrogram ran bottom-up under CoordFlip while the heatmap's rows run top-down, so it mirrored the rows, and its leaves pointed away from the heatmap; its leaf axis and distance axis are now reversed, so leaf 0 sits beside the top row and the leaves face the heatmap as the column tree's do. The heatmap's columns were never reordered (the column linkage ran and its order was discarded), so the column tree described an order the heatmap did not draw; the center chain now permutes the value columns by the column linkage's order through Reorder(axis="columns") before Unpivot(value_vars=None), and the heatmap's columns read in the column tree's leaf order. Every clustermap changes: columns reorder, the row tree flips, and both trees' leaves move onto cell centres. The clustermap_basic and clustermap_row_col_dendrograms goldens were regenerated and inspected against their prior renders.
  • intercluster_distance_chart's cluster-id labels draw at the text mark's own size, above their bubble (wave 7 close). Before: the figure's chart-level size= binding reached the label layer, so each cluster id drew at a font size of 55 to 74 px driven by the cluster-size scale, centred on its own bubble. After: each label draws at the text mark's own size (the theme's 11 px by default), raised by a constant dy = -(sqrt(max_size / pi) + 6) px, which clears the largest bubble the size range allows with a 6 px gap; min_size/max_size still size the bubbles. Figures title a legend on the binding their marks chose, never through a chart-level binding, so a figure's legend title no longer reaches its other layers.
  • A blend= style draws on every mark, in static and interactive output (wave 7 close). Before: blend= was accepted by every mark method but reached the renderer only from mark_raster; mark_point(blend="additive") and every other mark rendered as if it were absent, and even mark_raster(blend="additive") blended only in static SVG, since the interactive view ignored blend on images, lines, areas, polygons and text. After: blend is a mark style field every mark draws, at every door (mark_*(), fm.Layer, .override, a figure's mark=, layer_kwargs=). Static SVG wraps each blended batch, text and labels included, in its own mix-blend-mode:screen group (SVG's closest mode to additive); the interactive view adds each mark's color, scaled by its opacity, and draws blended text and labels in a screen-blended overlay that Save PNG composites the same way. Within one blended batch, interactive adds mark over mark while static SVG composites the batch as one group and then screens it over what is beneath. In a + b, only the layer that set blend blends. "alpha" stays accepted as the older name of "normal", the default, and a chart with no blend renders byte-identically.
  • A swarm packs at the largest dot it draws, so no drawn dot overlaps (wave 7 close). Before: a swarm placed its dots at its own size whatever size the point layer drew, so catplot(kind="swarm", mark={"point": {"size": 40}}) drew radius 3.57 px dots with centres as close as 5 px (the default size=4 plus spacing=1), overlapping with no overflow warning; mark_swarm(layer_kwargs={"point": {"size": 40}}), fm.Layer, a hand-built fm.Swarm plus mark_point(size=40) and a size encoding did the same. After: the packing diameter, used for placement and for the overflow warning, is the largest bound over every point layer the swarm feeds anywhere in the chart: a size encoding's range-maximum diameter (wider still when some row's size is null or unmapped and the fallback dot is wider), a constant size=a's 2·sqrt(a/π), else the swarm's own size (point_size on fm.Swarm). The size=40 case now packs centres at least 8.14 px apart (7.14 + 1), and a default-range size encoding at least 7.77 px. Each layer still draws at its own size, every facet panel packs at the same diameter, and a default swarm is byte-identical.

  • .override(<channel>_scale_*=...) reaches every layer (#159(10)). On mark_boxplot, mark_violin, mark_errorbar, mark_boxen and the catplot box/violin kinds, a scale override such as .override(y_scale_domain=[0, 100]) was silently dropped because each layer carried its own copy of the channel's scale; it is now merged into every layer that declares the channel, including a channel only a layer declares, so every composition renders it exactly as the channel's own scale= would. Flat charts are byte-identical, except an unlayered mark that pairs y with y2 (or x with x2) under a caller-written scale stating no domain, whose axis now spans the paired column too: mark_bar().encode(x="g", y=fm.Y("v", scale={"reverse": True}), y2="w") with v = [1, 2], w = [30, 40] resolved its y domain from v alone, (2, 1), leaving every y2 endpoint off the axis, and now resolves (40, 1). A refused override refuses with the scale gate's text on every path; on a channel only a layer declares that refusal is new (the override used to be accepted and ignored there). On a layered chart, every layer whose encoding carries an equal copy of a caller-written scale that states no domain now spans the axis together, plus their y2, and a sibling that declares no scale at all on the channel resolves on that axis and joins the same way, whichever layer carries the scale: the first caller-written scale in layer order establishes the axis, on fm.layer and + alike; a sibling that carries a genuinely different scale, or one that states a domain, stays out (before, such a scale read one bound column only). Under a caller scale that states a domain, a scale-less sibling now resolves on that stated axis on fm.layer too, as + already did: fm.layer(mark_bar().encode(y=fm.Y("v", scale={"domain": [0, 100]})), mark_point().encode(y="w")) with w = [40, 60, 80] drew the points over their own extent across the full panel height and now draws them at 40, 60 and 80 on the 0 to 100 axis. On +, when the first layer declares no scale, the axis follows the first layer that wrote one instead of pooling every later scale: Chart(...).encode(y="s") + Chart(...).encode(y=fm.Y("c", scale={"padding": 0.2})) + Chart(...).encode(y=fm.Y("d", scale={"padding": 0.6})) with s = [10, 20, 30], c = [1, 2, 3], d = [50, 60, 70] drew y ticks 5 to 70 and now draws 2 to 30, the same as fm.layer. A layer whose column cannot sit on the continuous axis a caller scale establishes now refuses on + in every such shape, including under a scale that states a domain and for a string layer that carries its own categorical scale (mark_point().encode(y=fm.Y("v", scale={"domain": [0, 10]})) + mark_point().encode(y="label") with a string label rendered with the second layer's marks silently absent, and now refuses with the shared-axis text fm.layer already used). Two route differences remain and are pinned as follow-ups rather than changed: a layer that stays out of the establishing scale draws on its own unlabelled scale on fm.layer but is clipped away on +, and both routes now say so with one typed render warning, layer 2: its y scale differs from the one layer 0 establishes the y axis with, so it stays out of that axis; its marks are placed on that axis and may fall outside it on + and ... its marks draw on the layer's own scale, not the labelled axis on fm.layer (wire type layer_scale_excluded), emitted once per layer and channel and never for the establishing layer, a scale-less layer, an equal copy, or a secondary-y layer; when layer 0 binds a categorical column on the channel (a string column, or one typed :N/:O), layer 0's categorical axis owns it and a later layer's continuous caller scale, including one a per-layer CoordFlip moves there, is left out with that warning: Chart(...).encode(x="cat") + Chart(...).encode(x=fm.X("n", scale=fm.LinearScale())) refused with the shared-axis text naming layer 0 and now renders on the cat band axis with the warning (user ruling 2026-10-01), and a numeric layer 0 typed :N now gets that categorical axis instead of joining the later scale; and a later layer whose per-layer CoordFlip lands its string column on layer 0's continuous axis now refuses on static fm.layer as it already did on + and .interactive() (user ruling 2026-10-01), where fm.layer(...).to_svg() used to draw it against an unlabelled categorical scale with no warning; the mirror, a flip on layer 0 beside a later layer with no coord of its own whose column cannot sit on the axis it lands on, refuses on static fm.layer too, naming fm.CoordCartesian as + already did; and the bar's injected zero anchor reaches the chart-level scale copy only, so a reverse bar scale beside a scale-less point spans 0 to 80 on fm.layer and 10 to 80 on +. This reaches composite marks with their own scale= (mark_boxplot, mark_errorbar, mark_boxen, catplot(kind="box") now cover their data), regplot/lmplot with a y scale= (now propagated to their band, line and metrics layers), layered charts built with + or Chart.layer whose layers carry equal caller scales or no scale at all, and .override(...), which copies the scale onto every layer. Example: mark_point().encode(y=fm.Y("v", scale={"reverse": True})) + mark_line().encode(y=fm.Y("w", scale={"reverse": True})) with v = [1, 2, 3], w = [30, 40, 50] drew y ticks 1 to 3 and now draws 5 to 50. A domain-less caller scale over an all-null column, flat or layered, resolved an infinite domain for a float column, or integer seeds of about ±9.2e18 for an integer column. It now resolves the (0, 1) fallback the auto path already used.

  • Breaking: Layer(transforms=...) is refused instead of silently ignored (#176(8)). The list was accepted and serialized onto the layer, and no renderer ever read it, so Layer(transforms=[fm.transform_filter(...)]) drew every row. A non-empty value now raises ValueError at construction reading "Layer(transforms=[...]): a layer does not run its own transforms. Give the layer its own chart with .transform(...) and compose it with +, which routes the transform to that layer alone.", and a hand-built ChartSpec carrying a non-empty layers[i].transforms raises the render-side form of the same text at render, naming layer i. An empty list or omission is unchanged. To transform one layer's rows, give that layer its own chart with .transform(...) and compose it with +.
  • Breaking: the type you declared is the type that bands (#171). A mark_boxplot, mark_violin, mark_errorbar or mark_boxen whose category column carried an integer, unsigned, float or boolean dtype resolved to a quantitative scale, so its tick layer landed in the quantitative fallthrough and drew 8px stubs where band geometry belonged — measured on a 3-category Int64 column, three box rects dropped entirely and the axis grew from 3 category ticks to 9 quantitative ones. Writing x="cyl:N" did not rescue it, and neither did catplot's documented force-nominal default, because the declaration never survived long enough to be read: the composite desugar reduced both positional channels to bare field-name strings before any desugar ran, and six desugar sites then rebuilt the categorical channel untyped. The declared type now travels through the desugar, and where the caller declares nothing the five category-axis composite marks default that channel nominal. mark_errorband stays untyped, because its x is a genuine value axis, and mark_tick is deliberately untouched — it is a primitive, not a composite desugar, so it bands when its channel is declared nominal at any dtype and stubs as a true rug when the channel is an undeclared numeric. catplot(native_scale=True) is the negative control and stays quantitative: a blanket force-nominal implementation fails it.
  • Breaking: stat_letter_value takes the group dtypes its siblings already took (#185). The issue reported that it rejected Utf8 group columns; it was inverted. Utf8 and Categorical were the only dtypes it accepted, and it refused every integer, unsigned, float and boolean that every sibling transform takes, so mark_boxen on an Int64 category column raised outright where boxplot, violin and errorbar all rendered. letter_value was the last transform still carrying its own private group-key representation and its own hand-rolled dtype gate, years after the shared group_key/ toolkit was created so that int/uint/bool support "exists once and cannot drift". Both private copies are retired rather than supplemented, routing through the same validator and partitioner box_stats uses, and the group column comes back in its original dtype rather than stringified. Routing through the shared partitioner surfaced a second defect: groups whose values are entirely null survived into the sort, where a NaN aggregate degrades the comparator to Equal against everything — measured, a sort=median, Desc request came back ascending. Empty groups are now skipped. mark_boxen on a numeric category column needed both this and #171: #171 alone left it raising, #185 alone left it drawing stubs with no boxes. Archaeology row NS-2 closes with it.
  • Breaking: one answer to which dtypes a position adjustment can handle (#184). Three adjustments in one module held three opinions about which columns they could read, so the same frame behaved differently depending on which adjustment it met. On the value column, Dodge and Jitter gated on the Arrow dtype rather than on the resolved scale kind, so a Float32, UInt8, UInt16, UInt32 or Timestamp measure was refused where a Float64 was accepted; all three now retype through one helper and the eleven dtypes the crate's numeric reader accepts agree across Stack, Dodge and Jitter, asserted by a test that loops the matrix through all three rather than sampling one cell. On the category column, Stack carried a second, separate gate taking only Float64/Utf8, so mark_bar(position=Stack()).encode(x="<Int64 column>:N", y=..., color=...) refused while the identical column dodged, jittered and banded fine. That bespoke chain is deleted; the category column now keys through the same ordinal-category reader the band ladder is enumerated with, falling back to the temporal epoch reader, so two rows share a stack bin if and only if they share a band wherever a band ladder exists. Neither hole is a regression introduced by #171: the refusal was measured byte-identical with and without it, by reverting the desugar and re-probing. A temporal column declared ordinal still refuses, from a different site (the band ladder cannot enumerate Timestamp); that refusal is pinned rather than deleted, and filed separately.
  • Breaking: nice=True on a typed scale class does what the same key does in a raw dict (#153). LinearScale(nice=True), TimeScale(nice=True) and their LogScale/SymlogScale siblings accepted the kwarg and always serialized nice: false, so a chart written with the typed class rendered un-niced ticks while the identical chart written as {"type": "linear", "nice": true} rendered niced ones. Measured on the same data: ticks 1..9 against 0..10, and a first time tick of 2024-01-04 against 2023-12-28. The gap was exactly the data-derived domain, where nicing is deferred to render and the flag had nowhere to live — the structs had no nice field, so the value was discarded at construction and the wire conversion hardcoded false. All four classes now retain and emit it; no new wire key was needed, since nice already exists on ScaleSpec and only the class path had to reach it. The explicit-domain case was never broken (those classes nice eagerly at construction) and stays byte-stable. TimeScale's own docstring has promised this behavior all along and was simply false; it is left untouched because the fix makes it true.
  • Breaking: the sort you wrote is the sort that applies (#95). sort="-y" ordered a bar chart's categories correctly until .coord(fm.CoordFlip()) was added, at which point it aggregated the category column, warned twice, and fell back to insertion order — and the spelling that worked under flip was sort="-x", for a value the caller had put on y, which nobody would write. The channel token in a sort shorthand is the caller's own text in authored space, while the fields it was matched against were built from the post-flip rendering encoding; the two sides of one lookup lived in different coordinate spaces. It now resolves in authored space through the same involution the crate already established for user-facing channel tokens, rather than a second flip mapping — the crate has exactly one flip expression, and #113 reinforced that rule three commits earlier. The sort=fm.SortField(...) object form names a field rather than a channel and was therefore already flip-invariant, so the two forms agreed before the flip and disagreed after it; they now agree throughout, which is what the shorthand being sugar for the object form is supposed to mean. The same two-spaces defect sat in the shape, stroke_dash and color categorical domains, which build their sort the same way, and is fixed with it. Also closed: an ignored sort spec was reported once by the provisional placeholder pass and again by the panel-real pass, and now warns once — stripped only after a panel has actually resolved, not by the cheaper placeholder filter, which was measured to drop the warning to zero for a chart whose data is empty after transforms.
  • Breaking: a flipped chart's marks and its axis agree again (#113). Under CoordFlip, scene construction merged the authored chart-level encoding with the post-flip layer-0 encoding, and since the overlay only overwrites channels the overlay itself has, a channel the flip had already moved (y2 → x2) left the overlay's y2 empty and the pre-flip y2 survived alongside the post-flip y, widening the wrong axis. Measured on a flipped mark_bar with a chart-level y2: the marks were placed on a y scale spanning roughly 0..72.9 while the axis ticks in the same SVG read 0..3 — a 23-fold divergence inside one file. The chart preparation path never had this bug, because it builds its rendering spec by replacing the encoding wholesale, which is why the ticks were right and only the marks were wrong; the two sites disagreeing was the defect. The base encoding is now flipped before it is overlaid, the convention the domain union and the layer fallback already follow, so no second flip mapping enters the crate. The overlay itself stays, because a layer-0 with its own data_source inherits only non-positional channels and the overlay is what recovers its x/y. Guarded on the flip, so every unflipped chart is byte-identical.
  • Breaking: a series closes its fill on its own baseline, and a flipped ribbon draws (#172(2), #172(3)). Two mark drawers hard-coded a y-axis idiom that CoordFlip invalidates. A CoordFlip'd mark_area traced its vertices correctly and then closed the filled region on the panel bottom — byte-for-byte the closure an unflipped chart emits — so the filled region came out very nearly the complement of the correct one; the same hard-code is reached with no flip at all by mark_density(orientation="horizontal"), whose near-zero tails degenerate the spurious region to a sliver, which is how the defect came to sit latent inside a blessed golden. Separately, a CoordFlip'd mark_ribbon rendered nothing, silently: the flip had moved the authored y2 into x2 and the drawer read only y2, so mark_errorband, mark_smooth(ci=), the learning and validation curves and the QQ CI region all went band-less with it. The band's curve axis is now a function of the channel actually read, and the value axis is declared rather than inferred. The three signals compose by precedence, not disjunction: a declaration is a statement about the rendered series and travels with the channels through the flip, so it answers outright, while CoordFlip and the stack stamp describe a transformation of a series that was vertical by default and speak only in its absence. As a disjunction, a producer-horizontal density under CoordFlip stayed "horizontal" on the flip's word alone and closed 2.9px of sliver at the left edge — the two flips must cancel. mark_ribbon joins the coord-flip test matrix, whose absence is why this survived.
  • Breaking: a swatch shows the encoding it stands for (#111). When stroke_dash or shape shares its field with color, the aux legend block is suppressed so the reader sees one legend instead of two — and the surviving color legend then drew three identical solid circles over marks that were solid, 6,3 and 2,3, or over marks that were circle, square and cross, making the mapping the legend exists to explain unreadable. The surviving entries now carry the suppressed channel's identity. The issue's own prescription (thread the dash pattern into the color entries) was measured to be a no-op, because the color swatch is a hard-coded circle and the pattern is only read inside the line arm, so the swatch kind had to change; shape needed only the thread, since the renderer already reads the shape name ahead of the symbol-kind match. Identities are matched to color entries by label, never by index, because both domains are built over the same field with independent sort specs and index pairing silently transposes under sort="descending" — a reordered configure_color(domain=) exposed the same class one layer down, where the resync had to clone a surviving category's entry rather than rebuild it from label and symbol, since the line symbol survives a rebuild while the pattern does not. Three adjacent behaviors settle with it: a suppressed channel's explicit title= is no longer silently discarded (and a genuine two-title disagreement warns); color=fm.Color(..., legend=None) with a same-field dash no longer erases both blocks, since with no color legend there is nothing to duplicate — that gate now asks whether the color legend enumerates the field rather than whether its scale is categorical, so a colorbar plus a categorical shape or dash renders the aux block too; and a chart binding color, shape and dash to one field shows the shape, because the glyphs are painted fill-only and a dash array on them paints nothing, with the losing pattern no longer written onto the entry at all and the drop warned.
  • Breaking: a gutter is reserved only for chrome that is drawn (#182, closing #94). Layout reserved margins for chrome it never drew: hiding an axis kept the axis title's gutter, and a polar chart — which has no Cartesian axes to hide at all — reserved Cartesian margins regardless, so the plot area came out smaller than the drawn chrome justified and the chart sat off-centre in its own frame. Measured before the fix, .axis(show=False) reserved a 23.729px phantom title gutter per side plus a 14.046px phantom label band on the y side, and a polar chart reserved 23.214px left and 43.039px bottom. The gate now asks whether the axis actually draws, which is what the sibling label-band check three lines away already did, so .axis(show=False) on a 640x480 chart with 16px padding collapses to exactly (16, 16, 608, 448), fm.Axis(labels=False) collapses the label band alone, and polar reserves nothing Cartesian. Scoping the gate to the show flags would have closed #182 and left #94 open, which is why it reads "is it drawn". plots/matrix.py's clustermap dendrogram title="" workaround — which existed only to reach the title-width route so a hidden axis's phantom gutter stopped eating the dendrogram's share of dendrogram_ratio — is removed rather than left beside the rule that replaces it.
  • Breaking: a composite's satellite panels align with the panel they annotate (#182 follow-on). Removing the phantom gutter exposed a real defect it had been masking: a jointplot marginal and a clustermap dendrogram are each their own leaf, laid out independently and fitted into a slot, so their plot rects and the centre panel's had no reason to agree — they looked aligned because the phantom inset them by roughly the centre's axis band. Measured post-#182, the jointplot_kde_hist top marginal spanned x 53.377..624.0 against the joint panel's 67.423..547.025, and the clustermap_basic column dendrogram spanned 176.0..744.0 against the heatmap's 213.4..674.8, 37px past it on the left and 69px on the right, its leaves landing between the columns and its last drop over the colorbar. It was caught by comparing the regenerated golden against its pre-fix rasterization rather than judging the new render alone, which read as correct in isolation. A panel that annotates another now spans exactly that panel's extent on the axis the two share and keeps its own on the other, imposed through the same seam the #89A overlay pre-pass uses, at the same single point in layout. Clustermap gets the fix too, rather than being excluded to avoid re-blessing goldens: worst leaf-over-column error drops 123px to 50px. Two details are load-bearing: the imposed extent is scaled by the follower's native size over the leader's, because the grid planner ratio-fits each cell, and chrome is now told apart from blank padding, which is what lets the row dendrogram (landing 2.67px inside its own 16px padding) align at all. Named as pre-existing and not fixed here: a dendrogram's own x scale places its leaves at the extremes of its plot rect (≈1.7% and 98.3%) while the heatmap places its columns at band centres (12.5% and 87.5%), so leaf-over-column is closer but not exact. That is the dendrogram chart's scale, not the panel's extent, and it is filed rather than papered over.
  • Breaking: a scale ferrum wrote is not a scale the caller wrote (#247A). A bar chart's value scale is injected by ferrum itself to anchor the axis at zero, and that injected scale was indistinguishable from one the caller wrote — a caller-written scale rightly short-circuits the cross-mark domain union, so a bar overlaid with another mark bypassed the union and drew its bars against a domain its own axis did not describe. The injection now marks its authorship, and the resolver's auto-zero-anchor gate reaches layered specs through spec.layers rather than reading any present scale as the caller's word; a scale the caller wrote keeps the flag withheld, so it still wins. The zero-widening arithmetic's third hand-copy folds into the shared helper the new gate's anchor flows into, and a comment claiming to mirror a block that had itself become a call to that helper is deleted. See Breaking for exactly which four shapes move, measured over a 25-shape hash corpus.
  • Breaking: a band exists only if something is drawn in it (#247B). A layered chart built from two DataFrames grew a null band on its ordinal axis that no mark ever occupied — the merge's diagonal concat pads each frame's columns over the other frame's rows, and those manufactured nulls reached categorical domain resolution as if the caller had supplied them, so every real band was narrower for it and the axis described a category the chart did not draw. The rule is now stated positively: a null in a positional ordinal column claims the null-category band only when some null-category row carries a non-null value on the opposite positional channel. Nullness only — a non-finite paired value (NaN/±inf) counts as occupancy, because the marks still resolve it to a pixel rather than skip the row. The standing policy that a genuine null category carrying a real value gets its own band is intact and pinned in both directions, so a null group and a real 0/false/"" group remain two categories (FA-9); null-free columns are byte-identical. The fix is not scoped to the merge, where the design doc first placed it: a single unmerged chart over cat=["a","b","c",None], val=[1.0,2.0,3.0,None] renders the same phantom band and draws three marks, so a merge-scoped fix was provably incomplete — and no merge-side data-shape change could be complete either, since a merged batch must be at least as tall as its taller frame, so with unequal heights the shorter frame's columns necessarily carry entries its data never supplied and all three candidate fill values are wrong. Two claims the briefs carried were measured false rather than implemented and are recorded so they are not repeated: the opposite positional channel is not the x2/y2 span partner (wiring the rule there would have made the fix silently inert, since x2 is None on essentially every chart), and the stack adjustment does not consume this enumeration at runtime, so the axis ladder and the stack ladder cannot drift here — the stale invariant comment claiming they were one partition is rewritten rather than left standing.
  • Breaking: the shared ordinal axis covers every layer's categories (added mid-wave by user ruling). Chart({cat: [a, b, c]}) + Chart({cat: [x, y, z]}) drew three marks for six rows. A layered chart's ordinal axis read its categories off the chart-level column alone and never unioned its layers', so the second layer's marks were dropped for want of a band and its categories never even reached the axis labels; the numeric domain has had a cross-layer union for exactly this since before the wave, so the invariant "the shared axis covers every layer's extent" was half implemented. Every category any layer's positional column carries now gets a band, ordered by first appearance in layer order — not a new semantic, but the existing within-layer first-appearance rule carried across the layer boundary rather than replaced by sorting. Ordering and scope were a user ruling, taken because the choice sets every band position and is visible in every render. #247B's null rule is preserved exactly, including its twelve tests, which are unedited; one sub-rule is new and deliberately narrower than a naive extension, in that per layer the null band is judged against the positional field that layer itself binds and a layer binding none drops the null category — carrying #247B's "no opposite channel bound → keep the band" arm across the layer boundary instead would keep a band for an injected reference-line column and draw four rule lines where one is correct. Deliberately unchanged: the explicit-scale ordinal path still does not union layers, because the explicit numeric path has the identical property and fixing one side alone would break that symmetry. Removing #247B's phantom band removed the only visible hint of this defect, which is why the two shipped together: the marks were already lost, but the after-state was a clean, plausible three-category chart silently holding half its data.
  • Breaking: the canonical spelling stops being the poor relation of its own alias (#124). See Added for the widening, and Breaking for fm.SelectionMark's new refusal and the decision this reverses. One divergence found on the way is closed with it: the annotation constructors' mark kwargs and their AnnotationLine primitive each derived their own dash representation from the raw parameter, so an overlay could disagree with the mark it annotates; both now derive from a single capture.
  • Breaking: a channel's title= is now the title its legend prints (#90). title= on Color/Size/Shape/StrokeDash was honored on axes and discarded by every legend builder, which read the field name directly — so fm.Color("species", type="N", title="Species") produced a legend headed species. One resolver now serves the swatch legend, both colorbars, the conditional legend, the facet band and every auxiliary block, with legend-title suppression spelled the way axes already spell it. The field name is still the default when no title= is given.
  • Breaking: an untyped Color on hue= is treated as a discriminator, not a gradient (#130). The figure-level helpers decided categorical-vs-continuous by asking whether the caller passed a bare string or a channel object, so hue="species" and hue=fm.Color("species") read the same column two different ways — the typed object fell through to a continuous color scale. The helper now asks whether the caller stated a type. fm.Color("v", type="Q") still gets its gradient.
  • Breaking: pr_chart(iso_lines=True)'s reference curves render in the grey they declare (#121). The iso-line layer bound its grouping key _iso_f to the color channel, but the chart's color scale is keyed on class, so every "F=0.2".."F=0.8" lookup missed and the line mark's stroke fallback painted paint.fill — theme blue at the layer's opacity=0.6 — instead of the literal stroke="#AAAAAA" the layer had set all along. The key now travels on detail, the channel that groups without painting, mirroring desugar_parallel_coordinates. The stale _iso_f entry in the color-binding allowlist, whose rationale asserted the curves were already grey and that the single-color rendering was an unrelated defect, is deleted with it — both clauses were false.
  • Breaking: catplot(kind="count") accepts a channel object like its seven siblings (#192). count was the only kind that read the raw x=/y= argument again after the shared splitter had resolved it, so catplot(..., kind="count", x=fm.X("g")) died with a bare PyO3 TypeError: argument 'field': 'X' object is not an instance of 'str' — naming neither catplot, nor kind="count", nor a working route — while x : str or encoding was already the documented contract. It now derives the aggregated field from the resolved channel, the same idiom the estimating kinds already use, which also closes a latent second defect on the same line; see Breaking, below. The bare-string path is byte-identical, SHA-256-pinned.
  • Breaking: displot(kind="ecdf", hue=...) renders per-class curves (#200). The ecdf branch is the one displot path that builds its own Bin, and it built one without the group key, so the transform discarded the hue= column before the encoding referred to it. The branch now hands the Bin the group key, on a support the groups share. The no-hue ecdf path is byte-identical.
  • Breaking: a layered chart is judged by the marks it draws, and an axis may bind from the layer that binds it (#201-D). Lowering a (tick + line) composition leaves mark="tick" at the spec root as a placeholder, and single-axis-exemption eligibility was decided from that root mark alone — so the resolver granted the exemption to a chart whose line layer genuinely needs both axes and synthesized a 0…1 dummy y scale. Measured on a rug layered under a density curve, the curve was squashed into the foot of the panel: polyline y extent (368.316, 416.911) of a 480px canvas under y tick labels 1, 0.9, … 0. It now renders at (24.0, 412.961) under the density column's own units, 0.13, 0.12, … 0.01. Eligibility is now decided by every layer that paints; binding takes the chart encoding when there is one, else the first layer eligible to supply it. A chart-level or layer-0 binding always wins, so the change is bounded to specs whose merged chart+layer-0 encoding leaves a positional channel unbound: specs that resolve through the generic two-axis path are untouched, while specs that resolved through the single-axis exemption with an axis unbound do move, by design — that is the defect being fixed, and the geometry above is an instance of it. The value axis of a bare mark_tick + mark_line layering is deliberately left untitled: the fallback resolves a scale, not the caller-written binding an axis title is a claim about, so titling from it would assert something no caller said. To get a title, write .encode(y=fm.Y("density", title="Density")) on the composition's own chart encoding, or on the first chart of the pair (layer 0) — a title= on any later layer is ignored, being exactly the fallback binding just described as not title-bearing. Measured on tick + line: tick_titled + line_plain and line_titled + tick_plain both render Density, while tick_plain + line_titled renders no title at all and line_plain + tick_titled renders layer 0's bare field name d. Watch the trap in the third of those — the density column is the line's, so titling the line chart is the obvious move, and in tick + line the line is the second layer. The accompanying new typed refusal, and the twelve pre-existing silent drops this closes, are under Breaking, below.
  • Breaking: displot(x=..., kind="rug", kde=True) renders with a titled density axis (#201-B). This composition is one the docstring advertised twice and named rug for explicitly, and it raised — encoding 'y' expected EncodingSpec, got None — because the x-only root encoding fell through the generic x/y check. #201-D made it render with the correct extent and tick labels, but through the binding fallback, which resolves a scale rather than a chart-level binding, so the density axis came out untitled. displot now binds at chart level the density column the overlay already names, and the axis is titled density — the KDE transform's own output column name, exactly what displot(kind="kde") and displot(kind="kde", rug=True) already title the same axis and what kind="ecdf" does with count. The curve's extent and tick labels are unchanged from #201-D, the rug's 200 ticks still sit at the axis base, and hue= still yields two curves and split ticks, now titled. Not fixed here and pre-existing: displot(y="v", kind="rug", kde=True) silently drops the KDE overlay, because the overlay block is gated on the x variable, and renders a bare vertical rug.
  • Breaking: the binning rule you name is the rule that bins, and the rule the wire reports (#193). displot's bins= was handed to a door that read only an integer count, so every other spelling was silently discarded and the chart fell back to Sturges. Measured pre-fix: bins="fd", "freedman_diaconis", "auto", "scott", "stone", bins=0.5 and bins=np.int64(9) all rendered the identical 11-rect Sturges histogram with an empty transform payload; bins=True rendered a 1-bin histogram, because bool subclasses int; bins=0 raised a ValueError naming Bin rather than displot; and bins=-3 leaked a raw OverflowError out of the renderer. The door now hands the value to the parser its siblings already use. Serialization is fixed with it: BinMode::FreedmanDiaconis mapped to the same empty wire payload as Sturges, so to_dict()/to_json() reported Sturges for a chart that had drawn Freedman–Diaconis. FD now carries an explicitly-named additive bin_rule key while Sturges stays the wire default — the absence of all three mode keys — so every pre-existing payload keeps its exact bytes; a payload naming bin_rule and a numeric key refuses rather than dropping one answer. repr(Bin("x", bins="fd")) gains a trailing , bins='freedman_diaconis'; every other mode's repr is byte-identical. Six public-API behavior changes ship with this; all six are under Breaking, below.
  • Breaking: multiple="stack" on displot produces a stack (#194). displot built its own position adjustment from multiple= and never forwarded the mode into mark_histogram, so the underlying Bin ran at its default and binned each group over its own data range. The groups' bars therefore shared no x position and were not even the same width — measured on two 300-point normals at means 0 and 3, bar widths of 31.34 px and 34.19 px, and 16 distinct x starts where a stack needs 8. The stack adjustment had no pairs to pair, and the render was a side-by-side chart wearing a stack's name. What a multiple= mode means is now answered in one place, which decides the position adjustment and the binning extent together, because bars can only stack if every group binned against the same edges. multiple="layer", multiple="dodge", the no-hue "stack" path and the kind="kde" branch are byte-identical. A rider on the same hunk: catplot's dodge read the raw hue= argument, so hue=fm.Color("g") died with an untyped TypeError: Object of type Color is not JSON serializable; it now reads the field name. Not fixed and disclosed: displot(kind="kde", multiple="stack") still does not forward the mode to mark_density.
  • Breaking: a fit that draws alone knows whose columns it drew, and line_kws reaches the line (#199). The fit-family builder bound every layer to the transform's own output columns with no title=, and the renderer resolves an axis title from layer 0 only — so whenever no scatter happened to sit at layer 0, the value axis was titled ci_lower, the confidence band's lower bound, the wrong quantity rather than merely an internal spelling, and the predictor axis was titled x. Measured over the full 40-cell method × ci × show_metrics matrix under scatter=False: 7 of 40 cells were correct before (exactly the seven mark_smooth-routed methods at ci=None, show_metrics=False, where a single-line shortcut keeps the chart-level encoding), 40 of 40 after. Separately, line_kws was applied by rewriting the finished chart's layers, which on the smooth-routed branch do not exist yet — the chart carries a pending stat mark until render — so the guard was falsy and the styling vanished: 12 of 40 cells applied it before, 40 of 40 after, the 28 dropped cells being exactly the seven smooth-routed methods × 4. Every branch now forwards it at construction. One golden moved, residplot_lowess.svg, whose y-axis title changes and nothing else. Two user-visible consequences are under Breaking, below.
  • Breaking: displot(multiple="dodge") bins every group on shared edges. "dodge" joins "stack" and "fill" in requiring one binning extent, leaving "layer" as the only mode that may bin per group — it is the only one that asks nothing of its neighbours. The band a dodged bar takes its slot in is the bin, so the bins have to be the same bins for every group before a slot means anything. Previously each hue group binned over its own range: measured on a two-group frame, 9 bars of one width against 10 of another, sharing zero x positions. See Breaking, below, for the measured after-state.
  • Breaking: a dodged span mark subdivides its band instead of overrunning it, and stops dropping a bar. apply_dodge's continuous branch offset only the band column and left the span's other end alone, so each group's rect came out bin_width ∓ offset wide rather than a share of the bin — and a negative offset could push the leftmost bin start below the x-domain, where the scale returns NaN, the pixel fails to resolve and the row is skipped entirely, so the bar was missing, not merely mis-sized. Both endpoints now move together into the group's own sub-slot. This reaches every dodged span mark, not only displot — see Breaking, below.
  • An all-zero-extent bar batch now says why it drew nothing instead of rendering a silent blank panel. The zero-extent guard that stops an invisible rect reaching the SVG (see T10b, below) left nothing downstream able to tell that silence from a chart that legitimately had nothing to draw; the four rect builders now set the batch's empty-reason when — and only when — the guard emptied a batch that had rows to draw. Measured on importance_chart over an all-zero importance column: bar layer 0 drew nothing: mark_bar() computed a zero width or height for all 4 of its rects (every value equal to its own baseline, or an empty group in every bin); a zero-extent fill paints nothing, so none were emitted. A batch already empty for a documented reason (zero rows, null categories, non-finite values, unresolvable pixels) never reaches the guard and stays quiet, and the non-zero control emits nothing. SVG bytes are unchanged everywhere — but it is a new UserWarning, so see Breaking, below.
  • displot refuses in its own voice, and stops dropping a mark it was asked for (close remediation). One helper now answers for hist/kde/ecdf and both overlays, so mark_histogram() requires .encode(x=...) and its mark_density() twin no longer escape from a displot call: displot(kind='hist', y='v') is not supported -- kind='hist' draws the distribution of the variable x= names and computes the other axis itself (a count, a density, a cumulative frequency), so a y= variable has nowhere to go. Pass x='v', or kind='rug', which draws its ticks against either axis. kind="rug" is deliberately excluded, since a tick draws against either axis. displot(bins=) now warns when the rule is inert for kind="kde"/"rug", and only when the caller actually stated a rule — bins=None and bins="sturges" both mean the default a non-binning kind would have used anyway. See Breaking for the kind="rug", y=..., kde=True case, which now refuses.
  • lmplot and residplot accept an encoding object for x=/y= on every method (close remediation). Seven of lmplot's ten methods already did, because they route through .encode(); the three that construct a transform directly, plus residplot, leaked a binding-layer error instead — measured, the raw PyO3 TypeError: argument 'x': 'X' object is not an instance of 'str' from logistic/glm/robust, and polars' TypeError: cannot turn 'ferrum.encoding.positional.X' into selector from residplot. Accepting rather than refusing, because refusing would have regressed seven working paths. The channel still reaches .encode(), so its title= survives: measured, lmplot(x=fm.X("bill", title="Total bill (USD)"), method="robust") renders that title rather than the bare column name.
  • mark_tick joins the mark×dtype color-parity sweep it was missing from (#131), with a Python twin pinning four ticks per swatch in both the string and categorical dtypes. No behavior change — this is the coverage that makes the color read batch E gave mark_tick unable to regress silently.
  • Breaking: eleven grouped transforms (Aggregate, Summary, BoxStats, ErrorExtent, Violin, Pivot, DataAggregate, DensityData, and — with a warning, not a row-drop — Impute/Smooth/Robust/DataStack/JoinAggregate/DataWindow) move onto one shared partitioner (group_key::group_partition_multi), closing the repeated-groupby-name gap everywhere at once and installing one null-key policy instead of eighteen hand-rolled ones. See Breaking, below, for the two disclosed output changes this migration carries.
  • transform_density(field, groupby=[...]) now honors every groupby dimension — it previously grouped by only the first and silently discarded the rest.
  • transform_pivot/transform_aggregate/transform_density now refuse a repeated groupby column name at Python construction, matching every typed transform constructor's existing behavior.
  • A one-element (or otherwise not-length-2) explicit domain=/range= on any of the seven continuous scale kinds now refuses with a typed message instead of panicking with an out-of-bounds index (#152). A scale= dict reads x scale: domain must have length 2; got 1, naming the channel you wrote; a configure_axis domain keeps x axis scale-domain config: ....
  • Six color-range parse sites (three encoding-level, three chart-config-level, including a previously-unwarned continuous filter_map sibling) now raise instead of silently discarding the entire explicit range in favor of the theme palette (#126). ferrum.color.to_hex now keeps a tuple's 4th (alpha) component on every accepted form instead of silently dropping it, and raises a typed error for a non-numeric component instead of an escaped bare TypeError (#122). Chart-config color fields (AxisConfig, LegendConfig, TitleConfig, GridAxisConfig, GridConfig) now refuse an unparseable color string at construction instead of silently keeping it unresolved (#107). A time-typed format on a non-temporal resolved scale now refuses at all three surfaces that accept a format (per-channel, chart-level, and the facet independent-axis path) instead of rendering a nonsense epoch-date artifact (#133).
  • mark_text/mark_label/mark_rect (heatmap cell annotations) now propagate a typed error for an unreadable text= column instead of silently rendering a blank/degraded panel (#166).
  • Chart.__add__ (a + b) now preserves each layer's own data_source instead of unconditionally overwriting it — a multi-output composite mark (mark_qq, mark_violin, mark_boxplot, …) now composes via + in either order; two different composite charts that happen to share a transform's auto-generated name used to let one side's data silently overwrite the other's at render, a defect #198 closed by refusing at composition time (superseded above: they now compose correctly instead, under "Two composite charts compose").
  • rank1d(algorithm="covariance") now refuses a y whose length doesn't match X's row count with a typed message instead of panicking, and drops null-y rows (with a warning naming the count) instead of silently zero-imputing them, corrupting every feature's score (#204). rank1d/rank2d now refuse an X-less fitted estimator on every algorithm, not only algorithm="covariance" (#216).
  • Breaking: a multi-chunk pyarrow.Table passed to rank1d_chart/rank2d_chart/Rank1DVisualizer/Rank2DVisualizer is now consumed in full instead of silently truncated to its first chunk (N1). The raw-data coercer took X.to_batches()[0], so any Table built by pa.concat_tables, a multi-file parquet.read_table, or a RecordBatchReader drain (the ordinary provenance of a real chunked Table) computed every rank statistic over a fraction of its rows — measured on a 200-row fixture split into two 100-row chunks, rank1d_chart(chunked, algorithm="variance")'s top score for column b read 1.169347 (the first 100-row chunk only) against the correct 1.018316 (all 200 rows), matching the ModelSource path and a single-chunk Table of the same data. The covariance path did not silently compute a wrong number; it refused with a misleading "y length must match X row count", since X's row count was silently halved while y kept its full length — it now renders and matches the ModelSource path. An empty 2-column pyarrow.Table also used to return zero features (a smaller instance of the same coercer bug discarding the schema along with the rows); it now returns 2 features scored 0.0, matching an empty polars.DataFrame with the same schema.
  • Nine precomputed-diagnostic methods (roc_curve, pr_curve, cumulative_gain/lift_curve, calibration_curve, confusion_matrix, classification_report, predictions, discrimination_threshold) now raise a typed error naming the calling figure function and the observed-vs-required shape for a malformed y_pred, instead of leaking IndexError/ArrowInvalid/an unhashable-type TypeError/a numpy broadcast error, or silently computing a wrong-but-plausible result for a 1-D y_pred against a genuinely multiclass target (#208).
  • pr_chart(iso_lines=True) (and any caller reaching the shared metric-label/direct-label enumerators with a null-carrying group column) no longer emits polars' internal "Comparisons with None always result in null" warning (#220).
  • Per-mark honored-kwarg vocabularies (#243): a mark kwarg not honored by that specific mark now refuses by name at construction instead of being silently accepted and dropped at the Rust wire — e.g. mark_bar(arrow=True) (a segment-only field) now raises, naming mark_bar's real honored set. Settles #154 (mark_bar(band_size=...) — band_size is honored only by mark_tick/mark_rect). The refusal timing differs by mark family: a primitive mark (mark_bar, mark_point, …) refuses immediately at the mark_*() call, while a composite/statistical mark (mark_boxplot, mark_violin, …) constructs successfully and refuses only once the pending mark resolves, at .to_dict()/.to_svg() — an existing property of the pending-desugar architecture that this change now surfaces for the first time.
  • ferrum._warn.warn_once's dedupe identity widens from (channel, kwarg) to (channel, kwarg, message) (#240) — two calls on the same pair with genuinely different messages now both emit, once each, instead of the second being silently swallowed. Two carve-outs that said "planned for a future Phase" (a permanently untrue statement for a permanent refusal) now state the true, permanent fact.
  • Breaking: BreakAxis's piecewise scale is now built against the broken scale's own padded pixel range instead of the raw plot rect, and a tick label under a break now translates rigidly on its own tick's anchor instead of having its own drawn baseline-offset coordinate reverse-mapped (#226). Every effective break previously discarded the axis's own scale padding (the positional-scale inset, up to 8px per end): every mark, tick, gridline, and the break indicator now sit at the same pixels as the unbroken chart's wherever they aren't inside a gap; an out-of-domain value clamps to the domain's own padded edge; the axis domain line spans the full plot rect exactly as on an unbroken chart. The rigid tick-label translation closes a second defect on top of that: a label's own drawn offset from its dash used to compress by a different amount per sibling and read a flush-edge label's offset as exactly zero. Every visible tick's label↔dash offset is now bit-for-bit identical to the unbroken chart's, and a label hides if and only if its own tick's anchor falls inside a gap. Five break goldens moved and were re-blessed under the PNG-inspection protocol.
  • Breaking: an annotation with a data-space extent on a broken axis is now clipped like the mark geometry it mirrors, instead of being suppressed whole the moment a gap touches it (#228). annotate_rect/ann.rect/ann.span clip silently into one piece per visible segment (a span's label anchors on the largest surviving piece's midpoint); annotate_hline/annotate_vline/ann.line/annotate_arrow/ann.arrow split per visible piece through the same vertex splitter mark geometry uses, with an arrow's head riding the piece that reaches its tip and dropping alone if the tip itself is in a gap; ann.bracket keeps its permanent suppress-whole contract, since its two endpoint tips admit no honest split; point-anchored kinds (text, callout, image) are unchanged. An extent annotation is suppressed now only when nothing of it survives the gaps or its kind admits no split at all — previously any gap touching an extent's endpoint or interior dropped the whole annotation.
  • Breaking: nine disclosed residuals of the break-axis pixel-space surgery model are closed (#230; the temporal-gap-bounds item is documented under Added, above). Two or more BreakAxis specs on the same axis now merge into one break result before anything is remapped, instead of composing sequentially against the original unbroken domain — the sequential model could resurrect a mark the first break had hidden by clamping its hidden sentinel back into view under a second break; the sentinel is now poison at the remap mechanism itself (reverse-maps to NaN, never back into the domain), and a conflicting break_style/break_size among merged specs keeps the first declaration's value and warns once per axis per field (new RenderWarning::BreakAxisMergeConflict). A vertex-placed mark (mark_line, mark_rule, mark_segment's shaft, box/violin whiskers, and an area's line=/borders= outline) crossing a gap now emits one sub-node per visible segment, cut exactly at the gap edge, instead of one node whose in-gap vertices sat at the hidden sentinel and drew a stroke spiking off-canvas and back (a curved interpolate= path keeps the old per-vertex fallback and can still spike — disclosed, unfixed). A split rounded mark_bar/mark_rect/annotate_rect piece now rounds only the corners it inherits from the source rect's boundary, squaring a corner on a gap-cut edge instead of rounding it (a rotated, rounded, cut piece is a disclosed exception and keeps its original uncut radius). A glyph mark's (point/tick/text/label/image) move/hide test under a break now uses its own exact scale-mapped data anchor instead of the midpoint of its drawn extent, fixing TriangleUp/TriangleDown (whose bbox midpoint sat a quarter of the triangle's height off its true anchor) and mark_text's dx/dy-offset labels (which previously hide-tested the offset position rather than the data position). A break-split keyed mark batch's piece keys now suffix as {key}#{i} (first piece unsuffixed) instead of duplicating the source key onto every piece, which previously made WASM's key-based transition pairing treat split pieces as one logical row. BreakAxis now applies to every facet panel, each against its own plot rect and scale pixel range, instead of only panel 0 — diagnostics report once per chart in the common shared-scale case, qualified by panel when panels genuinely disagree. A chart combining CoordPolar/CoordGeo with any BreakAxis now raises ValueError naming the coordinate and axis instead of silently corrupting geometry — under polar coordinates a break previously reverse-mapped already-projected wedge pixels through the Cartesian scale the projection replaced, destroying every wedge with no warning. None of these eight geometry/diagnostic fixes moves an existing golden (no shipped break golden exercises the affected shapes).

  • Breaking: a not-a-time value (pandas.NaT, numpy.datetime64("NaT")) is now refused by name at the three Python surfaces that accept a temporal value — BreakAxis.gap, a scale={"type": "time", "domain": [...]} domain element, and an annotation coordinate — instead of becoming a NaN that fails somewhere else or not at all. temporal_coord_to_epoch_ms(pd.NaT) returned nan, so a NaT in a scale={"type": "time", "domain": [...]} reached the wire as a null domain bound, and ann.text(x=pd.NaT, ...) died at the Rust boundary with a leaked JSON-parse diagnostic (chart_config: expected value at line 1 column 40). All three consumers now raise ValueError naming the value, BreakAxis.gap prefixing its own BreakAxis.gap[i]: label as before. The Rust-backed fm.TimeScale(domain=[...]) extractor stays narrower for pd.NaT the same way it does for numpy.datetime64 (see the datetime64 bullet above): fm.TimeScale(domain=[pd.NaT, ...]) still raises a leaked TypeError: argument 'domain': 'float' object cannot be interpreted as an integer rather than a named refusal, and the filed Rust-widening follow-up needs to cover NaT as well as datetime64.

  • BreakAxis.gap keeps the container type it was given. A tuple of pairs (gap=((1, 5), (6, 9))) was rebuilt as a list of pairs by the construction-time coercion, which silently made the frozen BreakAxis unhashable — hash(...) on that spelling raised TypeError where it had always worked, and hashability depended on which of two equivalent spellings the caller chose. A tuple now stays a tuple, a list stays a list, and each pair is canonicalized to a 2-tuple as before.
  • A numeric BreakAxis.gap bound now always stores a plain Python float, including a plain int (gap=(90, 10)) and numpy.float64. Both previously kept their original type — np.float64 because it subclasses float and slipped past the coercion, a plain int because the plain-numeric branch returned its input unchanged — so a numpy-numeric gap could store np.float64/np.int64 while every other numeric spelling stored float. A reversed-pair ValueError now reports the coerced float value ("start (90.0) must be less than end (10.0)" rather than "start (90) ..."); the coerced value itself is unchanged (90 == 90.0), so this affects only the stored type and error-message formatting, not comparisons or rendering.

  • Breaking: one target-hygiene contract now governs a corrupted classification target (#203), replacing behavior that varied by the target's dtype and by the model's class-resolution tier. It covers the seven ModelSource classification methods (roc_curve, pr_curve, calibration_curve, cumulative_gain, lift_curve, discrimination_threshold, confusion_matrix) and every figure function built on them, class_prediction_error_chart included; plus the eight classification methods of the precomputed y_true=/y_pred= path (roc_chart, pr_chart, calibration_chart, gain_chart, lift_chart, discrimination_threshold_chart, confusion_matrix_chart, classification_report_chart); plus, since #206 below, the model-backed classification_report_chart / ClassificationReportVisualizer, previously the one classification surface outside it — narrowly: the null cell, plus a total-mismatch cell of its own (below) added in a later fix cycle. Its stray-value cell is not run there, since sklearn's own classification_report resolves its class union directly rather than through check_resolved_target's absorb-and-warn cell; a model exposing no classes_ can still surface sklearn's own untyped ValueError: Mix of label input types (string and number) against a non-numeric y (a narrower, disclosed, not-yet-closed gap — see the #206 bullet below). One classification surface stays outside the contract entirely, stated so it is not read wider than it is: class_balance_chart, which counts y's own values rather than resolving them against a model. Three cells, each a behavior change for a corrupted target only:

    • A null-bearing target refuses, with a ValueError naming the diagnostic invoked, the null count out of the row count, and y's observed values. A null is not a class observation, so counting it as a negative fabricates data; scikit-learn refuses a NaN-bearing y too. This replaces five different old outcomes. On a Utf8/Categorical/Enum target it replaces an unowned TypeError: '<' not supported between instances of 'str' and 'NoneType' raised from whichever of four internal np.unique/sorted sites the call reached first, naming neither the target nor the diagnostic. On a numeric target it replaces silence: the nulls arrived as NaN, became a third distinct class, and shifted the metric — measured on the 200-row binary fixture with 10 nulls, roc_curve returned AUC 0.9395 against a clean 0.9843 — or, on a classes_-less model, pushed resolution from tier 2 to tier 3 and turned the same input into a refusal about the wrong thing. On the precomputed path it replaces two refusals that gave the wrong diagnosis (roc_chart: "requires binary y_true; got 3 unique classes", counting NaN as a class; calibration_chart: "no row of y equals the positive class nan") and two silent accepts (confusion_matrix_chart and classification_report_chart stringified None through sorted(..., key=str) and rendered it as a class of its own). "Null" now means null in every dtype family a polars target arrives in, the temporal one included: a Date/Datetime column's nulls arrive as NaT rather than as NaN or None and were seen by nothing, so confusion_matrix_chart rendered the NaT as a class of its own. An all-null target still refuses, as it did before, but now by the null rule: the message names the nulls instead of advising the caller to check a classes_ that was never wrong. One spelling stays outside the guard: a pandas nullable target (pd.NA) never reaches it, because ferrum's polars ingestion refuses it first with its own untyped TypeError — an ingestion-layer gap, not a silent accept.
    • Stray out-of-domain values among valid rows now warn, naming the diagnostic, how many such rows there were, and which values they held, once per computed call. What happens to the rows is unchanged, and it differs by family, so the two messages say different things. On a curve (roc_curve, pr_curve, calibration_curve, cumulative_gain, lift_curve, discrimination_threshold) the row still counts as "not the positive class" — scikit-learn's own pos_label semantics — and the warning says counted as negative: measured on the same fixture with 10 rows set to a stray 7, roc_curve returns AUC 0.9395 (exactly roc_auc_score over the absorbed indicator) against a clean 0.9843, and now says so. On the confusion matrix (confusion_matrix, confusion_matrix_chart, class_prediction_error_chart) the kernel maps the row to its out-of-vocabulary code and drops it — counted in no cell, not absorbed into one — so the warning says dropped. The drop itself is not new; the silence around it was total: measured, the matrix's cells summed to 190.0 of 200 rows on the binary fixture and 290.0 of 300 on the multiclass one with no diagnostic of any kind, while roc_curve on the identical source warned. One direction deliberately does not move, and was checked: a stray value on a classes_-less binary model still refuses rather than absorbing, because the stray inflates y's cardinality past the score-column count, resolution falls to the parsed class_{i} labels, and those match no row at all — a total mismatch, not a stray among valid rows, so there is no class set to absorb into. A binary pair whose positive class matches no row now says nothing extra: binary_indicator refuses moments later and the call returns no number, so the stray warning that used to precede that refusal (measured with classes_ = [0, 2] against a {0, 1} target: "96 row(s) … were counted as negative") is gone — it asserted an absorb that never happened.
    • The total-mismatch refusal reaches two more places. cumulative_gain and lift_curve join it: a binary target holding no positive row previously returned a gain curve reaching 1.0 (the denominator floors at 1) and a lift chart carrying only its baseline (the positive class fell through the zero-base-rate skip), while roc_curve on the identical source refused by name. And a multiclass resolution where zero resolved class values match any row now refuses, closing the silent all-NaN case the resolver's own docstring called a known gap — measured, three NaN curves where scikit-learn's one-vs-rest AUCs over the same probabilities were 0.872 / 0.942 / 0.930.

    Unchanged: multiclass one-vs-rest still tolerates some classes being absent (and does so without warning — every row is inside the class set, it is the class set that has a spare member), lift_curve still skips a zero-base-rate one-vs-rest class, an empty target is still not an error, an all-positive target still yields the kernels' honest NaN, and discrimination_threshold(cv=...)'s request-vs-fold-slice rule is untouched. A clean target is byte-identical on every diagnostic and no golden moved.

  • Breaking: classification_report_chart's model path (chart builder and ClassificationReportVisualizer._materialize) now translates model.predict's output into y's domain through the SAME positional classes_↔encode_values correspondence the batch-G confusion fix built, before calling sklearn, reusing _predictions_in_y_domain/_coerce_real_classes rather than deriving a second translation (#206). A Utf8/Categorical/Enum y fit against an int-coded classes_ — the ordinary shape when a user label-encodes for training and keeps the readable target for plotting — previously made y_true and the untranslated predictions disagree on type, and sklearn's own unique_labels raised ValueError: Mix of label input types (string and number) before any metric was computed; a numeric y is byte-identical (the translation is the identity). class_prediction_error_chart, #206's other named consumer, needed no code change: it consumes ModelSource.confusion_matrix() wholesale and never touches model.predict directly, so it inherited the batch-G fix by transitivity — verified with a dtype-matrix regression pin cloned from confusion's own. The model path also now runs the shared null-target guard (#203) before predicting, closing the one classification surface that guard left outside its contract: a null-bearing y now refuses in the guard's own typed voice instead of leaking scikit-learn's Input y_true contains NaN / Classification metrics can't handle a mix of unknown and binary targets. The visualizer's own guard names ClassificationReportVisualizer (matching its require_sklearn(...) call two lines above), not the figure function it never calls, and a ClassificationReportVisualizer(model).fit(X) (y omitted, the class's own documented default) now refuses the same typed way instead of leaking TypeError: 'NoneType' object is not iterable from ferrum's own internals. Disclosed, not closed by this fix: a model exposing no classes_ still hands sklearn model.predict's raw, untranslated output — there is no positional correspondence to translate through — so a non-numeric y against such a model's numeric predictions can still surface sklearn's own untyped ValueError: Mix of label input types (string and number); this is a narrower instance of the same failure family, tracked as a follow-up rather than fixed here. The same branch's confusion_matrix label derivation is disclosed with it: it sorts the raw y_true/y_pred union, so a classes_-less model predicting numbers against a string y raises TypeError: '<' not supported between instances of 'str' and 'int' (measured) — the unowned shape classification_report_chart's own derivation now refuses by name, surviving on the confusion side. Fix cycle 5, 2026-09-13 — total mismatch refuses instead of rendering silently. The translation above is only sound when classes_ and y describe the same labels in two dtypes; when they describe different labels entirely — classes_ = [0, 1, 2] fit against y = ["c0", "c1", "c2"] is the shape — every prediction translates to "0"/"1"/"2", values y never held, and the chart rendered an 18-row, six-class report with every metric 0.0 and no warning, while confusion_matrix_chart on the identical source warned and dropped the rows. Before #206's translation existed, this same shape raised sklearn's own loud ValueError: Mix of label input types (string and number), so closing #206 for the ordinary (same-labels) case had traded that loud refusal for a silent, wrong-looking-plausible chart on this adjacent (different-labels) case. _curve_frames.check_translated_classes_match_y now refuses this total mismatch — the same standing policy #203 already applies elsewhere (check_resolved_target's zero-match cell, binary_indicator's positive-class cell) — on both model-path consumers, on the coerced class vocabulary before anything is translated. A partial overlap (part of the translated classes_ lands in y's domain, part doesn't) is unaffected and still renders, since it is the ordinary out-of-vocabulary case sklearn's own report already tolerates. What is tested is the class vocabulary, not the predictions the model happened to make: a correctly-labelled model reported on a slice it gets entirely wrong (y holds only one class, the model predicts only another) renders as it always has.

  • Breaking: both classification_report_chart paths (model and precomputed) now order the class axis by sklearn's unique_labels convention — the union of y_true/y_pred's own distinct values, in their natural ascending order — closing the divergence between them (#224a). The precomputed path's sorted(..., key=str) rule retires for this figure specifically (the close remediation later retired it on confusion_matrix too — see "One class axis for the whole label-domain family" under Breaking changes): it sorted the confusion matrix's already-stringified actual/predicted columns, which is decimal-string order — digit count before value, so "10" lands between "1" and "2" — where sorting the raw values first, matching sklearn's unique_labels, sorts ascending. The order moves for any numeric class set whose labels have unequal digit counts, two classes included — not only at 10+ classes, as this bullet first claimed. Measured: {2, 10} moves from 10, 2 to 2, 10; {1, 2, 10} from 1, 10, 2 to 1, 2, 10; a 12-class target from 0, 1, 10, 11, 2, 3, 4, 5, 6, 7, 8, 9 to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, now matching the model path exactly at both the frame and the rendered SVG's y-axis tick order. Class labels of equal digit count ({0, 1, 2}), and any non-numeric (string/Categorical/Enum) target, are unaffected — both orderings agree there. No golden exercises this path (no classification_report golden exists); the documented-divergence test is flipped to test_classification_report_chart_class_axis_order_now_identical, with the two-class move pinned by test_precomputed_classification_report_order_moves_below_ten_classes.
  • Breaking: classification_report_chart's class-axis label derivation is now total by partition (_curve_frames.report_labels, #224a), and four input shapes that rendered before it now refuse with a typed ValueError. Sorting raw values is not total the way the retired sorted(..., key=str) rule was — that rule stringified first, which is why it accepted everything and ordered it wrongly — so the derivation owns its whole input space in four named cells instead of patching shapes as they are reported: a null in either array, a mix of ordering families, a homogeneous orderable-and-hashable union (the answer), and a homogeneous family that cannot serve as a class label at all — because it does not order (complex, dict, a type with no <), or because it orders but cannot be hashed (list, set, bytearray) — the confusion matrix the report is built from keys each class by its label value, so an orderable-but-unhashable label is as unusable as an unorderable one. Measured before/after against the pre-fix code — the sorted(..., key=str) rule this replaces, character-identical in v0.23.0 and at this wave's branch point, where the measurements were taken: (1) y_true=[0,1,0,1] with y_pred=["0","1","1","0"] rendered classes '0'/'1' with every metric 0.5 — string predictions silently scored against integer targets — and now refuses as a mix of label types; (2) a null-bearing y_pred rendered a phantom class of its own (["a",None,"a","b"] → a 'None' row at 0/0/0 and class 'b''s recall at 0.5; [0.0,nan,0.0,1.0] → a 'nan' row the same way) and now refuses naming y_pred and the null count, in every dtype family a null arrives in (None, NaN, NaT); (3) complex labels rendered as '(1+1j)'/'(2+0j)' and now refuse as unusable, while dict labels leaked TypeError: unhashable type: 'dict' and now refuse by name too; (4) list/set/bytearray labels — orderable via <, but not hashable — previously answered inside the label derivation itself and then leaked TypeError: unhashable type: 'list'/'set'/'bytearray' one statement later, out of the confusion matrix's own dict-keyed lookup; they now refuse at the same named site as complex/dict, naming the reason ("order, but cannot be hashed") rather than the generic mix message. A frozenset pair — hashable, but only partially ordered by subset — is not one of the four: it still renders, but the deduplication that used to assume equal values sort adjacently (true only for a total order) is replaced with hash-equality dedup, closing a real duplicate-label bug it exposed (measured: a two-class frozenset pair previously produced three labels, one of them repeated). An int/float or bool/int union is not a mix — those are one ordering family and keep rendering exactly as before. Also: y_true's shape now gets the same 1-D check y_pred's already had (#208) — a 2-D y_true previously misdiagnosed as "a mix of label types" (each row read as a distinct list-family value) now refuses with the correct shape message naming y_true. confusion_matrix_chart did not move with any of this when #224a shipped — on the identical inputs it still rendered the mixed union (16 cells), rendered a null y_pred as its own class, rendered complex labels, and ordered its axis 10, 2 — and that asymmetry, stated here deliberately rather than as an accident, is what the wave's close review returned as a concern, twice. It is now closed (see "One class axis for the whole label-domain family", below): both confusion paths derive their class axis from the same report_labels partition, so the mixed union, the null y_pred, the complex labels and the list/set/bytearray labels all refuse by name on every label-domain figure, and numeric labels order by value on all of them. The one surviving difference is the ordering of a string-keyed axis under sorted(..., key=str) versus the same values sorted raw — which is the same order, so nothing observable remains.

  • Breaking: ModelSource.embeddings(method="tsne") gains one perplexity-validation owner, shared with .intercluster_distance(method="tsne")'s existing clamp (#222, N4). Before this, the raw perplexity kwarg forwarded straight to manifolds-rs unclamped, and the unmodified default — not only a user-supplied value — raised tsne_embedding failed: perplexity (30) must be strictly less than the kNN size (n) for every n_samples <= 31, on .embeddings() directly and on both public surfaces built over it (manifold_chart, ManifoldVisualizer), since neither exposes a perplexity parameter of its own. The default now resolves to min(30, n_samples - 2) and renders (e.g. n_samples=20 renders at perplexity=18; n_samples=200 is unaffected). An explicit perplexity= is validated, not silently reduced: non-numeric, non-finite (NaN/±inf), non-positive, or greater than n_samples - 2 all now raise a typed ValueError naming perplexity, n_samples, and the bound — replacing both the raw manifolds-rs "kNN size" message (an internal quantity no ferrum parameter names) and a PanicException a negative or NaN value previously raised at the PyO3 boundary, which no except ValueError could catch. An unknown method_kwargs key (a typo, or a real key from the wrong method, e.g. perplexity= passed to method="umap") now refuses by name instead of being silently swallowed by a bare .get(...) and computing the default embedding. No golden added or moved — t-SNE/UMAP output has no golden by design (manifolds-rs's RNG is not the byte-deterministic ChaCha8Rng this repo's other transforms guarantee); random_state= determinism within one process/platform/toolchain is unaffected.

  • Breaking: ModelSource.partial_dependence() on a multi-class classifier now emits one row group per class instead of silently returning class 0's curve alone (#209). The frame gains a class_label column naming the model output each row belongs to, using exactly shap_values()' vocabulary and its single shared owner: "target" on a regressor, the positive-class name on a binary classifier (sklearn's partial dependence reports the positive class only, so those rows are unchanged), one label per class on a multi-class classifier. Measured before/after for a 3-class model with 2 features at grid_resolution=10: kind="average" went from 20 rows to 60; kind="individual" on 300 samples at grid_resolution=6 went from 1800 rows to 5400. The per-class values are sklearn's own per-output results, previously discarded for every class after the first. Single-output (regression/binary) frames keep their rows, values, and row order byte-identical — only the new column is added — and a multi-output regressor, which has no classes_ but several outputs, numbers them target_0 ... target_{n-1} rather than repeating a bare "target" that would merge unrelated curves. pdp_chart keeps one facet panel per feature and binds class_label to the color channel when the frame carries more than one class, so each panel shows one legended curve per class; the center= anchor, the kind="both" average join, and the ICE detail pairing all carry class_label, so curves cannot chain or cross-join between classes. A single-class frame keeps the color-free rendering it had, and the three existing PDP goldens are byte-identical; one new multiclass golden was added.

  • Breaking: the class_label vocabulary's single owner is now shared by partial_dependence() and shap_values(), and the multi-output case it gained to serve the fix above moves shap_values()'s output — and three rendered charts — for one model shape (#209). A model with no classes_ but several outputs (a native multi-output regressor, e.g. RandomForestRegressor fit on a 2-column y) previously labelled every one of its outputs with the same bare "target", so shap_values() returned two unrelated outputs as one indistinguishable class_label group; they are now numbered target_0 ... target_{n-1}. Because class_label is what shap_beeswarm_chart/shap_bar_chart/shap_waterfall_chart select and facet on, this is a rendered-output change, not only a string column: per_class=False had nothing to filter and pooled both outputs' rows into one chart (the bar chart then averaged them together); it now selects the first output's rows, and per_class=True facets into one panel per output where it previously drew a single unfaceted panel. Measured on 120 rows with three standard-normal features a/b/c and y = [3a + 0.2c, 4b + 0.2c] through RandomForestRegressor(n_estimators=5, max_depth=3, random_state=0): shap_values()'s class_label uniques go ["target"] → ["target_0", "target_1"] at an unchanged height of 720 rows; the per_class=False selection goes 720 rows → 360; and shap_bar_chart(source)'s abs_mean_shap moves a 1.181774 → 2.011961 and b 1.626124 → 0.268149 (c is 0.0 on both), flipping the rendered bar order from b, a, c to a, b, c — the pooled ranking described neither model output. Single-output regressors and classifiers of every arity are unaffected on both methods, and no golden moved.
  • Breaking: mark_discrimination_threshold(optimum_label=True)/(threshold_line=True) now refuses instead of silently vanishing when metrics= excludes "f1" (#189), if the caller passed the flag explicitly. Both flags default to a private sentinel rather than a materialized bool, so the mark can tell "the caller asked for this" apart from "the parameter's own default filled in True" — an explicit ask with no F1-optimum row to label/rule at is a self-contradicting request and now raises ValueError naming the flag and metrics=; the un-passed default (optimum_label's own default is True) keeps the pre-existing silent downgrade to False that batch F T3 shipped to fix the crash this replaced. discrimination_threshold_chart and DiscriminationThresholdVisualizer forward optimum_label through unchanged rather than materializing their own default first, so a caller who never touches optimum_label at any layer still gets the silent downgrade, not a refusal — only a genuinely explicit True (at any layer) with an f1-less metrics= raises. Clean (default) metrics= is unaffected on every path; no golden moved.
  • Breaking: the confusion family now answers a malformed classification target the way the report family does (whole-wave design review, finding 2, 2026-09-17). The target-hygiene contract's own header claimed "one contract ... applied by every binary and multiclass diagnostic on both source paths" while the confusion family sat outside two of its cells, and the hole was user-visible inside one figure family: on y_true=["a","b","a","b"] with y_pred=["a",None,"a","b"], classification_report_chart refused naming y_pred and the null count while confusion_matrix_chart on the identical arrays rendered predicted uniques ['None', 'a', 'b'] — a class nothing predicted, scored against by the row holding the null. Three cells move, on malformed inputs only: (1) a null prediction refuses on both confusion_matrix implementations, model path and precomputed, in both spellings (None in an object array, NaN in a float one) and via the same require_no_null_predictions guard the report path uses; (2) a fully disjoint translated class vocabulary refuses on confusion_matrix_chart and class_prediction_error_chart — classes_ = [0, 1, 2] against y = ["c0", "c1", "c2"] used to render every cell as zero behind a warning saying 300 of 300 rows had been dropped, which is the all-zero render classification_report_chart already refused (#206 cycle 5); a partial overlap still warns and drops, unchanged; (3) ModelSource.confusion_matrix's no-classes_ branch derives its class axis through report_labels instead of a raw sorted(set(...)) union, so a classes_-less model predicting numbers against a string y refuses as a mix of label types instead of leaking TypeError: '<' not supported between instances of 'str' and 'int', and a dict-valued prediction refuses instead of leaking TypeError: unhashable type one statement later. The order that branch produces is unchanged for every input the old rule accepted. Clean targets are unaffected and no golden moved (verified by the golden byte-check suites).
  • Breaking: the precomputed confusion matrix's class axis joins the family's one partition, retiring sorted(..., key=str) (whole-wave design review cycle 2, finding A, 2026-09-17). That rule stringified the label union before comparing it, and was carried for two cycles as a class ordering preference the report's #224a change was scoped not to touch. It was not only an ordering rule: stringifying makes str totally order everything, so it accepted every input — including ones the chart cannot draw. Measured on y_true=[0, 1, 0, 1] with y_pred=["0", "1", "0", "1"] (object dtype): it derived four labels [0, '0', 1, '1'] that stringify to two, returned a 16-row frame carrying only 4 distinct (actual, predicted) keys — each one four times, with the true diagonal mass split across visually identical cells — and confusion_matrix_chart rendered four superimposed <text> nodes at each of four identical pixel positions (e.g. four nodes at x=178.166, y=133.537). class_prediction_error_chart rendered the same way; classification_report_chart on the identical arrays refused by name throughout. Both confusion paths now derive their class axis from report_labels, so that input refuses on all three figures, and the family's four label-domain surfaces answer one input one way. Two user-visible moves: (1) a mixed-family union, complex labels, and list/set/bytearray labels refuse on confusion_matrix_chart/class_prediction_error_chart where they previously rendered (the list/set/bytearray case previously leaked an unowned TypeError: unhashable type from the old rule's own set()); (2) numeric class labels now order by value rather than by digit count — measured, {1, 2, 10} moves from ['1', '10', '2'] to ['1', '2', '10'], matching what classification_report_chart and the model path already rendered. String labels sort identically under both rules and do not move, which is every confusion golden in the repo: no golden moved (verified by the full golden byte-check suites).
  • Breaking: classification_report_chart's model path refuses a null-bearing prediction vector instead of leaking sklearn's own error (cycle-2 intent-review observation, 2026-09-17). An estimator whose predict returns a null (an abstain mapped to None, say) produced ValueError: Classification metrics can't handle a mix of binary and unknown targets from inside scikit-learn — naming neither the array nor the entry — while confusion_matrix_chart and class_prediction_error_chart refused typed on the identical input. The guard now lives in report_predictions_in_y_domain, the owner both report consumers share, so the third label-domain figure answers the null-prediction cell the way the other two do.
  • The discrimination-threshold optimum label's text now comes from _render_metric like every other metric string (cycle-2 design review, finding B). It composed f"max F1 = {v:.3f} @ t={t:.2f}" inline — its own spelling, its own rounding — inside the subsystem #219 created to end exactly that, which made _metric_labels' "single producer of a user-visible metric string" claim false in its own module header. f1 is now a registered metric kind (with a _NoCurveDefinition, since the curves a discrimination-threshold chart draws do not define an F1 score), and the annotation renders f"max {_render_metric('f1', v)} @ t={t:.2f}", keeping "max " and the threshold suffix as that surface's own framing. The rendered text is byte-identical; no golden moved. A registered kind and a composable + Label() class are no longer the same set, so _apply_metric_label_explicit now validates against the class registry and refuses "f1" by name instead of raising KeyError.
  • Target-hygiene refusals raised on the model path now name a lever the caller holds (cycle-2 design review, finding H). "Drop or impute the null rows" and "use one consistent value type for y_true and y_pred" are actionable for a caller who passed y_pred=, and name an array the caller never produced when y_pred is model.predict's output; those refusals now close with a clause naming the model instead. The diagnosis, the counts and the observed values are unchanged, and the precomputed path's wording is byte-identical.
  • Internal consistency, no behavior change: the chart_name= keyword on the precomputed adapter's shape/arity guards is renamed diagnostic=, so one concept ("name the public entry the caller actually invoked") has one spelling across all 64 sites instead of two (cycle-2 design review, finding C); _SourceCache's store refusal now also covers the constructor path, which dict.__init__'s C path had bypassed (finding F); the module split's four dead imports are deleted (finding D); two docstring references to a _DISC_FLAG_DEFAULTS symbol that never existed now name ferrum.marks._desugar_helpers.DISC_FLAG_DEFAULTS (finding E); and resolve_disc_flag refuses an unknown flag by name rather than as a bare KeyError (finding I).
  • Breaking: diagnostic= now names the public entry the caller actually invoked on the model path too (whole-wave design review, finding 4, 2026-09-17). The parameter's documented contract has always been that it "names the public entry the caller actually invoked", and the precomputed path honored it, but the model path hardcoded the source method's name: fm.roc_chart(model, X, y_with_nulls) raised "roc_curve: ... Drop or impute the null rows before calling roc_curve." — naming a method the figure-function caller never called — while fm.roc_chart(y_true=..., y_pred=...) on the same defect raised "roc_chart: ...". Every classification method on both source kinds now takes a diagnostic= keyword defaulting to its own name, and the figure functions and visualizers pass their own: a refusal or hygiene warning raised through roc_chart says roc_chart, through ROCVisualizer says ROCVisualizer, and a direct source.roc_curve() call still says roc_curve. This is a message text change only — no number, no frame, and no rendered geometry moves, and the name is deliberately not part of the cache key. The most visible instance: class_prediction_error_chart's inherited stray-drop warning now opens class_prediction_error_chart: instead of confusion_matrix:, which is the case that could not be fixed by baking a name into the source method, since two figure functions render that one frame.
  • Breaking: BaseSource._cache_key now normalizes array-likes centrally instead of falling back to repr() for whatever it can't hash, and stops caching a value that stays unhashable after that normalization (#224b, N5). Four real collisions were verified end-to-end and are now impossible: (a) discrimination_threshold(cv=<splitter>) with a custom splitter whose class defines __eq__ (disabling identity __hash__) but doesn't override __repr__ — CPython's default object.__repr__ embeds the memory address, not the object's state, and two short-lived temporaries of the same class reliably land at the same freed address (measured 10/10 trials), so cv=Splitter(3) followed by cv=Splitter(7) built the SAME cache key and the second call silently returned the first's frame; (b) learning_curve(train_sizes=<ndarray>), where numpy's repr() rounds (precision=8) and truncates (threshold=1000 → ...), so [0.2,0.4,0.6,0.8,1.0] and the same array with the last element nudged by 1e-12 printed identically and shared a cache slot — validation_curve already avoided this by locally tuple-ifying its values kwarg before keying, an asymmetry that is now moot since the local step collapsed onto the central normalizer; © shap_values(background=...), which keyed on str(background)[:64] — two backgrounds differing only past character 64 of their printed repr collided outright; (d) learning_curve(train_sizes=[1]) vs. learning_curve(train_sizes=[1.0]) — sklearn reads an int array as an absolute sample count and a float array as a fraction of the training set, two different requests that Python's cross-type numeric equality (1 == 1.0) would otherwise key identically. _cache_key now converts an ndarray/list/tuple kwarg (including nested ones) into a nested tuple of its own values, content-preserving with no rounding or truncation, before checking hashability; every int/float leaf also carries its own numeric kind through that normalization, so equal content keys equal only when the numeric kind matches too, closing (d). A value that is still unhashable after normalization (a dict, a custom object with no __hash__) gets a fresh, never-repeating key instead, so the call is always a genuine cache miss rather than a possible wrong hit, and — because self._cache itself now refuses to store an entry keyed this way — repeated calls with the same reused unhashable value do not leak one throwaway cache entry per call either: a disclosed behavior change, but a bounded one, not an unbounded-growth trade.
  • Breaking: discrimination_threshold(cv=<int>) now splits via sklearn's own check_cv(cv, y, classifier=True) convention — an unshuffled StratifiedKFold — instead of the hand-rolled KFold(shuffle=True, random_state=self._random_state or 0) (#211, N2, N3). The old splitter genuinely consumed random_state (reproducible only by the or 0 default when unset), which made two long-standing spec claims — "discrimination_threshold ignores random_state" and the matching DiscriminationThresholdVisualizer entry — false; the new splitter has no seed to thread, restoring both to true, confirmed by a determinism pin (two sources built with different random_state values now sweep to the identical frame). This moves the averaged per-threshold numbers for every integer-cv= call, since stratification changes which rows land in which fold: measured on a 120-row, 12-positive fixture (random_state=0, cv=5) the discrimination_threshold(cv=5) frame's column sums moved precision 0.840187 → 0.676222, recall 5.333333 → 5.133333, f1 1.302555 → 1.165420; no golden exercises cv=. A user-supplied splitter's .split() now also receives y (previously .split(X) with no y, so a stratified splitter raised TypeError: split() missing 1 required positional argument: 'y', N2) — discrimination_threshold(cv=StratifiedKFold(...)) now works. A train fold left with only one class now emits a UserWarning naming the fold and the missing class before the clone-and-fit step's own sklearn error; the routine, unrelated, test-fold-missing-a-class case is unchanged (still silently contributes precision = recall = f1 = 0 with a real queue_rate). DiscriminationThresholdVisualizer(cv=...) inherits the fix by forwarding cv= unchanged; no code change was needed there.
  • Breaking: discrimination_threshold_chart(compare=...) and DiscriminationThresholdVisualizer(compare=...) now render small multiples — one ConcatChart panel per model, shared x/y scales, titled with the model name — instead of stacking every model's sweep into one panel (#213). The geometry moved, not just the annotation: the builder's unpivot to long form named model in neither index= nor the resolved metric columns, so polars dropped the column outright and the four metric polylines each traversed the threshold axis once per model — an interleaved zig-zag, not an overlay. Measured on the pinned binary_logistic fixture against a GaussianNB rival at n_thresholds=20, the old single panel held 160 rows over 80 distinct (threshold, metric) pairs (every pair duplicated); each of the two panels now holds 80 rows, one per pair. The F1-optimum label and the threshold_line rule came from one arg_max over that pooled frame and so reported whichever model won globally; every panel now computes them from its own model's sweep, because each panel is built by re-entering the single-model builder — measured, base max F1 = 0.918 @ t=0.42 and rival max F1 = 0.886 @ t=0.53 where there used to be one label reading 0.918 @ t=0.42. A per-model build failure re-raises prefixed with that model's name (compare={'alt': ...}: discrimination_threshold() is binary-classifier only; got 3 classes.). The single-model path is untouched and both single-model discrimination-threshold goldens are byte-identical; a new compare golden was added.
  • Breaking: One metric surface on roc_chart/pr_chart/calibration_chart (#219, D4). annotate_auc/annotate_ap/annotate_brier now drive exactly one surface — the per-curve endpoint overlay. The chart title's metric suffix and the legend's (METRIC = x) rename both retire: every ROC chart is titled "ROC Curve", every PR chart "Precision–Recall Curve" and every calibration chart "Calibration Curve" (single-curve, per-class, averaged, compared and precomputed alike), and a legend entry is the bare class or model name ("1", "macro", "a") instead of "1 (AUC = 0.984)". This is the repo's own Schwabish T2 rule — a direct label replaces the legend's copy of the number — applied to the three curve families, and it is what makes annotate_*=False mean no metric anywhere: the title used to print one regardless of the flag. No metric value changes; only how many times each is printed. Measured metric text runs per chart across the eleven phase-10 goldens this moved: roc_chart_binary and roc_chart_binary_annotate_auc 3 → 1; roc_chart_multiclass and roc_chart_multiclass_annotate_auc 6 → 3; roc_chart_compare_two_models 4 → 2; pr_chart_binary, pr_chart_binary_annotate_ap and pr_chart_binary_iso_lines 3 → 1; pr_chart_multiclass_annotate_ap_iso 6 → 3; pr_chart_multiclass_macro_average 3 → 1; calibration_chart_binary 2 → 1. Code reading chart._title.text for a metric, or matching legend labels against the renamed values, is affected. calibration_chart's compared-source title guard is subsumed rather than lost — every calibration chart titles plainly now, and the per-model Brier still reaches the reader through the per-series overlay. mark_roc(annotate_auc=True)/mark_pr(annotate_ap=True) are unaffected: the direct-mark path was already a single surface, and its "{group}: AUC = 0.987" text and placement are byte-identical.
  • Breaking: + BrierLabel() on a frame with no brier column now refuses (#219(3)). A reliability diagram's binned (mean_predicted, fraction_positive) points do not define a Brier score — integrating them yields a bin-level statistic that moves with n_bins=/strategy= — so the documented silent fallback that showed that statistic under the Brier = label is deleted, in favour of a ValueError naming the missing column and the hazard. AUCLabel/APLabel are unaffected: the area under the drawn curve is their metric, so the composable path over arbitrary user data keeps integrating. Every ferrum-produced calibration frame carries the column, so no figure-function path is affected — only a hand-built frame composed with + BrierLabel().
  • Re-applying a metric label replaces it instead of overstriking (#219(2)). roc_chart(...) + fm.AUCLabel() used to stack a second text layer holding the same string at the same coordinates, since the figure function already places one — visible only as slightly bolder glyphs, and measured on the calibration path as two identical Brier = 0.056 runs where there should be one. The new label now supersedes the existing one, so re-application is how a caller changes position=/format=/prefix= on a figure's own label. The rendered output of a chart that composes a label exactly once is unchanged.
  • A cleared paint wins over the color channel (wave 6A, #110). mark_line(stroke="none").encode(x=…, y=…, color="g") rendered byte-identically to the same chart without the clear, painting the categorical palette over it; mark_area(fill="none").encode(color="g") did the same with a fill. The clear now wins, so no stroke (or fill) is painted. The same shared resolver fixes bar, rect, arc, polygon and point under a color channel, and text now reaches it too: mark_text(fill="none").encode(color="g") painted the palette and now paints no glyphs. mark_label(fill="none"), which reads no color channel, likewise stops painting its text and leader lines in rgba(0,0,0,0.000); see Breaking for the byte-level consequences. An explicit transparent color (stroke="#00000000") is a color, not a clear, and still renders rgba(0,0,0,0.000).
  • Interactive keyed transitions update the marks they name (wave 6A, #105). The WASM runtime computed each mark batch's instance range by counting nodes, which went wrong as soon as chrome shared the circle/rect instance buffers. Two public shapes were affected: configure_grid(band_colors=…) (five band rects ahead of the bars, so bars reported instances 0..4 while occupying 5..9) and plain .facet(col=…) (a strip-title rect after each panel's marks). A keyed transition on either wrote bar geometry onto grid band 0, silently. Ranges now come from the draw commands the loader already records with their true offsets. This reaches the widget through the rebuilt ferrum_wasm_bg.wasm bundle that ships in the same wave.
  • Theme(cull_threshold=) reaches an independent-x facet axis (wave 6A, #146). Under .facet(col=…).share_scale(x="independent") the per-panel x axis used the compile-time default gap, so the setting was inert there: a 60-category axis rendered 40 labels at cull_threshold 0, 8 and 40 alike, where the shared-x facet rendered 120, 40 and 20. It now reads the theme like every other axis. The y axis was never affected.
  • An independent facet axis applies its temporal tick format, and mark_text applies its strftime pattern (wave 6A, #147). fm.Axis(label_format="%Y/%m/%d") under .share_scale(x="independent") rendered 2020 2020 2020 2020 while the shared axis rendered dates; it now renders dates, and the two paths agree. fm.Text("d", format="%Y/%m/%d", format_type="time") rendered 2020-01-01 instead of 2020/01/01; it now renders the pattern. Both come from six format sites converging on one resolution; see ferrum-spec.md §3.7's 2026-09-22 note.
  • pairplot(markers=[...]) finally draws the requested glyphs, and Shape/StrokeDash(scale=...) are no longer inert (wave 6B, #123). Shape(scale=...) is wired end to end, domain and range, mirroring Color's explicit-ordinal-domain/range path: before this, pairplot's documented seaborn-compat markers= argument (Shape(hue, scale={"type": "ordinal", "range": markers}) under the hood) rendered the identical glyph set for every markers list, because build_shape_scale never read scale at all. StrokeDash(scale=...)'s domain is wired the same way, reassigning which dash pattern each category gets. See Breaking, below, for the new construction-time refusals that ship alongside.
  • A conditional literal is typed by its channel (wave 6B, #128). encode(size=sel.when(fm.value("red")).otherwise(fm.value(30))) serialized a color value under the size channel, and the interactive runtime repainted the mark's fill on selection; the same held on opacity, stroke_width, stroke_opacity, fill_opacity, angle and stroke_dash. The resolver read any string as a color before it looked at the channel. One channel-keyed table now decides: color takes a color (unchanged, byte-identical on the wire), the six numeric channels take a finite number, and stroke_dash takes a dash pattern through the same normalizer as mark_line(stroke_dash=), so fm.value("dashed"), fm.value("4,2") and fm.value([4, 2]) now work there where they were refused with a color message or a TypeError. The rule is the same for fm.value, fm.when(...).then(...) and fm.param(...).ref(), and fm.value accepts a list or tuple. See Breaking for what now refuses.
  • The min_extent=/max_extent= deprecation warning points at your line (wave 6B, #149). fm.Axis(min_extent=...) and fm.AxisConfig(min_extent=...) attributed their DeprecationWarning to ferrum's own source, so a warning filter keyed on your module never matched it. Axis and AxisConfig now use the generated dataclass constructor instead of a 73-line hand-written mirror, and the warning is attributed to the caller; configure_axis(x=False)'s vestigial-flag warning is too. Three small by-design side effects: a config built by configure_axis shows the default x=True, y=True in repr/== rather than the no-op flags you passed (the wire is unchanged, since to_dict() drops both), Axis().min_extent reads back an unset sentinel instead of raising AttributeError, and __match_args__ gains the two alias names.
  • Every transform repr shows what you built (wave 6B, #195). repr() on 30 of the 35 transform classes left out constructor arguments: JoinAggregate printed the literal JoinAggregate(...), AggregateOp printed the Rust enum variant (fn='Variance'), Aggregate printed an op count (ops=[2 ops]), and Bin, Hex, Raster, Smooth, Swarm and the rest dropped between one and five arguments each, name included. Every repr now renders every argument with its real value: AggregateOp("x", fn_="var", as_="v") prints fn_='variance', Aggregate prints its AggregateOp(...) list, and Reorder prints from_= where it printed from=. Only repr() text changes, so code that parses a transform's repr will see new text; SVG, interactive output and the wire are byte-identical. A repr is for reading, not eval (round-trip is a logged follow-up). ferrum-spec.md §3.5's 2026-09-23 note lists the 30 classes and the rendering rules.
  • Hand-built transform specs refuse an unknown vocabulary value on an empty batch too (wave 6B close, #165(3)). kde, density_data, qq, top_k, pivot, data_window, data_stack and regression_data checked their kernel=/distribution=/method=/op=/offset= value only when a row reached the dispatch, so the same spec was refused on data and accepted on an empty batch. Every one now checks against its declared vocabulary on entry, and Linkage/ErrorExtent parse through the same typed vocabulary as Hex/Raster/Bin. Only hand-built specs and the raw transform classes are affected; figure functions already passed declared values.
  • Numpy scalars and Decimal are numbers everywhere a number is accepted (wave 6B close). One predicate, ferrum._validate.is_real_number, now answers "is this a real number" for Inset bounds (bare and px()/norm()-wrapped, where px(np.int64(10)) was refused while a bare np.int64 was accepted), PaddingConfig, GridConfig/GridAxisConfig width/opacity, override(padding_*=), dash lengths (mark_line(stroke_dash=[np.int64(4), 2]) escaped as a raw JSON TypeError), BreakAxis.gap, and transform_filter/transform_impute literals (which now accept Decimal). bool is never a number. Those configs now store the float they validated, so PaddingConfig(top=5).to_dict() gives {"top": 5.0, "auto": False} and px(10) serializes 10.0 where the int went on the wire; rendered output is unchanged.
  • dataclasses.replace(Axis(...), min_extent=...) attributes its deprecation warning to your line (wave 6B close, #149). replace added frames above the generated constructor, so the warning pointed at dataclasses.py; Axis and AxisConfig now compute the stack level from the frames.
  • Every numeric door answers "is this a number" the same way, heatmap/AxisConfig stop leaking a raw serialization TypeError, and AxisConfig gains Decimal support (wave 6C, #120(6)). heatmap(vmin=/vmax=/center=...) ran math.isfinite on the raw value, so a numpy integer or Decimal bound constructed and then leaked TypeError: Object of type int64/Decimal is not JSON serializable at render, and heatmap(vmax=True) rendered as 1 — it now refuses, "heatmap(vmax=...) must be a real number (int, float, numpy scalar, or Decimal), not bool; received True". AxisConfig(domain_min=/domain_max=...) (and, through it, every override(<axis>_domain_min/max=...) leaf) had the same serialization leak and now, for the same reason, also accepts Decimal (AxisConfig(domain_min=Decimal("2.5")) stores 2.5, where it previously refused). Both, plus ModelSource.embeddings(method="tsne", perplexity=...) and BreakAxis.gap's bounds (whose bare float() let an oversized integer's OverflowError and a Decimal("sNaN")'s ValueError escape unlabeled), now share one coerce_finite_real: refuse "{label} must be a real number (int, float, numpy scalar, or Decimal), not {type}; received {value!r}" for a non-number or "{label} must be a finite number a float can hold; received {value!r}" for nan/inf/an oversized value, else return a builtin int/float — closing the serialization leak for every accepted numpy/Decimal bound. coerce_positive_int (behind Chart.facet(ncols=/nrows=...), Facet(columns=...) and the new catplot(n_boot=...) door) accepts a numpy integer and refuses "{label} must be at most 2**53, the largest integer a float holds exactly; received {value!r}" above that ceiling; a count between 2**32 and 2**53 still passes Python and is refused by Rust's u32 field at render, naming facet: rather than the door (a residual, not fixed here). Message text moves with the unification: heatmap's finiteness refusal reads "must be a finite number a float can hold" (was "must be finite"); AxisConfig's domain-bound refusal names the call-form door instead of the internal field label; Chart.facet's count refusal names Chart.facet(ncols=...)/Facet(columns=...) instead of the internal _Facet attribute. Separately, catplot(ci=/n_boot=...) gains real validation (ci="95" used to launder through a bare float() and is now refused) and, on the five kinds that draw no interval (strip, swarm, box, violin, boxen) plus count, a non-default ci=/n_boot= — previously accepted and silently ignored — now refuses reading "catplot({name}={value!r}) is not supported with kind={kind!r} -- that kind draws no confidence interval, so {name}= would be ignored. Drop {name}=, or use one of the estimating kinds ('bar', 'point')." The defaults (ci=95, n_boot=1000) stay silent on every kind, and every already-accepted numeric shape's rendered output is unchanged. The mark-style doors and the remaining number literals join the same coercion. The numeric mark_* style kwargs (size, opacity/alpha, stroke_width, corner_radius, font_size, dx, dy, angle, limit, band_size, arrow_size, on primitive and composite marks alike) and transform_impute(value=...) now store a numpy scalar or Decimal as a builtin number, where it leaked TypeError: Object of type int64 is not JSON serializable at to_json()/render, and refuse a non-number or non-finite value in the door's voice, "mark_point(size=...) must be a real number (int, float, numpy scalar, or Decimal), not str; received 'a'", where the renderer refused it later with its own text (mark_style: invalid type: string "a", expected f64); a composite mark refuses when the chart is resolved, as its other style checks do. transform_filter's and transform_impute(keyvals=...)'s number literals refuse through the same helper, reading "transform_filter: value for field 'x' must be a finite number a float can hold; received nan" (was "transform_filter: non-finite float nan not allowed for field 'x'; accepted: string, number, bool, or None") and "transform_impute: keyvals value for key 'x' must be a finite number a float can hold; received nan" (was "transform_impute: non-finite float nan not allowed in keyvals for key 'x'; accepted: string, number, or bool"), and now also refuse an integer a float cannot hold (10**400, previously emitted as a literal) and Decimal("sNaN") (previously a bare ValueError). A dash length and a conditional numeric literal (fm.value(...) on a numeric channel) refuse 10**400 and Decimal("sNaN") in their existing refusal shapes instead of leaking a raw OverflowError or an unlabeled ValueError. The count predicate is renamed coerce_positive_int and returns the builtin int every door now stores, so Chart.facet(ncols=np.int64(2)) stores 2. See ferrum-spec.md's 2026-09-24 note. In the close, the unsigned-integer mark field limit (published by the new ferrum._core.mark_integer_kwargs()) takes integers only: mark_text(limit=2.5) and mark_text(limit=-1) refuse at construction, "mark_text(limit=...) must be a non-negative int, not float; received 2.5" / "mark_text(limit=...) must be >= 0; received -1", where they previously constructed and failed at render with mark_style: invalid type: floating point '2.5', expected usize; and a style kwarg the mark does not honor is refused as unknown before its value is judged, so mark_point(corner_radius="x") raises the unknown-keyword TypeError instead of "mark_point(corner_radius=...) must be a real number ...".
  • A conditional-collision refusal names both colliding declarations, and the layer door speaks in its own voice (wave 6C, #245(3)). encode(), Chart.conditional(), Chart + Chart and Chart.layer(Layer(encoding=...))'s one-conditional-per-wire-channel refusals used to report only that the wire channel already carried one — chart + chart's read "chart + chart: both sides declare a conditional on the 'color' wire channel; a channel can carry only one conditional after the marks merge onto one panel ...; ...", naming neither side — and the layer door additionally raised in encode()'s voice even though the caller never called encode() ("encode(fill=...) declares a conditional on the 'color' wire channel, which already carries one on this chart ...; a channel can carry only one conditional. Drop one of the two declarations."). All four now share one message builder, "{context}: {first} and {second} both declare a conditional on the '{wire}' wire channel{detail}; a channel can carry only one conditional. Drop one of the two declarations, or move one to a different channel.", naming the public entry that raised, the wire channel, and both declarations — an encode(<key>=...) or Layer(encoding={<key>: ...}) parameter when the collision is against a same-call spelling, else the selection driving the conditional — so (a + b) + c reads "chart + chart: selection 'b' and selection 'c' both declare a conditional on the 'color' wire channel; ...", and chart.layer(Layer(encoding={"fill": fm.Fill(..., condition=...)})) now reads "Chart.layer(): Layer(encoding={'fill': ...}) and selection 's1' both declare a conditional on the 'color' wire channel (fill carries its conditional onto color); ...". Message text only: which calls raise, and when, is unchanged. In the close, a declaration with no parameter spelling is named by its role as well as its selection, so a collision between two conditionals on one selection no longer reads "selection 's' and selection 's'": the sides read "the chart's existing conditional on selection 's'", "this call's conditional on selection 's'" (Chart.conditional()), and "the left chart's conditional on selection 's'" / "the right chart's conditional on selection 's'" (Chart + Chart), and (a + b) + c reads "chart + chart: the left chart's conditional on selection 'b' and the right chart's conditional on selection 'c' both declare ...".
  • Facet(sort=) orders panels instead of warning, a malformed sort object refuses at construction everywhere sort= is honored, and a hand-built spec carrying one refuses at render instead of rendering silently (wave 6C, #176(11), N3). Facet/FacetRow/FacetCol(sort=...) was accepted and downgraded to a "not yet honored; planned for a future Phase" warning, with no effect on panel order; it now accepts the same sort vocabulary the positional channels accept (a direction string, an explicit ordered list, or a {"field": ..., "op": ..., "order": ...} aggregate object) and orders the facet partition's values by reusing the ordinal domain's own sort resolution — FacetCol's value routes to FacetSpec.sort (the column/wrap strip's dimension) and FacetRow's to row_sort (the row-header strip's dimension) in grid mode, mirroring title/row_title's exact routing; a row-only facet lowering to wrap keeps its sort in sort, the same way its title does. Separately, a sort-field object missing a string "field", carrying an unrecognized "op"/"order", or carrying "op"/"order" present as an explicit null (as opposed to omitted, which defaults) used to construct silently and only warn at render with a fallback to insertion order ("sort spec could not be applied ..."); it now raises ValueError at construction naming the channel and the value, on every channel whose honored set includes sort (X, Y, Color, Shape, StrokeDash, Facet, FacetRow, FacetCol) and on EncodingSpec. The render-time warning's malformed-object arm is deleted, since every construction route now refuses first — but a hand-built ChartSpec.from_json spec still bypasses those gates, so a malformed sort reaching render through a chart channel, a layer's own channel, or a facet's sort/row_sort now refuses with RenderError::SortSpecMalformed, reading verbatim "{location}: sort={value} is malformed ({reason})" (location is the channel name, "layers[{i}].{channel}", "facet.sort", or "facet.row_sort") instead of rendering silently; a row_sort set with no row dimension refuses the same way, with reason "the facet has no row dimension (row=) for row_sort to order" — unreachable through any Python door or legitimate merge sequence, since a grid-to-wrap redeclaration drops row_sort exactly as it already drops row_title. The warning's other arms (a well-formed sort that cannot be applied) are unchanged and now cover the facet channels too, through their own RenderWarning::FacetSortSpecIgnored ("facet sort spec could not be applied ({reason}); panels fall back to insertion order") — Facet(sort=...) previously dropped an inapplicable-but-well-formed sort with no warning at all, where X(sort=...) already warned for the identical value, and the two now agree. Every valid X(sort=...) form still constructs and serializes exactly as before, and a facet with no sort= declared omits sort/row_sort from the wire, byte-identical to before this fix. Chart.facet() gains sort= and row_sort= on the same contract, routed like its title=/row_title=: row_sort= on a single-dimension declaration refuses as row_title= does, and a malformed sort-field object refuses at the call naming Chart.facet(sort=...) or Chart.facet(row_sort=...).
  • A facet channel merges into the existing facet instead of silently dropping it, and an empty facet title renders the bare value (wave 6C, #176(10a)(10b), N5). Chart.encode()'s facet block re-synthesized _facet from the facet channels on every call, carrying forward only ncols/nrows from a prior .facet() call and silently dropping title, row_title, resolve and — most seriously — the other dimension of an existing grid facet: .facet(row="h", col="g") followed by encode(facet_col=fm.FacetCol("k")) silently downgraded the chart to a wrap facet on "k", dropping the row. _Facet.merged_with is now the one writer Chart.encode()'s facet block, Chart.facet() (every arity), and Chart.share_scale() all call: what a call states wins, what it does not mention survives, and encode() reads the declaration kind from the facet channels stated in that call only, never from a stale channel _encoding carried from an earlier .encode() call. Mode transitions are orientation-aware: FacetCol/.facet(col=...) or FacetRow/.facet(row=...) onto an existing grid replaces only that dimension; onto an existing single-dimension facet, a declaration of the SAME orientation replaces the field and stays a wrap (FacetRow('g') then FacetRow('h') is a row facet on 'h', not a diagonal row='h', col='g' grid), while a declaration of the OTHER orientation promotes to a grid that keeps the prior field — and its title — on its own axis: .facet(row='h', title='RT').facet(col='k') now reads 'RT: c'/'RT: d' on the ROW strip and a bare column strip for k, where it previously mislabeled the column strip 'RT: e'/'RT: f' and left the row strip untitled. A wrap-only declaration (Facet/.facet(field=...)) onto a single-dimension facet now also carries wrap_orient, which it has no way to state itself: .facet(col='g').encode(facet=Facet('k')) keeps the side-by-side ncols a bare reset to None used to collapse to a vertical stack. encode(facet=...) onto an existing grid is a genuine contradiction — it cannot state which dimension to keep — and raises ValueError naming the door and the prior grid instead of silently downgrading it; .facet(field=...) is the redeclaration door that refusal names, and, per the same carry rule as every other door, keeps title/ncols/nrows/resolve a prior call set and this one does not restate, replacing only the grid's row/col with a wrap on the stated field (row_title has no home in wrap mode and is dropped). Charts with no prior facet state are byte-identical. Separately, Facet/FacetRow/FacetCol(title=...) and Chart.facet(title=/row_title=...) accepted "" or whitespace-only and rendered ": p"; the strip now renders the bare value on every strip kind, as an unset title does, while a non-blank title — even one padded with whitespace — renders verbatim. See ferrum-spec.md's 2026-09-24 note.
  • ShapePaletteOverflowed, StrokeDashPaletteOverflowed and UnsupportedOpacityScale fire once per render, ColorPaletteOverflowed once per panel, and the opacity warning names the fallback it actually took (wave 6C, #120(7), N2). (UnsupportedOpacityScale itself is superseded above: the opacity family now takes Log/Pow/Sqrt scales for real, so the warning this bullet describes no longer exists.) Auxiliary (non-positional) scale resolution runs through two passes on every to_svg(): a provisional pre-pass, whose resolved scales feed axis tick/label sizing and the chart-level legend build (a real, still-necessary call, not dead code), and a per-panel pass, once for each panel a chart actually has. Both passes push every auxiliary warning unconditionally, so each one used to reach the caller once per pass. ShapePaletteOverflowed, StrokeDashPaletteOverflowed and UnsupportedOpacityScale are whole-chart facts — every panel resolves these three channels against the same shared domain and so re-derives byte-identical text — so two separate repetitions are now collapsed: the provisional pass's copy of each is superseded once a real panel restates it (as before), and, since a faceted chart's own panel loop pushes the identical text once per panel, every repeat within that loop beyond the first is now collapsed too. A single-panel chart records each exactly once (previously twice, once per pass); a faceted chart with N panels also records each exactly once (previously N, or N+1 counting the provisional copy). ColorPaletteOverflowed only gets the first half of this: an independently-resolved color scale can legitimately overflow its palette differently per panel, so its provisional-pass copy — whose scale is never rendered — is dropped, but its per-panel copies are deliberately NOT collapsed; a chart with N panels still records it N times, where before it also carried one extra provisional-pass copy on top. (UnknownColorScheme, GradientTooFewStops and SortSpecIgnored were already superseded across the provisional/panel-pass boundary before this fix and are unaffected by either change in this entry; they are not collapsed across a faceted panel loop.) size pushes no RenderWarning and is unaffected. Separately, UnsupportedOpacityScale always claimed the opacity channel fell back to "the default linear resolution", even when a constant fill_opacity/stroke_opacity column under a non-Linear scale= takes the literal-alpha path instead (no scale built, each row keeps its own value) — the warning now carries a typed fallback (Linear/LiteralAlpha) decided at the same early return that picks the behavior, so that case reads "... the column is constant, so its values were used as literal alphas instead of a scale" in place of the false linear claim. opacity itself, which never takes the literal-alpha path, is unaffected; rendered output (including fill-opacity) is byte-identical, only the message text and count change. See ferrum-spec.md's 2026-09-25 note.
  • A layered chart refuses a shared-axis column it cannot place, instead of drawing it at arbitrary positions (wave 6C, #120(9), N1). A layer whose shared continuous axis column is not numeric or temporal — fm.layer(point(y="y"), line(y="s")) with s a string column — used to render silently, with s's values placed at arbitrary heights on the numeric axis the other layer drew. One predicate, asked before the read, now refuses on every route that merges layers onto one shared axis — fm.layer(...)'s static composite-overlay route and +/.interactive()'s merged-flat route — with the text layer {i}: column '{field}' ({dtype}) cannot be drawn on the shared {channel} axis, which is continuous — a layered chart (fm.layer(...) / chart + chart) merges its members onto one panel. Cast the column, or give the layer its own scale with resolve={"{channel}": "independent"}. The establishing member — layer 0, fm.layer(...)'s first argument or +'s left-hand chart — decides whether the shared axis is continuous or ordinal, so fm.layer(numeric, categorical) refuses naming layer 1 while fm.layer(categorical, numeric) renders (the later numeric column bands onto the ordinal ladder instead). fm.layer(...) (including nested inside another composite) wraps the text in the crate's general composite envelope, composite scale resolution failed: failed to resolve shared {channel} domain for field '{field}':; + and .interactive() raise the bare text. An absent field and a layer under resolve={"y": "independent"} are unaffected either way. See ferrum-spec.md's 2026-09-25 note.
  • ScaleSpec's "type" tag set now has one published home, and one hand-copy of its tag match is retired with it (wave 6C, #159(1)(2)(4)(5)(6)). ScaleSpec::TAGS — the image of a new, exhaustively-matched ScaleSpec::tag() over every variant, kept in step with it by a Rust test — and its temporal subset are published to Python (scale_type_tags(), scale_temporal_type_tags()) on the scale_accepted_keys precedent, so _override_apply.py's _SCALE_TYPE_TAGS and encoding/_scale.py's _TEMPORAL_SCALE_TYPES hold no Python literal. Every override refusal text and the accepted-key filtering behind it are unchanged. One collateral fix ships with the publication: render/scale_resolve/auxiliary.rs's scale_spec_kind_name — a fourth hand-copy of the tag match, used only to name the dropped scale kind in the UnsupportedOpacityScale warning when an opacity-family channel's scale= is not linear — now delegates to ScaleSpec::tag() instead of hand-spelling its own arms. Its BinOrdinal arm had drifted to "bin_ordinal" (underscore), disagreeing with the wire tag "bin-ordinal" (hyphen) every other tag-producing site in the crate uses, with no test pinning the old spelling; a BinOrdinalScale on an opacity channel now warns "... bin-ordinal scale is not supported on opacity-family channels ..." where it previously read bin_ordinal. Every other scale kind's name in this warning is unchanged (log, pow, sqrt, etc. were already spelled identically both ways). See ferrum-spec.md's 2026-09-24 note.
  • padding.auto decides per-axis infeasibility before assembling tick contributions, and never charges an explicit side's own extras against its viewport cap (wave 6C, #139(2)(3)(4)). auto=False output stays byte-identical. At auto=True, whether an axis's title is too wide for the viewport to ever fully contain is now decided from title measurement and viewport alone, before that axis's edge-tick-label contribution is assembled, so a suppressed axis's tick contribution is zeroed at the same point its title's own contribution is, rather than folded in first and only zeroed afterward — the title pass then solves against that already-suppressed geometry, the base it actually ships. Separately, the two cap_auto_contribution calls now scale down only the contribution auto itself proposed: an explicitly-set side's own extra is zeroed before the cap runs, so the same base_padding_insets explicit-side rule the rest of auto already honors also governs what the capped regime scales. See ferrum-spec.md's 2026-09-25 note.
  • BreakAxisIneffective names its domain low to high, even on a reversed axis (wave 6C, N4). The warning's (start, end) pair used to echo the scale's own declared order, so a reversed y domain of [100, 10] read "no gap overlaps the axis domain (100, 10)"; it now always reads low to high, "...(10, 100)". Message text only, no rendered geometry moves. See ferrum-spec.md's 2026-09-25 note.
  • Utf8View/LargeUtf8 string columns render like Utf8 instead of failing internally (wave 6C, #167(1)). A string column arriving in either of Arrow's newer string encodings — common from a recent pyarrow or polars source — now normalizes through an Arrow cast to Utf8 and renders byte-identically to the same data carried as plain Utf8. A column the cast cannot complete now refuses with a typed error naming the column, instead of failing internally. Utf8 columns are unaffected. See ferrum-spec.md's 2026-09-25 note.
  • Interactive dashes match static output (wave 6C, F19/F19b). mark_point(stroke_dash="dashed") and its named-linetype siblings ("dotted", "dashdot", "longdash") rendered dashed in static SVG and solid in .interactive(); a StrokeDash conditional's palette pattern (e.g. [6, 3]) rendered as a concentric inset ring instead of a dash around the perimeter. Both are fixed by moving the stroke-dash pattern table to one home, ferrum_scene::DASH_PALETTE, which the SVG path, the GPU packed-instance path, and the WASM shaders all read (rather than each holding a copy), and by measuring dash phase along the stroke in both WASM shaders — a circle by arc length, a rect by outline position — instead of by distance from the center or edge. The four named linetypes are new palette entries (indices 4–7, after the three pre-existing patterns), so a categorical StrokeDash scale's cycling assignment is unchanged. A pattern outside the palette still renders solid on both outputs. Static SVG is byte-identical; the committed WASM bundle changes, since this is the fix. Separately, the packed (≥1000-mark) interactive path's own pattern-matching used to truncate a pattern's components to integers before comparing, so a non-integer-valued pattern like [6.5, 3.5] used to truncate-match the long-dash index there; it now matches exactly, like the unpacked interactive path always did, and maps to solid instead. StrokeDash(scale=..., range=...)'s refusal text also changes, in both languages, independently: Rust's StrokeDashRangeUnsupported message goes from calling the scale's output "the fixed 4-slot dash palette" to "a fixed set of 4 palette patterns" (the count now read from ferrum_scene::STROKE_DASH_LEGACY_SLOTS rather than the growing DASH_PALETTE length); Python's StrokeDash._validate refusal (src/ferrum/encoding/appearance.py) goes from the same old phrasing, "the fixed 4-slot GPU palette", to "a fixed set of palette patterns" — with no slot count at all, since Python must not carry its own copy of that Rust constant. Separately, the Rust pin on the non-palette fallback changes scope from an "unknown" pattern to a pattern outside the palette: the four named linetypes (dashed, dotted, dashdot, longdash) now render as dashes on interactive instance marks, and only a pattern outside the palette still falls back to solid. stroke_dash_index_unknown_pattern_gives_solid in ferrum-wasm is retired, and the pin now lives with the palette as nonpalette_pattern_maps_to_solid in crates/ferrum-scene/src/dash.rs. See ferrum-spec.md's 2026-09-26 note.
  • interpolate= refuses in the shared vocabulary shape at declaration and at render (wave 6C). The interpolate= vocabulary moves onto the shared Rust vocabulary API, and both of its refusals speak that API's shape. Rust's render-time refusal of a hand-built spec read interpolate='cubic' is not supported; accepted values are: linear|step|step-before|step-after|monotone|basis|cardinal and now reads unknown interpolate 'cubic'; expected linear|step|step-before|step-after|monotone|basis|cardinal. The mark_line/mark_area/mark_ribbon declaration refusal read mark_line: interpolate must be one of ['basis', 'cardinal', 'linear', 'monotone', 'step', 'step-after', 'step-before']; got 'cubic' and now reads mark_line: unknown interpolate 'cubic'; expected linear|step|step-before|step-after|monotone|basis|cardinal, the Rust text under the calling door's name, listed in the order Rust publishes it through ferrum._core.interpolate_accepted_values(). x_estimator='s Python refusal keeps its must be one of shape.
  • An explicit range-only FillOpacity/StrokeOpacity scale over a constant column is honored (wave 7, #108). encode(fill_opacity=fm.FillOpacity("c", scale=fm.LinearScale(range=[0.2, 0.8]))) over a constant c column rendered fill-opacity="0.3" (the column's own literal value, ignoring the range) and now renders fill-opacity="0.5", the clamped range's midpoint, through the same degenerate-domain rule an explicit domain= already honored (GH #104). A range of [-1, 2] clamps to [0, 1] first and so also resolves to 0.5. Unchanged byte-identically: a range-less LinearScale(); a non-constant column; a constant-per-panel-but-varying-across-panels faceted column; an explicit domain=; the opacity channel. (no scale= and a non-Linear scale= are superseded below: a constant column now maps to the range midpoint on every scale type, including no scale= at all, rather than keeping its literal-alpha value.) See ferrum-spec.md's 2026-10-01 note.
  • mark_swarm(size=) is the dot's drawn diameter, and placed centres sit size + spacing apart (wave 7, #161). Before: size= reached only the placement transform, so every swarm dot drew at the theme's default point area of 36 px², radius sqrt(36/π) ≈ 3.385 px, whatever size= said, and placement kept neighbouring centres at least 2·(size + spacing) px apart, twice the documented "diameter size, edge gap spacing". After: the swarm's point layer draws area π·(size/2)², radius size/2 (the default size=4 draws r=2, size=20 draws r=10), and the collision threshold is a centre distance of size + spacing px, so size is the diameter and spacing the edge gap, as documented (user ruling 2026-10-01). Every swarm's spread roughly halves. Routes: mark_swarm, catplot(kind="swarm") (always the default size=4, so r=2) and the boxplot-plus-swarm composite. Disclosed: Theme(point_size=p) no longer reaches swarm dots. It used to set their radius to sqrt(p/π); the swarm's own layer size now outranks the theme, as it does for every composite that sets one. Unchanged: an encoded size= channel and layer_kwargs={"point": {"size": a}} still outrank the swarm's size; hue-dodge sub-bands stay size + spacing wide; shap_beeswarm (a Jitter, not a Swarm) is byte-identical. Disclosed: the fm.Swarm transform feeding a sizeless mark_point now draws point_size-wide dots. fm.Chart(df).transform(fm.Swarm("g", "y")).mark_point() packed its dots point_size px apart (then default 5) but drew each at the theme radius (≈3.385 px, a 6.77 px dot), so neighbours overlapped; a point layer fed by a Swarm that sets no size= of its own and encodes no size now draws at the placement diameter, radius point_size/2 (2 px at the default point_size=4, see Breaking changes), so placed and drawn diameters agree on every route. An own constant size= or an encoded size still wins. The gallery images mark_swarm.png, catplot_swarm.png and comp_boxplot_swarm.png were regenerated. See ferrum-spec.md's 2026-10-01 notes under mark_swarm.
  • mark_swarm packs its placement in rendered pixels, through the panel's actual resolved scale, instead of a pre-layout estimate (wave 7, #161). The minimum rendered centre-to-centre distance between adjacent placed dots is now exactly size + spacing px in every layout, not only the plain default the estimate happened to approximate well — a title or facet strip shrinking the plot area, a facet's shared y domain, an explicit y domain wider than the data, and a log y scale no longer squeeze dots closer together than size + spacing, and a dodged category's dodge groups now pack against one shared set of placed dots instead of each packing independently, so their dots no longer overlap each other. A dodged swarm's dots now draw in input row order rather than grouped by dodge value, changing z-order where dots overlap in screen space. fm.Swarm's transform output is placeholder-only until render: its swarm_x column is always null, and the cross-axis offset column is a 0.0 placeholder the renderer replaces with the real packed offset. Swarm placement now also survives a later row-preserving or row-dropping transform (transform_filter, transform_calculate, transform_sample) placed after the Swarm transform in the same chain — the renderer still finds the Swarm in the layer's data lineage and packs the rows it actually holds. If a later transform instead drops the placement column it needs (for example an Aggregate that collapses rows), the renderer warns once per chart rather than silently leaving dots stacked at the placeholder offset: swarm could not be applied (column '__pos_x_offset__' that Swarm(category='{c}', value='{v}') places its dots by is not in the layer's data; a later transform dropped it); marks were not offset. See ferrum-spec.md's 2026-10-01 note.
  • A secondary y axis's gridlines are opt-in (wave 7, #141). A dual-axis chart (fm.SecondaryY, or LayerChart(resolve={"y": "independent"})) draws no gridlines for its secondary axis by default, even when the chart's theme or a shared configure_axis(grid=True)/configure_grid(y=True) turns gridlines on for the primary axes. Before: axis_y2=AxisConfig(grid=True), a secondary layer's own fm.Axis(grid=True), and the axis_y2.grid_color/grid_dash/grid_width/grid_opacity styling were all accepted and drew nothing (the config manifest listed axis_y2.grid as unhonored). After: ask for them with axis_y2=AxisConfig(grid=True), or per-channel with fm.SecondaryY(..., axis=fm.Axis(grid=True)), and they draw at the secondary axis's own tick positions, after the primary's, styled per-channel grid_* > axis_y2.grid_* > theme major (which carries a flat configure_grid(color=, width=, dash=, opacity=)). Band colors stay primary-only, secondary minor gridlines draw only when Theme(grid_minor=True) and the secondary's own show flag are both on, and a primary-y break_axis never remaps them, matching the secondary axis itself. With three or more stacked secondaries, each one's show flag is independent under the per-channel axis=fm.Axis(grid=True) form; the chart-level axis_y2=AxisConfig(grid=True) broadcasts to every stacked secondary at once, and a per-channel axis=fm.Axis(grid=False) on one of them overrides that broadcast. There is no configure_grid(y2=...) slot (user ruling 2026-10-01). Defaults are unchanged: every existing dual-axis chart without a grid request renders byte-identically, static and interactive. The only output that moves is the layout JSON, where a secondary axis's show_grid now reads false where it read true (it followed the theme's grid default, and nothing read it). See ferrum-spec.md's 2026-10-01 note under SecondaryY and design-docs/superpowers/specs/2026-07-11-secondary-y-axis-design.md's 2026-10-01 amendment.
  • A line's encoded size= draws a per-vertex width, a taper, on every backend (wave 7, #116). Before: mark_line().encode(size="v") and relplot(kind="line", size="v") resolved a size scale and drew a circle size legend, but the line ignored it and drew one constant width (the theme's line_stroke_width, 1.5 px by default), so the legend described widths the line did not have. After: each vertex draws the width of a dot at the same value on the shared size scale, w(v) = 2*sqrt(size_scale(v)/pi), the point diameter (user rulings 2026-10-01: a taper within each series, not one width per group; no new theme keys). The default size range of 4 to 36 px² gives widths of about 2.26 to 6.77 px, and Size(scale=fm.LinearScale(range=[a, b])) stays in area units for lines too, so a point and a line layered on one size field share one scale and one truthful legend. color/detail/categorical stroke_dash groups each taper on their own; a null or non-finite size row takes the group's constant width; a step interpolate= holds a row's width across its step run, and a curved one (monotone, basis, cardinal, …) gives each command endpoint its row's width. A line cut by a primary-y break_axis keeps its taper, each piece carrying the source widths at kept vertices and the interpolated width at each cut. A stroke_dash on a tapered line dashes along the tapered stroke on both backends (user ruling 2026-10-01). Static export draws one filled outline (see the static-export bullet below). Interactive: .interactive() draws the taper at widths × mag CSS px measured perpendicular to the on-screen centerline, at rest, under wheel zoom and under an sx ≠ sy brush rescale; dashes keep their interpolated widths; hover hit-testing uses the line's widest vertex. Legend: circles → line swatches. When every layer that draws the size field is a line (counting only marks that draw size: point, line, text), each size-legend entry is a line swatch whose stroke width is the entry's dot diameter 2r, and a composite decides across its leaves on both the overlay and the shared-band legend routes; a mixed point-and-line legend keeps circles. A sized line refuses a size value that maps to no positive width, e.g. mark_line: size 'v' value 0 maps to area 0 on the size scale, which gives no positive line width. Every width along a line must be positive; give the size scale a range above 0. Unchanged byte-identically: every unsized line on every backend (the scene JSON gains a widths list on sized line nodes only, and legend entries a symbol_line_width on line swatches only), and area outlines, ribbons, rules, segments, ticks and geoshape strokes. See ferrum-spec.md's 2026-10-01 note under the Size channel.
  • mark_line(size=N) draws a constant width 2*sqrt(N/pi) (wave 7, #116). The released version left a constant size= inert on mark_line, rendering the theme's stroke width (1.5 px by default) regardless of its value; a positive constant size= now sets the line's width to twice the radius of a dot of that area, the same area-to-radius mapping mark_point(size=N) already used: mark_line(size=36) drew a 1.5 px line and now draws stroke-width="6.77" (user ruling 2026-10-01). The line carries no per-vertex widths and keeps its plain stroked geometry. An encoded size= outranks the constant, as on points.
  • A conditional size on a line is honored interactively, on the lines that declared it (wave 7, #116). Before: mark_line().encode(size=fm.when(sel).then(a).otherwise(b)) reached the scene, but the interactive runtime applied size conditionals only to point and rect instances, so the line stayed at its base width on every selection. After: each selection change re-tessellates the line so every vertex draws 2*sqrt(area/pi) of its own row's active branch (user ruling 2026-10-03), and hover hit-testing follows the restyled width. Static export keeps drawing the base width, as it does for a point's conditional size. Scope (user ruling 2026-10-03): a conditional reaches exactly the layers its chart's own field encodings reach, and is decided once when the spec is built, so it does not depend on the order or the verbs the layers arrived by. A conditional declared on one operand of a + chain (and so on one fm.layer/LayerChart member) or on one fm.Layer's own encoding restyles, and has its branches checked on, only the lines of those layers; a conditional declared on a chart as a whole, including on a composite such as mark_line(point=True) and on the host of Chart.layer() or chart + fm.SecondaryY(...), reaches every layer, lines included, and every layer attached to that host later, matching how a chart-level field size is inherited. So .layer(a).layer(b) scopes like .layer(a, b), and mark_line().encode(size=fm.when(...)).layer(fm.Layer(mark="line")) restyles both lines. Points and rects keep the existing chart-wide behavior. So (mark_point().encode(size=fm.when(sel).then(100).otherwise(0)) + mark_line()) renders, with the plain line neither restyled nor refused. A line's own conditional whose branch gives no positive width refuses at render, statically too: mark_line: size=fm.when(...) on selection 's' has a branch of size 0, which gives no positive line width. Every width along a line must be positive; give every branch a size above 0.; a line's own conditional size plus stroke_width falls under the width-conflict refusal (Breaking changes), its size rendered as size=fm.when(...). On the wire each ChartSpec.conditionals entry gains an optional layers list naming the layers that declared it (absent means the whole chart, so every existing spec is unchanged); a hand-built list naming a layer the chart lacks refuses with conditionals[0].layers names layer 2, but the chart has 2 layer(s); name only the layers that declared the conditional.
  • A malformed tapered line refuses instead of drawing, and loadScene throws on one (wave 7, #116). A line node's widths must align one per vertex, be finite and above 0, and belong to an open path; the line mark never writes anything else, so this guards a hand-edited or corrupted scene. Static export raises ValueError (mark_line: the tapered line cannot be drawn: tapered stroke has 3 widths for 4 vertices; it needs one width per vertex, and likewise for a width that is not finite and above 0 or a closed path). The interactive runtime's loadScene now throws the same text through its typed render error rather than drawing; it also throws on per-vertex selection rows that do not align with the line (... tapered stroke has 3 vertex rows for 4 vertices; it needs one row per vertex). Before, no scene node carried per-vertex widths, so loadScene had nothing of this kind to refuse.
  • A size legend is drawn only for a field some layer actually draws (wave 7, #116). Before: a chart whose only size-bound layers never draw size still drew a circle size legend, for marks that ignored it: a lone mark_bar, mark_area, mark_rule, mark_tick or mark_rect with an encoded size, and a mark_line(stroke_width=...) under an inherited size. A stroke_width= line beside a sized rule drew line swatches at widths nothing drew. After: who draws a size field is decided after a line's own width precedence, once, for every legend route (a single chart, an overlay of composite leaves, and a shared figure-level legend band), so each of those charts draws no size legend. A size legend beside a sized point or a line that does draw the size is unchanged, and on a shared band the size block comes from the first leaf that draws it.
  • A line whose size channel is encoded draws as a filled outline in static SVG/PNG/PDF export (wave 7, #116). mark_line().encode(size=...) now draws its per-vertex taper in static export, not only interactively: a line that carries per-vertex widths — an encoded size=; a constant size=N draws no widths and keeps its plain stroked geometry, disclosed separately above — emits one filled outline <path> in place of its stroked <polyline>/<path>, whose half-thickness at every vertex equals w/2, the perpendicular offset from the centerline (exact on linear and step families; measured at each curve command's endpoint on monotone/basis/cardinal, which are flattened to a fixed subdivision before outlining). fill is the stroke color (carrying any opacity= in its alpha, as a stroke color always does); stroke="none"; the outline never carries stroke-width, stroke-dasharray, or stroke-opacity. With no stroke_join= set, a tapered line joins with bevel, not SVG's own untapered-line miter default — an encoded size= and stroke_width= disagree on their default join; a constant size= keeps the miter default, like stroke_width=. Caps and joins otherwise follow stroke_cap/stroke_join exactly as before (butt/round/square; bevel/round/miter, miter beveling past the SVG default limit of 4), each baked into the outline's filled geometry instead of an SVG stroke attribute. A stroke_dash on a tapered line dashes the outline itself: the pattern lays along the centerline's arc length the same way stroke-dasharray would, but each on-piece is its own filled ring with width interpolated at its cut points — a tapered dashed line never carries stroke-dasharray. A zero-length on-dash (e.g. stroke_dash=[0, 6]) draws a dot at each on-position under a round or square cap, and nothing under a butt cap, on both backends, matching a constant-width SVG stroke with the same dash and cap: a disk of the line's width there for round, a square turned to the line's direction for square. Before, a tapered line drew nothing at a zero-length dash under every cap. Self-overlapping geometry (a hairpin, a self-crossing series) paints its overlap once, at the drawn opacity, never doubled. An unsized line is byte-identical to its pre-fix render on every export. Disclosed: mark_line(stroke_join="bevel") paints the identical outline geometry as the default (unset) join on a tapered line, but its SVG differs by an inert <g stroke-linejoin="bevel"> wrapper the outline's filled geometry never reads. See ferrum-spec.md's 2026-10-01 note.
  • mark_violin warns when an inner mark is not dodged per hue, inner="none" is now a real accepted value, and the warning names the door actually called (wave 6C, #176(7)). mark_violin(inner=...) with inner other than "none"/None under a hue split (color= distinct from the categorical axis) previously rendered its inner mark at each category's own position, overshooting each narrower per-hue violin body, with no diagnostic. It now warns once each time the chart is resolved (every to_json() and every render), attributed to the caller's own line — "mark_violin(inner=...): inner marks are drawn at each category's center and are not dodged per hue group" — until a per-hue quartile band is implemented. No warning fires without a hue split, or when inner is "none"/None; the warning is not deduplicated across renders, so a second to_svg()/to_png() call on the same chart warns again. No rendered geometry changes. Separately, inner="none" — the spelling the docstring always documented — is now genuinely accepted: it previously raised ValueError, since only the Python value None was accepted for "no inner mark"; None still works too, for every existing call site. catplot(kind="violin", hue=...) voices the hue-inner warning as "catplot(kind='violin'): inner marks are drawn at each category's center and are not dodged per hue group; use Chart.mark_violin(inner=\"none\") to drop the inner mark" instead of naming mark_violin, since catplot fixes inner="box" itself and has no inner= of its own to point a caller at. A bad inner= value's refusal text changes with the vocabulary: it now lists ['box', 'none', 'point', 'quartile'] rather than ['None', 'box', 'point', 'quartile']. See ferrum-spec.md's 2026-09-26 note.
  • heatmap(square=True) draws square cells at the chart's normal or caller-set size, for 0, 1 and n rows. Before: square=True set width and height to 30 px times the larger of the row and column counts, a viewport too small to fit the theme's own padding at any small shape. At 1 column it refused outright (layout failed: padding left=16 exceeds viewport dimension 30); at 3x3 it rendered no cells and warned "panel 0 collapsed to zero size and was not drawn" and "panel 0 is too small to render and was left empty"; larger shapes rendered without warnings but with non-square cells (10x10: 16.2 x 20.3 px), since axis labels, the title and the colorbar were subtracted from the viewport the 30 px rule computed. After: square=True applies CoordFixed(ratio=columns drawn / rows drawn) to the plot area and sets no viewport at all, so a square heatmap is the same size as the same call with square=False, a caller's own width=/height= (via properties= or .properties()) is honored with square cells inside it, and nothing refuses or collapses. The cell grid counts the DRAWN bands — mask= shrinks it to the kept cells, duplicate row labels collapse to one band, a null row label counts as one — so a zero-row table draws its (square) empty panel instead of refusing. A mask that keeps no cell (an all-hidden boolean mask, or any mask= on a zero-row table) used to raise an untyped polars.exceptions.ColumnNotFoundError ("column" not found) under square=True and a typed ValueError: unknown column 'column' referenced by an encoding under square=False; it now draws the same empty-panel frame and warns once, like the unmasked zero-row case. square=False is otherwise unaffected. See ferrum-spec.md's 2026-10-26 note.
  • A later layer's panel-scoped coord (heatmap(square=True)'s own CoordFixed included) refuses the same way on every layering door, fm.layer(...).to_svg() included. Before: points + heatmap(square=True) and its .interactive() twin already refused, but with an internal layer 1: fm.CoordFixed declares ... message naming a coord the caller never wrote; fm.layer(heatmap(square=True), points) ran no such check at all and silently drew points's marks off the heatmap's cells (and the reverse order drew the heatmap's cells smaller than the points' own span), with no warning either way. After: chart + chart and .interactive() refuse a non-first member's panel-scoped coord in the voice of the call that built the layer, e.g. heatmap: its coord declares a fixed aspect ratio (fm.CoordFixed(ratio=...)), which belongs to the panel every layer shares — ...; fm.layer(...).to_svg() refuses the same way, with the member's own overlay position still naming it, layer 1: heatmap: its coord declares .... resolve={"y": "independent"} refuses a caller-written panel-scoped coord too (layer 1: fm.CoordFixed declares ...), but a square heatmap placed there is refused earlier, as a member chart that "contributes 2 y-bearing layers" — a heatmap is never voiced on that route. A member whose coord equals the first member's declares nothing new and renders, on every route. A square heatmap placed FIRST now also carries its fixed aspect to the overlay's shared plot area on fm.layer(...)'s static route, so every other member's marks land on its cells instead of a plain, unaspected rect intersection. See ferrum-spec.md's 2026-10-26 note.
  • A jittered or dodged mark no longer vanishes off its own axis. A data-space Jitter or a continuous Dodge moved a row's x/y after the axis had already resolved its domain from the unadjusted rows, so a jittered or dodged row that landed outside that domain was silently dropped — the same seeded two-row strip plot drew anywhere from 0 to 2 of its 2 points depending only on the seed. The axis now previews the adjustment's own drawn output the same way it already did for Stack, so a Jitter/Dodge-adjusted axis widens to cover everything the chart draws without widening past it — a Dodge group absent at a row's extreme x no longer pulls the domain out to that row's own undrawn position — on every route (flat, layered, composite, faceted, CoordFlip, .interactive()); an explicit caller domain still wins. Stack, a span-branch Dodge (a dodged histogram) and an ordinal Jitter/Dodge (a categorical axis's own pixel offset) are unaffected and render byte-identically. See ferrum-spec.md's 2026-10-26 note.
  • An all-null facet field renders and warns, instead of refusing. .facet("f") over a column whose every value is null used to refuse outright (facet: no usable values found for field 'f'); it now takes the existing null-drop rule to its own limit — an empty frame, no facet panel, and a warning naming the full dropped-row count — the same as it already does for one null row among others. Grid mode takes the same route for an all-null row or column field. Separately, a facet field of Utf8, Categorical, Int, UInt, Float, Boolean or a dtype-less all-null column used to refuse "facet field 'f' must be Utf8" for every dtype but Utf8; it now keys its panels through the same ordinal-category label reader a Dodge/Stack by= column already reads, so relplot(col=)/catplot(col=) over a non-string column renders a panel per distinct value instead of refusing. A facet field of any other dtype (a temporal column, for instance) is still refused, now with a typed error naming the accepted dtypes and the cast remedy instead of the stale "must be Utf8" text. See ferrum-spec.md's 2026-10-26 note.
  • Every categorical door sorts a numeric category by value, not by its stringified text. X(sort="ascending")/Color(sort="descending") (and the rest of the Shape/StrokeDash family), Chart.facet(sort=)/row_sort=, and the Dodge/Stack slots that follow a sorted legend, over an Int/UInt/Float column, now read [-3, 1, 10, 2] as -3, 1, 2, 10, not -3, 1, 10, 2. A Utf8/Categorical column is unaffected. See ferrum-spec.md's 2026-10-26 note.
  • An undefined confidence band warns, naming the cause, instead of silently vanishing. mark_smooth(ci=...) at n points at or below the fit's parameter count (two points for lm/log/sqrt, three for quadratic, four for cubic) drew its fit line with no ribbon and no report; a loess bootstrap resample with too few finite values at some grid points, a Robust fit at n <= 2, an exact Robust fit whose residuals' median absolute deviation is 0, a singular Robust design or a zero sum of Huber weights, a Robust sandwich variance negative at some grid points, and a Logistic Wald band with a negative variance at some grid points did the same. All of these now warn once (naming the group of a grouped fit and the facet panel of a faceted one) when the line is defined but the band is not, e.g. Smooth: the ci=0.95 band is undefined (2 points leave no residual degrees of freedom for a 2-parameter fit; the band needs at least 3); the fit line is drawn without it. A whole-fit loss (gam below 4 distinct x, a zero-variance x) is unchanged, since it already warns through DegenerateFit. ci=None and a well-determined fit never warn. See ferrum-spec.md's 2026-10-26 note.
  • A row an explicit scale domain leaves out now warns, naming the count and a remedy, instead of silently not drawing. LinearScale(domain=[2, 8])/xlim(2, 8) over a wider column still draws only the admitted rows, but now also warns once per channel and field, e.g. x scale: 92 row(s) of 'x' fall outside the scale's explicit domain, so they are not drawn; widen the domain, or pass clamp=True to draw them at the axis edge, and a BandScale/PointScale/OrdinalScale domain missing a category warns the categorical form naming the category count instead. The same warning, with the same count, fires on every door: +, Chart.layer, fm.LayerChart static and .interactive(), a facet (summed across panels) and fm.hconcat. clamp=True, leaving the domain unset, and a stacked bar whose implicit zero base sits outside the domain (its own segment top stays inside it) still draw every row with no warning, and clip=False on mark_function still extrapolates past the domain with no warning either (mark_line/mark_area/mark_ribbon have no clip= keyword of their own). A LogScale's own off-side warning and this one never double-count the same row. A layer whose rows a statistic produced (a histogram's bar layer, a KDE overlay) names its own entry and counts marks instead of rows, e.g. mark_histogram: x scale: 3 mark(s) of 'v' ..., with a bin cut on both ends counting once, and names the axis the chart actually shows (the caller's field, or the title= they wrote on a composite mark's or a figure's x/y, or the title a figure gives its axis) rather than the internal column the layer reads: a mark_boxplot/mark_violin whisker, cap and median, mark_errorbar (whose y axis title itself now reads the caller's field rather than lower), mark_qq's reference line, the mark_smooth/regplot/lmplot/residplot metrics corner, and a displot KDE overlay all speak with the name their primary layer shows, not lower_whisker/_metrics_y/value. A statistic layer whose mark draws many vertices per mark (mark_density, a KDE overlay, mark_smooth, mark_ecdf, mark_hex, mark_violin, mark_contour) splits by outcome: a mark the domain drops entirely counts under the sentence above, and a mark the domain only trims (still drawn, with some vertices removed) counts under a second sentence in the same entry voice, e.g. mark_density: y scale: 1 mark(s) of 'density' cross the scale's explicit domain, so only their part inside it is drawn; widen the domain, or pass clamp=True to draw them at the axis edge. That outcome is decided once per mark, over every axis, and reported on each axis where the mark lost a row, so a fitted line xlim and ylim together leave undrawable warns not drawn on both axes. A statistic mark that loses a category a categorical domain leaves out but still draws warns a third sentence, e.g. mark_line: x scale: 1 mark(s) of 'g' reach a category the scale's explicit domain leaves out, so only their part inside it is drawn; add it to the domain, or drop domain= to draw every category. A statistic layer whose displayed name is suppressed (title=None, "" or a blank string) and whose field its lowering cannot recover drops the of '<field>' clause (a composite, catplot, lmplot and regplot keep naming the caller's field), e.g. mark_histogram: x scale: 1 mark(s) fall outside the scale's explicit domain, so they are not drawn; .... residplot's axes and displot(kind="ecdf")'s x axis take a title= on the channel passed as x=/y= as a plain chart's axis does (a string replaces the title, title=None or title="" draws none), where they dropped it. No rendered mark or SVG byte changes except the mark_errorbar axis title and those two titled axes. See design-docs/spec-history.md's 2026-10-27 notes.
  • An unlayered chart's placement column naming a column its rows lack now refuses, instead of silently dropping it. Chart(df).mark_bar().encode(x="x", x2="zzz", y="y") used to render with x2 ignored and the bar's width auto-computed as though x2 were unbound; it now refuses mark_bar: unknown column 'zzz' referenced by an encoding, in the mark's own voice, matching the layered door's existing refusal for the same mistake. Scoped to a column the mark places a row by on its drawing path (a quantitative bar's x2, a horizontal bar's y2, a segment's or rect's x2/y2, a rule's or tick's placed channels); an ordinal-x bar's y2 or an area's y2 still renders silently. See design-docs/spec-history.md's 2026-10-27 note.
  • Chart.layer() and a figure's own door drop and warn an inherited binding a statistic layer's own output does not carry, instead of refusing. mark_histogram().layer().encode(opacity="v") and residplot(...).encode(opacity="v") now warn ... opacity 'v' was dropped: the statistic this ... mark draws does not carry 'v', so it draws without opacity and still render, matching the warning + already gave for the same mistake. See design-docs/spec-history.md's 2026-10-27 note.
  • a .transform() step reading a column only a statistic computes is refused naming the statistics and the remedy
  • displot ecdf, residplot and log_scale keep the caller's x/y scale, axis and format
  • statistics under a log axis bin, smooth and dodge in log space, and count the rows a log scale cannot place once
  • displot ecdf counts every observation, steps at each one in x order, and groups its count by every channel it draws
  • statistic doors refuse a bin= or aggregate= they would ignore or misread, each with a remedy that works as written, and a series mark that draws nothing says why
  • a statistic on an independent y axis computes in that axis's own space, and its off-side warning names its own field
  • every fit on a log axis computes in that axis's space, and its off-side warning counts the caller's rows once
  • displot ecdf counts the x it draws on every door, and every series rises from 0
  • a series too short to draw is named once per layer, and a chained composite mark replaces the style before it
  • a re-voiced bin=/aggregate= refusal names the remedy in the voicing figure's own spelling
  • every statistic mark refuses the bin=/aggregate= it ignores
  • an ordinal scale answers every continuous query without panicking
  • a mark no positional encoding reaches is refused by the channel it needs, on every door
  • a primitive mark call on a chart drawn from layers is refused at the call
  • regression and statistic keywords read as encode() reads them
  • a group that draws nothing for want of a position is named once, in the caller's terms
  • a regression figure reads every x/y binding written after its call, or refuses it in its own voice
  • residplot's value channels reach its residual points, and its computed columns never displace the caller's

Breaking changes

  • A binding stays on the layer that declares it. point.encode(color="c") + line used to split the line by c; the line now draws whole and uncolored, as Altair draws it. point + line.encode(color="c") no longer colors the points, chart.layer(fm.Layer(mark="line", encoding={"color": "c"})) no longer colors the host, a right operand's tooltip= no longer becomes the left's tooltip, and (a + b).encode(detail="g") + c no longer splits c. The legend still lists every value the colored layer draws. To share a binding, write it where both layers see it: on the composition, (point + line).encode(color="c"), or on the chart you attach layers to. This replaces two earlier entries in this release: a later layer's size, opacity, shape or stroke_dash binding no longer reaches the other layers, and a composition's detail reaches only the layers of that composition.
  • fm.LayerChart draws the same chart on every route. Its interactive output and its merged output used to let one member's bindings reach the members after it, so fm.LayerChart(point.encode(color="c"), line) split the line interactively but not in the static SVG. Every route now draws what the static SVG draws, and the static SVG draws one legend per channel instead of one per member.
  • Text labels draw only a color they bind themselves. A text layer no longer inherits the color of the chart it labels. It keeps drawing its own text color and one label per colored bar, but its rows no longer add legend entries that no mark draws, and a chart whose only colored layers are text draws no color legend and warns that nothing draws color. Bind color= on the text layer to color the labels.
  • Attached layers read your rows, not a composite mark's internals. mark_histogram().encode(x="v").layer(fm.Layer(mark="tick")) used to draw 4 ticks at the bins' left edges; it now draws a rug at each value of v. Naming a histogram's or another layer's computed column from an attached layer (y="count", text="mean_y") is refused with a message that says to compute it in .transform(...). fm.Layer(data=d) now draws all of d, where a filtered host used to filter it too.
  • .transform(...) runs before the statistics on a single chart, in any call order. A filter or calculation now runs before the counts, means and bins your encoding asks for, whether you call .transform(...) before or after .encode(...), .layer(...) or the mark, so H.layer(L).transform(f) draws what H.transform(f).layer(L) draws. A step that reads a computed column is refused with the remedy: chart.encode(y="mean(y)").transform(fm.transform_filter("datum.mean_y > 1")) raises data_filter: column 'mean_y' is computed by the chart's statistics (stat_aggregate), which run after the chart's .transform() steps: ....
  • A step on a + composition reaches every operand over the same data. (a + b).transform(step) used to run only over the left operand's rows; it now also runs over every other operand built on the same frame, and still never touches an operand over different data. An operand whose statistic needs a column the step removes is refused, naming the step.
  • SecondaryY follows a later .encode(x=...). (chart + fm.SecondaryY("r")).encode(x="w") now draws the secondary series at w instead of at the x the chart had when the secondary axis was added.
  • A constant column on opacity, fill_opacity or stroke_opacity draws at the middle of the opacity range. fill_opacity and stroke_opacity used to draw each row's own value as its alpha when no domain or range was given; they now map like every other value, as opacity already did. To draw the column's values as alphas, pass scale=fm.LinearScale(domain=[0, 1], range=[0, 1]).
  • stroke_width bound to a field maps through a scale and draws a legend. It used to draw the raw values as pixel widths and ignore scale=; it now maps the data range to 1 to 4 px by default, honors scale= (domain, range and reverse=), and draws a line-width legend. opacity, fill_opacity and stroke_opacity also draw a legend now, and map through their scale on lines, areas, bars, ticks, rules and segments as they already did on points. legend=None hides either legend.
  • bin= is refused on channels that have no binned meaning. fm.Size("z", bin=True) and the same on opacity, stroke_width, angle, text, tooltip, detail, shape, stroke_dash, key, href, x2, y2 and the polar channels used to warn that bin= was not yet honored and then fail at render with an unrelated error; they now raise ValueError at construction, naming .transform(fm.Bin(...)) as the way to bin a column. aggregate= is refused the same way on detail, shape, stroke_dash, key, href, description, url and the facet channels.
  • A binned x with a raw y draws one mark per row. mark_point().encode(x=fm.X("v", bin=True), y="y") now places each row at its bin; it was refused before. A bin={...} that declares groupby, cumulative or its own aggregate where no channel draws it, a bin={...} aggregate beside a channel aggregate=, and a name= on an encoding bin are refused with a message saying what to write instead.
  • catplot(kind="count") has no n column. The bars count with y=count(), so .transform(...) and a binned color work on the count plot; the axis is still titled n. Label the bars with text="count()"; a layers= binding naming n is refused with that remedy.
  • lmplot and regplot fit "logistic", "glm" and "robust" per hue. Under hue= (or a color bound later with .encode(color=...)) each group now gets its own fit and band in its color, where one pooled fit was drawn in grey. A group that cannot be fit is skipped with a warning naming it.
  • More mistakes are refused instead of drawing a blank or wrong chart. A binding to a column a layer's rows lack is refused on every channel the mark draws (it used to be checked only on x/y, and never on the first layer); a filter or calculation that names a missing column is refused (it used to evaluate to null and blank the chart); chart + fm.SecondaryY("w") on a composition is refused when only the right operand has w; and SecondaryY is refused under CoordFlip, CoordPolar and CoordGeo, with the remedy of drawing the series on a Cartesian panel.
  • stack= stacks the channel you write it on, and contradictions are refused. fm.X("v", stack=True) stacks bars end to end horizontally. stack= on both x and y, beside an explicit position=, on a categorical channel, or stack=False beside position=fm.Stack(), now raises a ValueError naming the fix; the shorthand used to be ignored silently beside position=. A + operand's position= no longer reaches the other operand: in bars(position=fm.Dodge()) + boxplot the boxes now draw centred, as alone.
  • A log scale leaves out values it cannot place, and says so. Under fm.LogScale(), a zero or negative value on x, y, size, stroke_width or an opacity channel is left out of that channel with a warning giving the count, where x/y dropped it silently and size drew it at the default size. A column with no positive value is refused, with the remedy of an explicit negative domain (fm.LogScale(domain=[-100, -1])). Log axes keep their powers of ten when their labels thin out, and a short range ticks at 1, 2 and 5.
  • Facets: other-frame layers repeat in every panel, and null facet values are dropped with a warning. A layer whose data has no facet column used to draw in no panel; it now repeats in every panel. Rows whose facet value is null used to vanish silently; they are now dropped with a warning naming the count. Faceted bars read the one shared axis in every panel, where each panel's bars used to start from its own zero.
  • The legend of a layered chart lists every layer's values. On +, the color legend used the first colored layer's categories, so a + b and b + a colored differently; it now lists the values of every layer that draws color, in either order. A layer whose color type disagrees with the first layer's stays out of the scale and warns. Only an area layer that draws color makes the color scale categorical.
  • Composite marks group by color, detail, shape and stroke_dash. mark_smooth().encode(color="c") fits one curve per c (it was refused, or fit one curve when layered); mark_density().encode(detail=...), mark_boxplot().encode(detail=..., shape=..., stroke_dash=...), mark_histogram().encode(shape=...) and mark_contour().encode(color=...) group instead of refusing or ignoring the channel; mark_boxen().encode(color=...) draws one box per color. A line, area or ribbon splits into one series per group of the step that produced its rows.
  • Binned colors across panels. Concatenated or repeated panels that bin the same field the same way share one set of bins and one legend by default. Asking for a shared color (Resolve(scale={"color": "shared"})) over panels whose colors cannot merge is refused naming both, where the request was silently ignored.
  • Axis titles come from the layer that draws the axis. tick.encode(x="v") + line.encode(x="v", y="y") used to draw an untitled y axis; it is now titled y from the line, and the line's own title= titles it.
  • encode(<channel>=None) binds nothing. It used to raise TypeError; it is now a no-op on encode() and in fm.Layer(encoding=), and leaves an earlier binding in place. An unknown channel name is refused whatever its value, and fm.Layer(encoding=) refuses the internal order channel.
  • Span labels sit at the top of the span by default. A span annotation's label is drawn 6 px below the span's top edge, its documented default label_position="top". This has been so since 0.15.0, when the setting started to take effect; earlier releases drew every span label at the middle, and the move was not announced then. Pass label_position="middle" to center the label.
  • mark_boxen draws its outliers by default. outlier_threshold now defaults to 0.0, on mark_boxen and on fm.LetterValue: every observation beyond the outermost boxes is drawn as an outlier point, as seaborn's boxen plot does. At the old default of 1.5 the cutoff sat far outside typical data, so a default boxen drew no outliers (a four-group chart of 80 normal points per group drew none; it now draws 80). Pass outlier_threshold=1.5 to keep the old cutoff. mark_boxplot is unchanged.
  • Bars and areas start at zero, and stacks split by sign. A bar's base now sits on the 0 tick whenever 0 is on the axis, vertical or horizontal, so a negative bar hangs below (or left of) it. Bars used to rise from the plot edge, up to 8 px below the 0 tick, and on an axis that crosses zero every bar started at the bottom. An area closes at 0 the same way. When 0 is off the axis (a log scale, zero=False, an explicit domain such as [40, 80]) bars still start at the edge nearest 0. A horizontal bar chart and a fm.SecondaryY(mark="bar") axis now include 0. A stack holding negative values splits by sign: positive segments stack up from 0 and negative ones down, and every segment draws (two of four used to vanish). Under normalize each segment is divided by the stack's total size, so the positive and negative parts together fill a height of 1, and under center the whole stack is centered on 0. Stacks without negative values are unchanged.
  • Crowded number and date x axes keep full-size flat labels. Label spacing is now judged between each pair of neighbouring labels instead of by the widest label, so sparse axes keep every label at full size where they used to shrink to a smaller font. A crowded continuous x axis (numbers, dates or a log scale) now keeps an evenly spaced subset of flat labels, at least three, counted from 0 when 0 is on the axis, before it shrinks or rotates any; dense axes used to turn their labels vertical. cull_labels=False keeps every label and still rotates. Categorical axes, an explicit label_angle, label_overlap= and y axes keep their layout. With automatic padding on, labels or a title that still run past the canvas raise one warning naming what overflows, the side, how far, and a remedy.
  • Text labels stay at least 4 px inside the plot frame. At default padding, a number or date axis that text labels sit on now leaves room at each end for each label's full ink, measured as it is drawn (font size, angle, number format, alignment and offsets), so a label no longer touches or crosses the frame; ticks still line up with the marks, and marks layered with the text share the room. Labels too wide for the panel keep half the axis and warn once, naming how many still cross the frame. An explicit padding, domain, range or axis limit is used as written, and polar and map charts, category axes and charts without text are unchanged.
  • Annotated matrices are readable on every cell. The value labels of heatmap(annot=True), confusion_matrix_chart, rank2d_chart and classification_report_chart, and the counts of class_prediction_error_chart, now pick, cell by cell, the ink that reads at 4.5:1 contrast or better against that cell, on every theme and color ramp. They used to paint one ink that all but vanished on dark cells. A fill= you set on the labels still wins, and legends are unchanged.
  • A diverging color scale uses the theme's diverging colors whatever the data's sign. fm.DivergingScale() with no scheme, and heatmap(center=...), used to fall back to the theme's single-hue ramp when all the values had one sign, so heatmap(center=0.5) over values from 0.1 to 0.9 drew a plain blue ramp. They now draw the theme's diverging colors. A scheme you name still wins. The colorbar of a scale with a midpoint now shows, at the midpoint, the color the cells draw there, and configure_color(domain=, range=) now reaches the colorbar as well as the marks.
  • An axis spans only what its marks draw. A statistic layer used to stretch its axis to a raw column it never draws: mark_smooth(ci=0.95) ran its y axis to the raw data's minimum (ticks from -4 to 22 around a fit drawn from about 0 to 20), and a column of yours named lower stretched mark_errorbar to it. Each layer now widens the axis only with the rows it draws, and a filtered chart composed with + spans only the rows it keeps.
  • Endpoint labels take their line's color. The labels at the end of each line on gain_chart, lift_chart, learning_curve_chart and validation_curve_chart, Baseline included, are now drawn in that line's color instead of one fixed ink. Their text, order and placement and the legends are unchanged.
  • transform_calculate on an existing column replaces it. fm.transform_calculate("v", "datum.v * 10") used to add a second column named v that nothing read, so every mark kept the old values and the recalculation did nothing. It now replaces v in place. A new name still adds a column.
  • Reference renders that moved, each reviewed before and after and kept by ruling: tests/goldens/phase_10/alpha_selection_ridge.svg (log ticks now read 0.01 to 10 at 1, 2 and 5, with the alpha=1 marker on its value instead of fractional, rotated ticks); tests/goldens/facet_shared_extent/histogram_facet_single_group.svg (the second panel's bars read true against the shared axis); tests/test_phase_9_e2e/goldens/displot_stacked_hist.svg (stacked groups share one set of bins); tests/goldens/phase_10/decision_boundary_binary_logistic.svg (one legend title's text in the SVG; the rendered image did not change); the lmplot robust-hue digests, static 28b56d57 to e4221df2 and interactive 8f49dd45 to 9828e396 (per-hue fits and bands instead of one grey fit); the radial-stack digest (every stacked segment draws on the full stacked radius); and the bars-plus-boxplot digest (the boxes no longer inherit the bars' dodge).
  • padding.auto is on by default (#135). Before: off unless you passed configure_padding(auto=True). After: on, with the built-in default as its only owner (there is no theme key). PaddingConfig.auto and configure_padding(auto=) change from bool = False to bool | None = None; None leaves auto off the wire. A chart whose continuous-axis edge label overhangs the canvas now reserves room for it: on a 180x200 mark_point() chart over x in 0..1e6 with ticks at 0 and 1,000,000, the last label with label_format="integer" overhung the canvas by 1 px and now ends 4 px inside it (plot width 101.056 px to 95.612 px), and with label_format="currency" it overhung by 4 px and now ends 5 px inside (plot width 101.056 px to 91.898 px). The margin is measured on the labels the axis actually draws, at the angle it draws them, so charts whose labels and titles already fit are byte-identical, including charts whose x labels the axis rotates or thins out. A plot that auto=False draws is never collapsed by auto: when the extra padding would leave no plot area, the chart renders exactly as with auto=False. configure_padding(auto=False) restores the previous geometry exactly. fm.compute_layout also runs with auto on now; it has no argument to turn it off.
  • padding.auto pads only past the chrome already on that side (#135). Before: the rescue ignored the legend, the chart title and secondary-y bands, so configure_padding(auto=True) added right padding a label did not need: 9 px with a right legend and 14 px with a secondary y axis, on a 200 px wide layout. After: 0 px in those cases, and exactly the remaining overhang when a label extends past the legend gutter. The padding is solved as a bounded fixed point against the real legend and title reservations, so explicit auto=True charts with a legend, chart title or secondary y axis can move.
  • A non-bool padding.auto is refused (#135). Before: configure_padding(auto="yes") was accepted and failed at render with ValueError: chart_config: invalid type: string "yes", expected a boolean at line 1 column 26. After: ValueError: padding.auto must be True or False; received 'yes' at the call, from configure_padding(auto=) and PaddingConfig(auto=), and FerrumOverrideError: Chart.override(padding_auto=...) must be True or False; received 'yes' from .override(padding_auto=), at render, when overrides are applied. 1 and 0 are refused the same way; numpy.bool_ is accepted.
  • padding.auto measures the x labels the axis draws, at their drawn angle (#135). Before, configure_padding(auto=True) charged half the width of the raw first and last x labels as if they were flat, before the axis chose an angle or thinned its labels, and assumed the edge tick sat on the plot edge. On a 180x200 mark_point() over x = [0, 5e5, 1e6] with label_format="currency", whose labels draw at -90 degrees and fit, it added 13.753 px on the right (plot width 104.273 px to 90.520 px); it now adds nothing and the chart is byte-identical to auto=False. A flat edge label that overhangs now gets the overhang less the distance its tick sits inside the plot edge (up to 8 px less than before). An explicit label_angle and top-oriented x labels were not corrected at all and now are: on a 240x200 chart over x in 1e6..2e6 with currency ticks at both ends and label_angle=-45, the bottom axis's first label (y axis hidden) ran 15 px past the left edge and now ends 12 px inside it, and with orient="top" the last label ran 10 px past the right edge and now ends 19 px inside it.
  • .override(padding_*=...) refuses with FerrumOverrideError in the Chart.override voice (#135). Before: a malformed padding override raised a plain ValueError reading override 'padding_top' must be non-negative; received -1. After: FerrumOverrideError: Chart.override(padding_top=...) must be non-negative; received -1, and the same for padding_right, padding_bottom, padding_left and padding_auto. FerrumOverrideError is a ValueError, so except ValueError still catches it, and a figure that wraps .override now names itself in these refusals the way it already did for scale and mark overrides. configure_padding(...) and PaddingConfig(...) keep their own padding.auto ... voice.
  • padding.auto keeps at least half the plot that auto=False draws (#135). Before: the only floor was the 1 px minimum panel, so a rescue could trade almost the whole data area for an edge label or a title. On a 220 px wide chart with 1e9 y labels, a 26-character x title was recentred by shrinking the plot to 8.565 px wide, and a 27-character one to 1.469 px. After: auto may take at most half of the auto=False plot width (both x sides together) and half of its height (both y sides together), per panel. A label or title whose rescue would take more adds nothing on that side. A rescue that leaves at least half the plot still ships: those two titles, and a 28-character one, are now recentred inside the canvas on plots 118.098 px, 110.798 px and 103.498 px wide (the auto=False plot is 137.946 px), with the x labels thinned evenly to 0, 0.3, 0.6 and 0.9 (see the x label entry below). A 12- to 33-character y title on a 120 to 200 px tall chart used to shrink the plot to 2.4-53 px out of 30-110 px, and now renders as auto=False. With auto=False, nothing changes, and its 1 px minimum panel stays.
  • Rescues that each fit but together take more than half the plot add nothing (#135). Before: the first and last x labels, or an x label and the x title, that each fit within half the plot but together took more were scaled down to exactly half, so the chart shipped a partial rescue whose labels still ran off the canvas. After: auto adds nothing on that axis and the chart lays out as auto=False. On a 176x150 chart whose first and last x labels are both long billion-scale numbers, the plot was 48.5 px wide with both labels still clipped, and is now the 97.1 px auto=False plot. The y axis follows the same rule.
  • padding.auto never loses more of an x axis's own labels than auto=False (#135). Before: a rescue narrows the plot, and the narrower plot could make the axis cull a label, so the default could draw fewer x labels than auto=False. On a 124x150 chart with label_format=",.4f", auto=False draws -1,234,567.8900 at -45 degrees, and the default drew no x label at all. After: each x axis counts the ticks it generates a label for but does not draw in full (culled, or cut short with an ellipsis). A rescue is declined when an x axis would lose more of its own ticks than it loses at auto=False, or when it lays out a different number of x axes, and the chart then ships exactly as auto=False; the 124x150 chart does. Only the count matters, not which ticks are labelled: on a 240x160 chart with six 17-character categories and a 40-character x title, auto=False labels categories 0 and 4 on a 161.47 px plot, and the default labels categories 0 and 5 on a 137.05 px plot with the title inside the canvas. One exception lets a rescue lose more: on a continuous x axis, labels thinned evenly (every s-th tick from the first, none cut short, at least three drawn) are not a loss. On a 160x200 chart over 0..1 with a 19-character x title, auto=False draws 0, 0.3, 0.6 and 0.9 rotated on an 81.056 px plot, and the default draws 0, 0.4 and 0.8 flat on a 78.725 px plot with the title inside the canvas. The 220 px titles above ship the same way, and so does a 270x200 chart over 0..3 with a 44-character x title: auto=False draws 8 rotated labels on a 191.056x110.056 px plot with the title 8 px past the canvas, and the default draws 0, 0.6, 1.2, 1.8, 2.4 and 3 flat on a 151.999x124.961 px plot with the title 11 px inside it. Thinning to two labels, an irregular cull, an ellipsis and tick marks only remain losses: on a 176x100 chart whose two ,.4f ticks are 0.0000 and 1,234,567.8900, the default draws both labels exactly as auto=False does, on the same 97.056 px plot, with the last label still 7 px past the canvas.
  • Each axis's rescue is judged on its own (#135). Before: when one axis's rescue was unusable (it collapsed a panel, left under half the plot, or lost more of an x axis's own labels than auto=False), auto could lose the other axis's valid rescue with it. After: an axis whose rescue alone is unusable is closed and auto settles again, so the other axis's rescue still ships; the same rule applies to x and y. An x rescue that would rotate its labels into a band leaving under half the height no longer costs the y title its rescue. When both axes' rescues are unusable, or each is valid alone but together they are unusable, auto adds nothing and the chart ships exactly as auto=False.
  • The x label band is exactly the labels the axis draws, with auto on or off. Before: the layout sized the band with its own copy of the label cascade, which judged each label against the plot width divided by the label count rather than the gap between ticks, used the width before the y and secondary-y bands, ignored facet cells, a composite's imposed region and the font-shrink stage, and fell back to -90 degrees where it found no fit. It could reserve a rotated band for labels the axis draws flat, leaving a blank strip above the x title, or reserve too little. After: the band comes from the same label layout the axis draws, at the width the axis is drawn at: the widest drawn label at its drawn angle when rotated, and the standoff plus the most lines any drawn label has when flat or wrapped. On a 272x150 chart whose last label is 1,234,567,890, the band was 83.78 px for labels drawn flat in 19.2 px, and is now 19.2 px, so the plot keeps its full height. Charts with flat x labels under an unused rotated band grow by that strip (14.5 px on density_styled and the tapered-line reference charts, 21.7 px on intercluster_distance). A shared-x facet whose -90 degree labels were sized at the whole region's width now reserves the band at the facet cell width: its plot is 14.9 px shorter and its x title no longer sits in the bottom padding.
  • Independent-axis facets reserve the band their own panels draw, and their ticks sit on their marks. Before: the label bands were reserved from the chart-level axis, but each independent panel draws an axis rebuilt from its own scale. A y band reserved 45.17 px for labels drawn 55.22 px wide, so they clipped, and an x axis whose panels draw flat in 19.31 px reserved a 94.73 px rotated band sized for the union of every panel's labels. Independent panels' ticks also sat 8 px off their marks: x ticks at 62.71 and 317.36 px against marks at 70.71 and 309.36 px, and y ticks at 240.96 and 42.52 px against 232.96 and 50.52 px. After: one owner resolves each panel's tick inputs (domain, inset and format), and both the band reservation and the drawn axes read it, so the y band is 55.22 px, the x band 19.31 px, and the ticks sit on the marks. Many cramped independent grids that drew blank panels now draw them. The pdp_chart and shap_chart per-panel figures move accordingly: the multiclass per-class pdp_chart reserves the -90 degree band its panels draw at the cell width, and the three-feature pdp_chart draws each panel's own labels flat with fewer ticks instead of the union at -90 degrees, so its plots are taller, and the per-class shap_chart waterfall reserves its panels' flat labels at the shrunk font, so its bars are taller.
  • Independent-axis facets title only the outer panels, like shared facets. Before: under .share_scale(x="independent") every panel drew its own x title, and under y="independent" every panel drew its own y title, so a 2x2 facet drew 4 x titles (or 4 y titles) where the shared facet drew 2. After: the x title is drawn only under the bottom row and the y title only beside the left column, so that facet draws 2 of each with either axis independent or both. In a wrap whose last row is short, an upper panel with no panel below it draws its x axis but no x title, as on a shared facet. These charts change only by the removed titles.
  • axis(x=False) and axis(y=False) hide the axis on independent facets. Before: an independent axis was rebuilt for each panel and drawn whatever the flag said. On a 2x2 facet, share_scale(x="independent") with axis(x=False) drew 28 x tick labels and 4 x titles, and share_scale(y="independent") with axis(y=False) drew 64 y tick labels and 4 y titles. After: the hidden axis draws nothing, exactly as on a shared facet.
  • An explicit-range category axis sits on its marks in every facet panel. Before: with BandScale(range=...) or PointScale(range=...) on a shared facet axis, every panel after the first drew its ticks and labels at the first panel's pixels while its marks sat in its own panel. On a two-panel facet over three categories with range=[10, 110] on x, the second panel's labels sat at x = 26.667, 60 and 93.333 and its points at 243.402, 276.735 and 310.068. The same happened under CoordFlip, with the category axis shared or independent (second-panel ticks at y = 26.667, 60 and 93.333, points at 154.802, 188.135 and 221.469), and on a secondary y axis with an explicit range: with SecondaryY("s", mark="point", scale=fm.BandScale(range=[10, 70])) on a one-column facet, the second panel's secondary labels sat at y = 23.667, 43.667 and 63.667 instead of 151.802, 171.802 and 191.802. After: every panel's ticks and labels sit on its own marks, exactly. An independent explicit-range axis without CoordFlip already did.
  • A raw scale dict with a repeated category gives each domain entry its own slot under an explicit range. The dict door accepts a repeated category, though the scale classes refuse one. With fm.X("x", scale={"type": "band", "domain": ["a", "b", "a", "c"], "range": [10, 210]}) over a, b and c, the second a label was drawn at x = 35, on the first a's bar, and is now drawn at x = 135, in its own slot, where no bar is drawn. The same domain without range= already labelled each entry in its own slot. The bars do not move.
  • A label band that would leave no plot is thinned until a plot remains. Before: a cramped grid, such as a 2x2 facet 220 px tall with 12 shared rotated categories, could reserve a label band taller than its cells and render blank, with auto on or off. After: the label cascade has a height budget. When the band it would draw leaves a panel at or below the 1 px minimum, it culls labels by stride and shrinks until the band fits, so the reserved band still equals the drawn band and no label runs into the next row. Those grids go from blank to 30.3 px panels, drawing every other one of their 12 labels flat. When no stride fits, the axis draws tick marks only, and the band is the tick length. The budget overrides Theme(cull_labels=False) when the alternative is a blank plot, so such a grid at 780 px renders like the default instead of blank; label_overlap="true" never triggers it. The guarantee is a plot above the 1 px minimum, not a roomy one: some cramped grids now draw panels a few pixels tall (4.7 px) where they were blank. Charts whose band already left a plot are unchanged.
  • Under CoordFixed, the x label band is sized at the panel the aspect ratio leaves. Before: the band was sized at the width before the aspect correction narrowed the panel. On a 200x150 chart with CoordFixed(ratio=0.5) and short numeric labels, the plot was 29x59 px and is now 37x75 px. Where the narrower panel rotates its labels, the band now reserves the rotated labels it draws, so some plots are shorter; where the labels change at the same plot size, the band and the drawn labels now agree (a 280x150 aspect-1 chart over billions drew 0 4e9 8e9 rotated and now draws 0 5e9 1e10 flat). The band is a bounded fixed point whose starting band keeps the panel drawable, so short, wide aspect-2 charts with 10 categories, 760 to 880 px wide and 150 px tall, which drew blank, now draw a plot with tick marks only on x. The fixed point costs time on very long categorical axes: a 400-category aspect-1 chart takes 43-73 ms, where it took 18-25 ms.
  • An x title sits below wrapped labels (#135). Before: under flat x labels that wrap onto several lines, the title sat one label line below the axis, drawn over the second line (about 3 px of ink overlap), with a blank line-high strip reserved under it. After: the title clears the last drawn line by the axis title padding, on top and bottom axes. On a 240x160 chart with wrapped category labels, the title baseline moves from 122.826 to 136.135 and the gap from the labels' ink to the title's goes from -3 px (overlap) to 10 px. A titled x axis with no tick labels (values=[]) places its title where its reserved band ends: on a 400x300 chart, its baseline was 282.135, 6 px past the band, and is now 276.135.
  • Wrapped x label lines use the renderer's line pitch. The renderer steps wrapped x label lines by 1.2 times the font size, and the band now reserves that step for each further line instead of one metric line height (13.31 px at an 11 px font). Every chart with wrapped x labels gains 0.11 px of plot per extra line, and its x title moves up by the same amount.
  • Wrapped top-axis labels stack upward. Before: a wrapped label on a top x axis was one SVG <text> whose extra lines ran downward as <tspan>s into the plot, while the band reserved them above the axis. After: each line is its own <text>, stacked away from the axis, with the last line on the single-line baseline.
  • An explicit padding side no longer moves the axis title that auto recentres (#135). Before: auto's tick extra on a side you set explicitly was discarded, but it still moved the plot centre the axis title was recentred on; on the measured chart the bottom inset was 38 px. After: the title is recentred on the plot that ships, and that inset is 16 px. Charts with no explicit padding side are unchanged.
  • A chart width or height that is not a finite number above 0 is refused at the call that received it. Chart(width=, height=), Chart.properties(width=, height=), every composite's .properties(width=, height=) and Chart.override(width=, height=) take None, "container" or a finite number above 0 (an int, a float or a NumPy number, stored as a float), and refuse everything else with a ValueError naming the call. Before, in 0.23.0: width=0 rendered silently at the default 640x480; float("nan") and float("inf") rendered an SVG with width="0"; a negative width failed at render with ValueError: invalid viewport: width=-5, height=480 (both must be > 0); a string failed at render with TypeError: argument 'viewport': must be real number, not str; and True failed at render with ValueError: layout failed: padding left=16 exceeds viewport dimension 1. After, from .properties() itself: Chart.properties(width=...) must be positive; received 0, ... must be a finite numeric pixel value; received nan, ... must be a numeric pixel value (int or float), not str; received 'abc' and ... not bool; received True. A string is now a ValueError, not a TypeError. Chart(width=0) refuses as Chart(width=...); a composite refuses as its own class, for example HConcatChart.properties(width=...) must be a finite numeric pixel value; received nan, where it failed at render with failed to render composite leaf leaf #0: invalid viewport: ...; and .override(width=0) raises FerrumOverrideError: Chart.override(width=...) must be positive; received 0 when overrides are applied. fm.compute_layout keeps its own refusal: ValueError: invalid viewport: width=NaN, height=200 (both must be finite and > 0). padding.auto's settle loop also stops on its own, with a hard pass cap, whatever the input.
  • An empty chart's SVG header writes its size as a float. Because a numeric width or height is now stored as a float, a chart with no rows, which writes its SVG header from the stored size, writes width="300.0" for .properties(width=300) where it wrote width="300". Charts with rows render byte-identically whether the size was given as an int or a float.
  • Figure functions refuse a malformed size argument at the call, in their own voice. height= and aspect= on displot, catplot, relplot and pairplot, height= on jointplot and figsize= on clustermap refuse 0, a negative number, NaN, infinity, a bool and a non-number, and figsize= refuses anything that is not a (width, height) pair: displot(height=...) must be positive; received 0, displot(aspect=...) must be a finite number a float can hold; received nan, clustermap(figsize=...) must be a (width, height) pair; received (300,). Before, in 0.23.0: height=0 and aspect=0 rendered silently at the default size (displot(height=0) at 640x480, displot(aspect=0) at 640x300), as did jointplot(height=0) (768.05x576.05) and clustermap(figsize=(0, 300)) (760x385); a NaN height rendered an empty-size SVG (displot(height=float("nan")) wrote width="0" height="0"); a negative height failed at render with ValueError: invalid viewport: width=-5, height=-5 (both must be > 0); and clustermap(figsize=(300,)) raised IndexError: tuple index out of range. A size that comes out 0 only because the data is empty (row facets over an empty frame) still renders the empty chart.
  • A scale-type override keeps what your padding meant (#157). padding means a different thing on each scale type: the inner gap on an ordinal scale, the end padding on a point scale, d3's shorthand for both sides on a band scale, and a fraction of the span on a continuous scale. .override(x_scale_type=...) used to carry padding across a type switch by name, so the value changed meaning. It is now translated by meaning, and dropped when the new type has no equivalent:

    • OrdinalScale(padding=0.3) to band: before, band padding 0.3 on both sides (73.143 px bars on four categories); after, paddingInner 0.3 (85.004 px bars).
    • PointScale(padding=0.5) to band: before, band padding 0.5 (49.923 px bars); after, paddingOuter 0.5 (89.862 px bars). align carries as align.
    • PointScale(padding=2) to band: before, refused as BandScale(padding=...) must be a number in [0, 1]; received 2, a value you never wrote; after, paddingOuter 2 (56.164 px bars). To ordinal: before, an inner gap of 2, which put the four points at x -77.501 to 764.3, the outer two off the 640 px canvas; after, the padding is dropped and they sit at x 132.949 to 553.85.
    • OrdinalScale(domain=list("abcd")) to point: before, points on the range ends (x 62.799 to 624.0 on the default chart); after, the ordinal padding is dropped and the point default applies (x 132.949 to 553.85).
    • Band to ordinal carries the inner side (paddingInner, else padding) as padding; band to point carries the outer side (paddingOuter, else padding) as padding, plus align. Before, padding survived by name and paddingInner/paddingOuter were dropped: {"type": "band", "paddingInner": 0.3} switched to ordinal placed four points at x 132.949 to 553.85 and now places them at 115.885 to 570.913 (ordinal padding 0.3), and {"type": "band", "paddingOuter": 0.2} switched to point went from 132.949 to 553.85 (the point default) to 95.811 to 590.988 (point padding 0.2).
    • A continuous padding switched to band, point or ordinal, or a discrete padding switched to a continuous type, is dropped: {"type": "linear", "padding": 0.3} switched to band drew 73.143 px bars and now draws 112.327 px, the unset band. Between continuous types (linear to log) padding is kept, as before.

    A valid value the new type has no use for is discarded silently, as any other key the new type does not accept already was. A malformed value is refused when the override is applied, naming the key you wrote, whether the switch would carry it or drop it: {"type": "band", "paddingInner": 1.5} switched to ordinal raises ValueError: scale: paddingInner must be a number in [0, 1]; received 1.5, and {"type": "band", "align": 5} switched to ordinal raises ValueError: scale: align must be a number in [0, 1]; received 5; both used to render. A key stated in the same .override call as the new type is read under the new type, as before. - A band scale with no padding draws like the auto-inferred categorical axis (#157). Before: fm.BandScale(), {"type": "band"} and .override(x_scale_type="band") applied a hidden padding of 0.1 on both sides, which ferrum attributed to d3; d3's scaleBand actually defaults to 0 (0.1 is Vega-Lite's convention). After: an unset padding inherits the auto-inferred layout (inner 0, outer 0). Four bars on the default chart go from 98.629 px to 112.327 px wide; a mark_boxplot() over four categories on a named BandScale() goes from 73.95 px to 84.22 px boxes; heatmap cells on a named BandScale() now tile edge to edge; and PointScale() switched to band by .override(x_scale_type="band") draws 112.327 px bars (a PointScale with a padding you set carries it as paddingOuter; see the scale-type override entry above). To keep the old look, pass padding=0.1: an explicit padding, or both padding_inner and padding_outer, keeps d3's band math bit-for-bit (BandScale(padding=0.1) still draws 98.629 px bars). - One band-padding side set alone leaves the other at padding, then 0 (#157). Before: BandScale(padding_inner=0.2) kept outer padding 0.1, drawing 89.862 px bars. After: outer padding is 0 (d3's rule), drawing 94.591 px bars. Pass padding_outer=0.1 to keep the old geometry. - BandScale's compute facade, getters, equality, repr and wire follow the unset padding (#157). BandScale(domain=list("abcd"), range=[0, 400]).bandwidth() was 87.805 and is 100.0; on range=[40, 260], scale("a") was 45.366 and is 40.0, and bandwidth() was 48.293 and is 55.0. padding_inner and padding_outer return float | None (BandScale().padding_inner was 0.1, now None), and a new padding getter returns the value you set or None. BandScale() != BandScale(padding=0.0) (same pixels; only the second states a value), and the repr prints each argument as set: BandScale(domain=[], padding=None, padding_inner=None, padding_outer=None, align=0.5). The wire carries padding keys only when set: BandScale() no longer emits paddingInner: 0.1, paddingOuter: 0.1. PointScale(padding=) now defaults to None and still resolves to 0.5 with byte-identical rendering, but PointScale() no longer equals PointScale(padding=0.5), its repr prints padding=None, its wire omits padding: 0.5, and its padding getter returns None (was 0.5), like every other scale getter for a value you did not set. PointScale(padding=0.7).padding is still 0.7. - Band padding is validated on d3's bounds on every door, naming the call (class, override) or the scale and channel (dict) (#157). padding and padding_inner must be in [0, 1]; padding_outer must be finite and >= 0. BandScale(padding_inner=1.0) was refused and is now accepted. BandScale(padding_inner=1.5) raised padding_inner must be in [0, 1); got 1.5 and now raises ValueError: BandScale(padding_inner=...) must be a number in [0, 1]; received 1.5; a malformed padding is refused even when explicit inner and outer values would mask it. The constructors' other checks use the same voice: BandScale(align=...) must be a number in [0, 1]; received 2 (was align must be in [0, 1]; got 2), PointScale(padding=...) must be a finite number >= 0; received -1 (was padding must be >= 0; got -1) and PointScale(align=...) .... A malformed padding in a dict, {"type": "band", "paddingInner": 1.5}, was accepted and drew out-of-range bands; it is now refused at render with ValueError: band scale on x: paddingInner must be a number in [0, 1]; received 1.5. An out-of-range override padding on any channel (x_scale_padding, x_scale_padding_inner, x_scale_padding_outer) was accepted too; it is now refused naming the path you wrote: .override(x_scale_type="band", x_scale_padding=1.5) raises Chart.override(x_scale_padding=...) must be a number in [0, 1]; received 1.5, and .override(x_scale_padding_outer=-1) on a band x raises Chart.override(x_scale_padding_outer=...) must be a finite number >= 0; received -1. The override door also checks the point, ordinal and align bounds, which it used to accept: .override(x_scale_align=5) on a band x raises Chart.override(x_scale_align=...) must be a number in [0, 1]; received 5, .override(x_scale_padding=-1) on a point x raises Chart.override(x_scale_padding=...) must be a finite number >= 0; received -1, and .override(x_scale_padding=1.5) on an ordinal x raises Chart.override(x_scale_padding=...) must be in [0, 1]; got 1.5. The dict door still does not check these three. - clustermap draws heatmap's default cell border (#125). Before: clustermap(df)'s center cells had no border, and clustermap had no linewidths=/linecolor= parameters (clustermap(df, linewidths=0) was refused as unknown encoding channel: 'linewidths'). After: each center cell draws a white 0.5 px stroke, the same default as heatmap, and clustermap takes linewidths= and linecolor= with heatmap's meaning and validation. clustermap(df, linewidths=0) restores the borderless look. Dendrograms, colorbar and labels are unchanged, and mark={"stroke": ...} still wins on the cells. heatmap(df) output is byte-identical. Confusion matrix, classification report, rank2d and jointplot(kind="hist") stay borderless. - heatmap and clustermap refuse a malformed border, naming the figure and the argument (#125). Both signatures default linewidths and linecolor to None, which means 0.5 and "white". Before and after, for heatmap: linewidths=None raised a raw TypeError: '>' not supported between instances of 'NoneType' and 'int', and now draws the default border; linecolor=None drew no border (with a warning about stroke_width), and now draws the white default; linewidths=-1 and linewidths=float("nan") drew no border silently, and now raise heatmap(linewidths=...) must be non-negative; received -1 and heatmap(linewidths=...) must be a finite numeric pixel value; received nan; linewidths="a" raised a raw TypeError, and now raises heatmap(linewidths=...) must be a numeric pixel value (int or float), not str; received 'a'; linewidths=True refused as heatmap(stroke_width=...) ..., and now as heatmap(linewidths=...) must be a numeric pixel value (int or float), not bool; received True; linecolor="notacolor" refused as heatmap: stroke='notacolor' is not a valid color (...), and now as heatmap(linecolor=...)='notacolor' is not a valid color (...); linecolor=3 refused as heatmap: stroke must be a string; got 3, and now as heatmap(linecolor=...)=3 must be a color string, not int. clustermap refuses the same values voiced clustermap(...). - heatmap/clustermap border sentinels and inert pairs (#125). linecolor="none" or "transparent" draws no border, as linewidths=0 does; heatmap used to also warn that stroke_width had no effect, and is now silent. linecolor="theme:label" still draws the theme's label color. An explicit value the other argument makes inert now warns naming both: heatmap(linewidths=2, linecolor="none") warned about stroke_width and now warns heatmap: linewidths=2.0 has no effect when linecolor='none' draws no cell border; it was ignored, and heatmap(linewidths=0, linecolor="red") was silent and now warns heatmap: linecolor='red' has no effect when linewidths=0.0 draws no cell border; it was ignored. The warnings heatmap and clustermap raise from their own arguments (these two, and heatmap's three color-domain warnings for vmin=/vmax=/center=) now point at your own line instead of ferrum's internals; render-time warnings are unchanged. - One size rule at every door, and a point's size=0 refuses everywhere (wave 7 close, #116). Which marks draw a constant size= and which values are legal is now one Rust rule that every door runs at construction with the render-time text. Newly refused: fm.Layer(mark="point", mark_kwargs={"size": 0}) (mark_point(size=...) must be a positive number; received 0), fm.Layer(mark="area", mark_kwargs={"size": 5}), a figure function's mark={"size": ...} that its marks cannot draw or that is not above zero (relplot(..., mark={"size": 0}) raises relplot(size=...) must be a positive number; received 0; displot(kind="hist", mark={"size": 5}) raises displot(size=...) has no effect on mark_bar; received 5.), the same through a visualizer's mark= (voiced as the class), a composite's size= that its point or line cannot draw (mark_qq(size=0)), and a point's constant size of 0 on a hand-built wire spec. Before, those doors reached render unchecked: a point drew r="0" and an area ignored the size. The "has no effect" refusal names the call and, separately, the mark that would not draw the size: fm.Layer(mark="area", mark_kwargs={"size": 5}) raises Layer(size=...) has no effect on mark_area; received 5., and a composite names the mark it emits (mark_density(size=...) has no effect on mark_area; received 5.). A refused value now prints as Rust prints a number (received 20 for 20.0). - A not-honored mark kwarg raises ValueError instead of TypeError (wave 7 close). mark_bar(arrow=True), mark_point(squiggly=1), a composite's unknown catch-all kwarg and validate_user_mark_kwargs now raise ValueError, the type every other construction refusal raises. The message is unchanged. Code catching TypeError here must catch ValueError. - Warnings and refusals name the public call you made (wave 7 close). Every public figure function (not only those that draw a line) and every visualizer stamps its own name on the chart it returns, and every per-layer render refusal is voiced by it: a text mark's format refusal now reads mark_text: the number format ... (before: no prefix). Desugar warnings use the same name: the violin hue-inner warning reads mark_violin: inner marks are drawn at each category's center and are not dodged per hue group; use Chart.mark_violin(inner="none") to drop the inner mark from mark_violin and catplot: ... from catplot (before: mark_violin(inner=...): ... without the recourse, and catplot(kind='violin'): ...). Code matching those warnings by text must update. - fm.Swarm drops swarm_x, swarm_y and the offset placeholder from its output (wave 7 close, #161). The output is the input columns unchanged (minus rows whose dodge value is null); placement happens at render. A chart that encoded swarm_y must encode the value column instead (swarm_y was a copy of it that nothing read). A Swarm followed by an aggregate that keeps the category and value columns is now placed, with no warning (before: it warned swarm could not be applied ... and left the rows unplaced). - fm.Swarm(point_size=) defaults to 4, matching mark_swarm(size=4) (wave 7 close, #161). Before: 5.0. A chart.transform(fm.Swarm(...)).mark_point() with no point_size= now packs centres 4 + spacing px apart and draws radius 2 px (before: 5 + spacing px, radius 2.5 px), identical to mark_swarm()'s default. An explicit point_size= is unchanged. See ferrum-spec.md's 2026-10-04 note. - Figure and composite legends gain real titles (wave 7 close). Legends bound on a layer were untitled; each figure now titles its own: confusion_matrix_chart Proportion (Count with normalize=None), class_prediction_error_chart Predicted class, discrimination_threshold_chart Metric, decision_boundary_chart Predicted probability (proba=True with predict_proba) or Class, silhouette_chart Cluster, intercluster_distance_chart Cluster plus a new size legend Cluster size, rank2d_chart Correlation (Covariance for algorithm="covariance"), shap_waterfall_chart SHAP sign, a multiclass pdp_chart Class, compare= cv_scores_chart/importance_chart/shap_bar_chart Model, and parallel_coordinates_chart(hue=c) the column c. A filled bivariate mark_density/mark_contour (and jointplot(kind="kde")) titles its colorbar Density, and mark_hex (and jointplot(kind="hex")) the aggregated column, or Count. Each added title shifts its legend body down by one title line. mark_importance(color_field=) also accepts a channel such as fm.Color("model", title="Model"). - mark_hex refuses a color= it would not draw (wave 7 close). A chart-level color= must name the aggregated column (supplying field when omitted, as before) or Hex's value output column; its title, scheme and legend then style the cell colours. Any other, including any color= with the default aggregate="count", raises ValueError: mark_hex: color='cat' is drawn nowhere; the cells are colored by aggregate='count'. Bind color= to the aggregated column, or drop it. Before: accepted and drawn nowhere (it only retitled the count colorbar). The color's scheme= paints the cells as cmap= does; a scheme= with a different cmap= refuses. - Style kwargs a mark would not draw refuse at every door, in the voice of the call you made (wave 7 close). The per-mark honored-kwarg rule mark_<name>(...) already applied now also holds fm.Layer(mark_kwargs=) (voiced Layer), a figure's mark= dict, lmplot/regplot's line_kws= and scatter_kws=, a composite's layer_kwargs=, and Chart.override(mark_<leaf>=). Before, each accepted a kwarg its mark never draws and rendered as if it were absent. Examples: relplot(..., mark={"interpolate": "step"}) on a scatter now raises relplot: keyword argument 'interpolate' is not honored by mark_point. Honored: [...]; lmplot(..., line_kws={"filled": True}) raises lmplot: keyword argument 'filled' is not honored by mark_line. ...; fm.Layer(mark="point", mark_kwargs={"bogus_kw": 1}) raises Layer: unknown keyword argument 'bogus_kw'. ...; mark_line().override(mark_shape="square") raises FerrumOverrideError at render: Chart.override: keyword argument 'shape' is not honored by mark_line. .... Aliases now resolve on these doors too, so fm.Layer(mark="line", mark_kwargs={"color": "red"}) and roc_chart(mark={"line": {"alpha": 0.5}}) draw red and half-opaque where before the alias reached the renderer unread. A mark= style dict on a compound figure (pairplot, jointplot) now reaches every panel whose mark honors it (before: dropped silently), and jointplot(kind="hist", joint_kws=...) passes its style to the 2D-histogram cells instead of dropping it. FerrumOverrideError is now a ValueError subclass. A visualizer's malformed mark= refuses at fit() (before: at show()). - A figure's mark= override for a sub-layer the call does not draw refuses (wave 7 close). Before: a catalogued sub-layer the figure never emitted swallowed any style aimed at it. Now style for an undrawn sub-layer refuses, e.g. roc_chart(..., annotate_auc=False, mark={"auc_label": {"opacity": 0.1}}) raises roc_chart(mark={'auc_label': ...}): this call draws no 'auc_label' sub-layer, so nothing would take the style; it draws ['line', 'reference']; dropping it (False) or an empty dict is still accepted. The figure-drawn metric label is now the named sub-layer auc_label / ap_label / brier_label, so roc_chart(mark={"auc_label": {"font_size": 14}}) styles it (before: accepted and ignored). A non-dict value (mark={"line": 5}) raises ValueError naming the figure (before: a raw TypeError with no entry), an unknown name raises roc_chart(mark={'bogus': ...}): unknown sub-layer 'bogus'; this chart's sub-layers are ['auc_label', 'line', 'reference'] (before: Unknown sub-layer 'bogus'; ... without the figure), a mark= that drops every sub-layer refuses (before: a Rust panic, or an empty chart), and a compound figure refuses a mark= key no panel takes. The same rule holds a composite's layer_kwargs=: style aimed at a layer the call did not draw (mark_boxplot(outliers=False, layer_kwargs={"outlier": {...}})) refuses at render with the same text, mark_boxplot(layer_kwargs={'outlier': ...}): this call draws no 'outlier' sub-layer, so nothing would take the style; it draws ['box', 'lower_cap', 'median', 'upper_cap', 'whisker'], and a non-dict layer_kwargs= raises ValueError (before: TypeError). - heatmap, clustermap and pairplot refuse a decimal column (wave 7 close). The value columns are now the integer and float columns Rust's Linkage and Reorder(axis="columns") read. A Decimal column raises heatmap: column 'd' is a decimal column (Decimal128(38, 1)); a numeric column must be an integer or float column, so cast it to float first (likewise clustermap:, pairplot:, linkage:, stat_reorder:). Before: heatmap/clustermap counted it as numeric and failed later in Unpivot (stat_unpivot: value_vars have heterogeneous non-numeric types: ...), and pairplot failed at render (column 'd' has unsupported dtype: Decimal128(38, 1)). - The + conditional-collision refusal states the one-per-channel rule (wave 7 close). Two operands of chart + chart that each declare a conditional on one wire channel still refuse; the reason in the message changes. Before: ... both declare a conditional on the 'color' wire channel -- the conditional on the merged wire applies to every layer's marks, so there is no per-layer scope to keep the two apart; a channel can carry only one conditional. .... After: chart + chart: the left chart's conditional on selection 's1' and the right chart's conditional on selection 's2' both declare a conditional on the 'color' wire channel -- the merged chart holds one conditional per wire channel, whichever layers each would reach; a channel can carry only one conditional. Drop one of the two declarations, or move one to a different channel. Code matching the old text must update. - One Rust table decides which style fields each mark draws, and every door accepts exactly those (wave 7 close). Before: Python kept its own per-mark sets, and every mark accepted the text fields, corner_radius and blend whether it drew them or not; fm.Layer(mark="ribbon") and fm.Layer(mark="polygon") accepted any style field; a composite's catch-all accepted that shared set plus size; and a hand-built spec's unknown mark_style key was silently dropped. Each such field rendered as if it were absent. After: mark_*(), fm.Layer, .override, a figure's mark= and *_kws, layer_kwargs= and every composite catch-all accept exactly the fields ferrum._core.mark_style_fields(mark) lists, with the refusal text unchanged in form. Newly refused, for example: mark_point(font_size=12) (mark_point: keyword argument 'font_size' is not honored by mark_point. Honored: ['blend', 'fill', 'filled', 'opacity', 'shape', 'size', 'stroke', 'stroke_cap', 'stroke_dash', 'stroke_join', 'stroke_width']), mark_line(fill=), mark_text(stroke=), mark_area(stroke_dash=), mark_image(opacity=), fm.Layer(mark="ribbon", mark_kwargs={"cmap": ...}), and .override(mark_font_size=...) on a bar (Chart.override: keyword argument 'font_size' is not honored by mark_bar. ...). Newly accepted, because the mark draws them: mark_image(cmap=, width=, height=), and stroke_cap=/stroke_join= on every mark the table lists (before: only mark_line took stroke_cap=). A composite spreads each field only onto the marks it emits that draw it (before: onto every emitted layer, where a mark that does not draw it ignored it), and a field none of them draws refuses: mark_boxplot(cmap="viridis") raises mark_boxplot: keyword argument(s) ['cmap'] are drawn by no mark this call draws (['point', 'rect', 'rule', 'tick']), so nothing would take them. A hand-built spec refuses an unknown mark_style key when it is parsed (unknown field `bogus_kw`, expected one of ...), and a field its mark never draws at render (mark_point: font_size has no effect on a point mark; a point mark draws size, stroke, ...). Violin's never-drawn internal fill_opacity is removed, with no change to any render. - orient= is an argument of mark_bar() and mark_tick() only, and its value is checked (wave 7 close). Before: fm.Layer(mark="bar", mark_kwargs={"orient": "horizontal"}) and .override(mark_orient="horizontal") were accepted and drew nothing, and any orient value other than "horizontal" drew a vertical bar. After: every door but the method refuses it, naming the method (mark_bar: keyword argument 'orient' is an argument of mark_bar(), not a layer style; set it through mark_bar(orient=...)), and mark_bar(orient="diagonal") raises mark_bar: orient must be one of ['horizontal', 'vertical']; got 'diagonal'. zero= is a bar style field accepted at every door; on a single bar chart a door-supplied zero is consumed exactly as mark_bar(zero=) consumes it. - A field only ferrum's own code sets refuses at the style doors, naming the call that sets it (wave 7 close). detail, clip and value_axis passed to fm.Layer(mark_kwargs=), .override, a figure's mark= or layer_kwargs= raise, e.g. mark_line: keyword argument 'detail' is not a style kwarg; set it through encode(detail=...), ... 'clip' is not a style kwarg; set it through mark_function(clip=...), and mark_area: keyword argument 'value_axis' is not a style kwarg; set it through the orient= of the statistical mark that draws it. A hand-built spec still sets them on the wire. - Every style refusal names the call you made, fm.Layer and .override included (wave 7 close). Before: fm.Layer(mark="point", mark_kwargs={"font_size": 3}) refused as mark_point: ..., naming a method the caller never called, and Chart.override refusals came in two forms: a style refusal Chart.override: keyword argument 'font_size' is not honored by mark_point. ..., and path refusals with no call named at all (Unknown override path 'x_axis_lable_angle'. Did you mean: 'x_axis_label_angle'?, coord_* override (ratio) is not a field of CoordPolar. ..., mark_* override (opacity) is ambiguous on a multi-mark chart: ...). After: fm.Layer refuses as Layer: keyword argument 'font_size' is not honored by mark_point. Honored: [...] (a constant size as Layer(size=...) must be a positive number; received 0), and every .override refusal begins Chart.override:, e.g. Chart.override: Unknown override path 'x_axis_lable_angle'. Did you mean: 'x_axis_label_angle'?. FerrumOverrideError is still a ValueError, still the type .override raises, and still built from a message, FerrumOverrideError("..."); what .override raises is a private subclass that a figure re-voices, so an override a figure renders on the caller's behalf names that figure. Code matching these messages by text must update. - mark_bar(zero=None) keeps the bar's zero anchor (wave 7 close). Before: zero=None on a single bar chart, through mark_bar or any door that styles it (.override(mark_zero=None), a figure's mark=), was read as false and dropped the zero anchor, so the value axis started at the data minimum. After: None means unset, as it does for every style field and on a layered bar, so the bar stays anchored at zero exactly as with no zero= at all. zero=False still drops the anchor. - mark_contour(fill=, smooth=), mark_density(fill=, cumulative=, smooth=) and mark_qq(dequantize=) take only a truth value (wave 7 close). Before: mark_contour(fill="no") drew filled contours and mark_density(fill="red") drew a filled area, each reading the string for its truthiness, while mark_contour(smooth="no"), mark_density(cumulative="no"), mark_density(smooth="no") (x and y encoded) or mark_qq(dequantize="no") failed at render with PyO3's argument type error. After: each refuses at the call, e.g. mark_contour: fill must be True or False; got 'no' and mark_density: fill must be True or False; got 'red' (a density's fill color is color=); a figure that draws the density refuses in its own voice (displot(kind="kde", fill="red") raises displot: fill must be True or False; got 'red'). None means the default; True, False and numpy bools draw as before. One drawing moves: mark_density(fill=None), and so displot(kind="kde", fill=None), draws the default filled area (before: a line, None read as false). - fm.Layer(mark=) must be a mark name, and a mark-less fm.Layer is held to the point's fields (wave 7 close). Before: a non-string mark (the docstring advertised a MarkSpec) failed only at render, and a mark-less layer's mark_kwargs went unchecked. After: fm.Layer(mark=3) raises Layer(mark=...): a layer's mark is a mark name such as 'point' or 'line'; got 3 at construction, and fm.Layer(mark_kwargs={"font_size": 9}) raises Layer: keyword argument 'font_size' is not honored by mark_point. ..., since a mark-less layer draws a point. - A style value outside its vocabulary refuses (wave 7 close). Before: stroke_cap=/stroke_join= values outside the vocabulary were dropped at render, and an unknown mark_raster(blend=) value drew as "normal". After: each refuses at the door, mark_line: unknown stroke_cap 'flat'; expected butt|round|square (likewise stroke_join, and mark_point: unknown blend 'multiply'; expected normal|alpha|additive). - A style refusal at render fires for every layer, empty ones included, before any geometry refusal (wave 7 close). Before: render checked a layer's style only while drawing a panel with rows, so a hand-built or saved spec whose layer was left with no rows (by its filter or its data) or whose panels were all empty rendered with the malformed field unchecked, e.g. a mark_style of {"blend": "bogus"}, an unknown stroke_cap, stroke_join or interpolate, an unparseable color, a refused constant size, or a field the mark does not draw. After: every layer's style is resolved once per chart, before any panel is drawn, so each refuses whatever its rows, e.g. layer 1: mark_line: unknown blend 'bogus'; expected normal|alpha|additive. When one chart has several faults, a style refusal now comes before a swarm, position-adjustment or positional refusal, and every layer's style refusal before any panel's geometry. A hand-built spec's unknown blend refuses at render in this voice, as stroke_cap does (before: a serde parse error naming no mark or layer). - A layer's blend moves from the wire Layer.blend to mark_style.blend (wave 7 close). mark_raster(blend="additive") now writes "mark_style": {"blend": "additive"} on its layer. mark_raster(blend=) defaults to None, unset, which draws as "normal" (before: "alpha"), and a value given is written as given, so blend="alpha" or blend="normal" now appears in the spec JSON where before "alpha" was left out; Rust reads "alpha" as "normal", and every such chart renders as before. A hand-built or saved spec whose layer carries the old "blend" key refuses when it is parsed (unknown field `blend`, expected one of `mark`, `encoding`, ...), as does any other unknown layer key (before: dropped); move the value into the layer's mark_style. - A conditional restyles only the marks that declared it, on every channel (wave 7 close). Before: in the interactive view, only a size conditional was scoped; a color, opacity or other conditional declared on one chart of a | b (or one layer of a + b) restyled every mark in every panel when its selection fired, the other side's marks taking if_selected or if_not too. After: a conditional reaches only the marks of the chart or fm.Layer that declared it; a chart-level conditional (a .layer() host's, fm.SecondaryY's) still reaches every layer attached to it. Linked views keep working by declaring the conditional on each chart over the shared selection. A figure's mark={name: False} that drops every layer a conditional was declared on drops the conditional with them; before, the conditional was left with no owner and restyled every remaining layer. On the scene wire, MarkBatch.size_conditionals becomes conditionals, listing every conditional the batch answers to, and a scene without conditionals is byte-identical. - A selection reacts only to input on the panels of the chart that declared it (wave 7 close). Before: a click or brush on any panel of a composition drove every selection of its kind, so in a | b a click on b changed a's selection. After: each scene selection lists its owner panels (every facet panel of the declaring chart; an overlay group owns as one), and only input there drives it. A selection shared by name across charts (linked views) becomes one scene selection owning the union of their panels, where before each chart appended its own copy. A single-panel scene's selections are byte-identical. - One selection name with two different definitions refuses (wave 7 close). Before: within one chart or across +, the first definition silently won; across a composition, both sat in the scene under one name. After: add_selection(), add_params(), encode(), Chart.layer(), Chart.conditional(), + and every composition refuse, naming the differing fields: hconcat: selection 's' is declared twice with different definitions: chart 1 of hconcat declares nearest=False, chart 2 of hconcat declares nearest=True. One name is one selection across the composition: share one selection between the charts, or give each its own name. (within one chart: add_selection(): selection 's' is declared twice with different definitions: first declares type='point', second declares type='interval'. ...). Two identical declarations under one name still link. - A style refusal raised while a figure or visualizer builds its chart names that call, for every jointplot kind (wave 7 close). Before: jointplot(joint_kws={"bogus": 1}) raised in the voice of the cell's mark (mark_point: ...), and with kind="kde" it raised mark_density: ..., once the lazily built cell resolved. After: every kind raises jointplot: unknown keyword argument 'bogus'. Honored: [...], for joint_kws= and marginal_kws= alike. A mark method called directly still speaks as mark_<kind>. Under compare=, every refusal names the model whose panel refused, a style refusal included, ahead of the figure's voice: silhouette_chart(model, X, compare={"m2": other}, mark={"bogus": {}}) raises compare={'base': ...}: silhouette_chart(mark={'bogus': ...}): unknown sub-layer 'bogus'; this chart's sub-layers are ['rect', 'reference'], and a refusal that fires only for m2 (an undrawn sub-layer, a style none of that panel's marks draws) names m2 the same way. Separately, a figure function or visualizer refuses a malformed mark= (SHAPBeeswarmVisualizer(mark=...) must be a dict, of mark kwargs or of sub-layer names to their mark kwargs; got int) before it computes anything from the model; before, the SHAP step ran first, so a model SHAP rejected raised SHAP's error instead. - Sub-layer refusals share one wording on both doors, a style dict no layer takes names every key and every layer, and FerrumOverrideError still takes a message (wave 7 close). These change the text of refusals described above. A figure's mark= and a composite's layer_kwargs= refuse an unknown or undrawn sub-layer with one set of messages, each echoing the sub-layers the call aimed at. Unknown, mark=: before roc_chart(mark=...): unknown sub-layer 'bogus'; this chart's sub-layers are [...], after roc_chart(mark={'bogus': ...}): unknown sub-layer 'bogus'; this chart's sub-layers are [...]. Unknown, layer_kwargs=: before mark_smooth(layer_kwargs=): unknown sub-layer 'lines'; mark_smooth draws ['line', 'metrics', 'ribbon']. Pass style ..., after mark_smooth(layer_kwargs={'lines': ...}): unknown sub-layer 'lines'; this chart's sub-layers are ['line', 'metrics', 'ribbon']. Pass style that should reach every layer as a plain mark kwarg instead, e.g. mark_smooth(opacity=0.5).; with no named sub-layers, before mark_histogram(layer_kwargs=): unknown sub-layer 'bar'; mark_histogram draws no named sub-layers, so it has nothing to aim at. Pass style ..., after mark_histogram(layer_kwargs={'bar': ...}): unknown sub-layer 'bar'; this chart has no named sub-layers to aim at. Pass style .... Undrawn, layer_kwargs=: before mark_boxplot(layer_kwargs=): this call draws no ['outlier'] sub-layer, ..., after mark_boxplot(layer_kwargs={'outlier': ...}): this call draws no 'outlier' sub-layer, so nothing would take the style; it draws [...] (the mark= text is unchanged). A figure's mark= style dict on a chart with unnamed layers that no layer takes now names the call and every refused key once, then gives one line per layer naming its mark, its reason for each key and the fields it takes: relplot: no layer of this chart takes ['bogus', 'font_size']: followed by mark_point: unknown keyword argument 'bogus'; keyword argument 'font_size' is not honored by mark_point. Honored: [...] and mark_line: unknown keyword argument 'bogus'; keyword argument 'font_size' is not honored by mark_line. Honored: [...], each on its own line. A constant size such a layer never draws gives that mark's size rule there, with the call named only at the head (mark_rule: keyword argument 'size' has no effect on mark_rule; received 3. Set stroke_width= instead). Before: only the first such key was refused, against the first layer's mark alone (relplot: keyword argument 'font_size' is not honored by mark_point. Honored: [...]), as if the other layers' fields were wrong too. One key on a chart of one mark refuses as before. When several keys of one style dict refuse at fm.Layer(mark_kwargs=), a figure's mark= or .override(mark_*=), the refusal is for the first in the caller's order; before, a key only mark_bar()/mark_tick() takes (orient) was refused ahead of an earlier key. FerrumOverrideError("...") still builds from a message. mark_density declares fill=True, cumulative=False and smooth=True as keyword parameters in its signature; the values it accepts and draws are unchanged. - A style key set to None no longer refuses at a door that takes the key (wave 7 close). None means the key was not set. A figure's mark= dict on a layered chart whose layers draw no size: before, mark={'size': None} refused as keyword argument 'size' is not honored by mark_<mark>, while fm.Layer(mark_kwargs={'size': None}) read it as unset; after, it is unset there too and styles nothing. mark_bar(orient=None) and mark_tick(orient=None): before, refused with orient must be one of ['horizontal', 'vertical']; got None; after, they draw exactly as with no orient. A composite mark's catch-all style (mark_smooth, mark_boxplot, mark_errorbar, mark_histogram, mark_function): before, a field set to None that none of its emitted marks draws refused as keyword argument(s) [...] are drawn by no mark this call draws, and size=None on mark_smooth, mark_errorbar, mark_histogram or mark_function raised a raw TypeError: argument 'size': must be real number, not NoneType; after, both are unset and the chart draws as without them. The same composite catch-all also merges onto a layer's own resolved style, not only onto the refusal check: before, mark_smooth(ci=0.95, opacity=None) overwrote the confidence band's built-in opacity=0.3 with None, drawing the band fully opaque; after, a None in the catch-all never overrides a desugar's own default, on every composite and diagnostic chart that spreads a catch-all style over its emitted layers, and a non-None catch-all value still overrides as before. A key that is not a style of the door at all (a typo, a field the mark never draws, an internal field, orient off mark_bar()/mark_tick()) still refuses whatever its value. - A style value set to None never erases a value already set, on every door (wave 7 close). Before: a door that merges a caller's style over a style already set wrote the None over it. mark_point(opacity=0.3).override(mark_opacity=None) and .override(mark_opacity=0.3).override(mark_opacity=None) drew at opacity 1; mark_smooth(ci=0.95, layer_kwargs={'ribbon': {'opacity': None}}) drew the band at opacity 1 instead of its 0.3, and beside opacity=0.5 the band ignored that 0.5; lmplot(mark={'ribbon': {'opacity': None}}) drew the band at opacity 1 instead of 0.3; a figure's mark={'opacity': None} erased each layer's own opacity; and mark_swarm(size=None) raised a raw TypeError: float() argument must be a string or a real number, not 'NoneType'. After: each keeps the value already set and renders byte-identical to the same call without the None, mark_swarm(size=None) draws at the default diameter 4, a non-None value still replaces as before, and a typo, undrawn or internal key still refuses whatever its value. A refusal spanning layers names each reason as its own sentence, and its size reason comes from the size rule itself. Before: a layer's reasons were joined with ;, so the size rule's remedy ran into the next reason, as in mark_rule: keyword argument 'size' has no effect on mark_rule; received 3. Set stroke_width= instead; unknown keyword argument 'bogus'. Honored: [...]. After: each reason is a sentence of its own, as in mark_rule: keyword argument 'size' has no effect on mark_rule; received 3. Set stroke_width= instead. Unknown keyword argument 'bogus'. Honored: [...], and mark_point: keyword argument 'font_size' is not honored by mark_point; keyword argument 'interpolate' is not honored by mark_point. Honored: [...] now reads mark_point: keyword argument 'font_size' is not honored by mark_point. Keyword argument 'interpolate' is not honored by mark_point. Honored: [...]. A line with one reason is unchanged. ferrum._core.mark_size_reason(mark, size) publishes the size rule's reason clause with no call name, from the same source as the full refusal. A set (non-None) mark_swarm(size=) now goes through the same shared finite-positive-size validator every other mark method's size= uses: before, mark_swarm(size="big") raised a raw, unvoiced ValueError: could not convert string to float: 'big' and mark_swarm(size=True) was accepted and drew at diameter 1; after, every non-positive, non-finite, bool, str or other non-number value refuses as mark_swarm(size=...) (e.g. mark_swarm(size=...) must be a positive number; received 0), and a positive finite real number, including a numpy scalar, is unaffected.

  • A constant size= of 0 or below refuses on mark_line and mark_point (wave 7, #116). Both marks now refuse at the shared numeric kwarg check in MarkBase.__init__ that already refuses NaN, in that check's own voice: mark_line(size=...) must be a positive number; received -4 (and mark_point(size=...) must be a positive number; received 0). A positive constant size= is unaffected. Disclosed as a behaviour change on both marks: at the released version (v0.23.0), size= was inert on mark_line — line.rs never read it back, so mark_line(size=-4) and mark_line(size=0) rendered at the theme stroke width, like any unsized line — and mark_point(size=0) drew a r="0" dot with no diagnostic; both now raise instead of rendering (user ruling 2026-10-01). A hand-built wire spec reaches the same rule at render: mark_line refuses a constant size that is zero, negative or not finite, and mark_point one that is negative or not finite (zero stays legal on the wire, where an internal annotation carrier uses it), in the voice mark_point(size=...) must be a non-negative number; received -4, prefixed layer {i}: on a layered chart. Every other primitive mark refuses any constant size=; see the next bullet.

  • A constant size= refuses at construction on every primitive mark that does not draw it (wave 7, #116). size= used to be a universal mark kwarg: every one of the 13 primitives accepted it, but only mark_point and mark_line ever read it back — on the other eleven (mark_area, mark_bar, mark_rule, mark_text, mark_tick, mark_rect, mark_segment, mark_arc, mark_image, mark_geoshape, mark_label) it was accepted but inert. It now refuses with a typed ValueError naming the mark and the value received, and, where that mark has an analogous width/font kwarg of its own, pointing to it: mark_rule(size=...) has no effect on mark_rule; received 20. Set stroke_width= instead. (likewise stroke_width= for mark_segment, font_size= for mark_text/mark_label, band_size= for mark_tick/mark_rect); mark_area, mark_bar, mark_arc, mark_image, and mark_geoshape have no such analog and refuse with just the first sentence, e.g. mark_bar(size=...) has no effect on mark_bar; received 3. (user ruling 2026-10-02). mark_point, mark_line, and point's mark_circle/mark_square aliases are unaffected. A composite, statistical or diagnostic mark whose **mark_kwargs catch-all receives size= refuses it with the same voice when none of the marks it emits draws size (user ruling 2026-10-03): mark_density(size=5) raises mark_density(size=...) has no effect on mark_area; received 5. at render, the first point its emitted marks are known (likewise mark_histogram, mark_errorband, mark_errorbar, mark_violin, mark_hex, mark_contour, mark_raster, and every other composite with no point or line among its marks). Before, all of these accepted it and rendered byte-identically to no size=. A composite that emits a point or line keeps honoring it on those marks: mark_smooth(size=40) draws its fit line 2*sqrt(40/pi) px wide, and mark_qq/mark_boxen size their points. Where a composite takes a size= of its own it is a named parameter with its own meaning (e.g. mark_boxplot(size=)'s box-width fraction, mark_swarm(size=)'s dot diameter), consumed before the catch-all ever sees it.
  • A line that binds both size and stroke_width refuses (wave 7, #116). Before: stroke_width silently won and size was dropped (a constant size= was inert on lines anyway). After: since size now sets a line's width, a line layer that binds both, each as a field or a constant kwarg in any mix, raises ValueError from to_svg(), to_png(), save() and .interactive() (user ruling 2026-10-01): mark_line: size and stroke_width both set the line's width (size='v', stroke_width=3); bind only one. size= sets a dot-diameter width that can taper along the line; stroke_width= sets a width in pixels. A field renders as 'name', a constant as its number, a line's own size conditional as fm.when(...), and a layered chart prefixes layer {i}:. A line a composite mark or figure function emitted names that public call in place of mark_line: mark_smooth(ci=0.95, size=40, stroke_width=3) raises layer 1: mark_smooth: size and stroke_width both set the line's width (size=40, stroke_width=3); ..., and a composite that lowers to one unlayered mark names itself with no prefix, mark_smooth(size=40, stroke_width=3) raising mark_smooth: size and stroke_width both set .... The same holds after the chart is placed beside others by +, .layer(), fm.layer, an independent-y LayerChart or hconcat. Every figure function that draws a line names itself on every layer and every panel it draws: lmplot, regplot, residplot, relplot, displot, jointplot, pairplot, roc_chart, pr_chart, calibration_chart, gain_chart, lift_chart, discrimination_threshold_chart, pca_scree_chart, elbow_chart, cluster_diagnostics, pdp_chart, learning_curve_chart, validation_curve_chart, alpha_selection_chart, parallel_coordinates_chart and prediction_error_chart, so relplot(kind="line", mark={"size": 40, "stroke_width": 3}) raises relplot: size and stroke_width both set .... On the wire a layer a composite or figure function emitted carries an optional entry naming that call, and a chart that is one unlayered mark carries it at the top level (ChartSpec.entry); both are absent on what the caller declared, so those specs are unchanged, and the static and interactive output of every chart is unchanged. When such a flat chart is merged with others, its entry moves onto the one layer it contributes, so it never names another operand's layers. The theme's width never counts as bound. Only a line layer that binds both itself refuses: a + sibling's size binding never reaches another layer at all (bindings stay on the layer that declares them, per the layer-encoding model above), so mark_point().encode(size="v") + mark_line(stroke_width=3) draws sized dots and a 3 px line in either order, each from its own layer's own binding. A hand-built wire spec reaches the same refusal, since it is decided once in the line mark build.
  • A numeric category column now bands (#171). A mark_boxplot, mark_violin, mark_errorbar or mark_boxen on an integer, unsigned, float or boolean category column now draws boxes, violins and whiskers at band centres where it previously drew 8px rug-like stubs, and its axis draws one tick per category instead of quantitative ticks. Measured on a 3-category Int64 column: three box rects previously dropped entirely, and the axis carried 9 ticks instead of 3. Any such chart moves. catplot(native_scale=True) is unaffected and stays quantitative, and mark_tick is unaffected (it is a primitive: it bands on a declared-nominal channel at any dtype and stubs as a true rug on an undeclared numeric). mark_errorband stays untyped, because its x is a genuine value axis.
  • stat_letter_value's refusals change wording (#185). They now read "groupby column", the shared validator's wording, where they read "group column" before. The catplot test that pinned the old must be Utf8 refusal flips, re-reasoned rather than re-baselined: it now asserts that native_scale=False draws band geometry while native_scale=True completes without drawing any, since that path stays deliberately quantitative (filed as #328). Group columns previously refused (every integer, unsigned, float and boolean) now work; a temporal (Date32/Timestamp) group column still refuses.
  • Two Float64 stack partitions change, both toward the band ladder (#184). -0.0 and 0.0 now share a stack bin instead of stacking twice at one pixel, and a null category keys into its own band instead of merging into the real 0.0 bin. Utf8 stacks are byte-identical. The acceptance guard is re-reasoned rather than widened: it states the contract in the crate's own gate terms, with both directions live and a docstring saying why the old equality was too narrow.
  • A typed scale class with nice=True and no domain= now nices, so its ticks move (#153). Measured on the same data: ticks 1..9 became 0..10, and a first time tick of 2024-01-04 became 2023-12-28. Any chart written as LinearScale(nice=True), TimeScale(nice=True), LogScale(nice=True) or SymlogScale(nice=True) with a data-derived domain gets the niced domain it asked for. The explicit-domain case was never broken and is byte-stable. The migration test that documented the gap flips to assert the fix, which is what its own body asked for.
  • sort="-y" under CoordFlip now sorts by the value, not by the category (#95). Any flipped chart carrying a channel-shorthand sort= changes category order, and the double warning it used to emit becomes one. sort="-x" under flip — the spelling that accidentally worked, naming a channel the caller never authored the value on — changes meaning correspondingly. The sort=fm.SortField(...) object form is unaffected; it names a field and was always flip-invariant. The shape, stroke_dash and color categorical domains move the same way, so an axis and the aux legend beside it no longer answer "-y" differently.
  • A flipped chart with a chart-level y2/x2 places its marks on the axis drawn beside them (#113). Measured on a flipped mark_bar with a chart-level y2, the marks moved from a y scale spanning roughly 0..72.9 onto the 0..3 the axis ticks in the same file already read. Only flipped charts move; every unflipped chart is byte-identical.
  • A flipped area and a horizontal density close their fill on the correct edge (#172(2)). A CoordFlip'd mark_area previously closed on the panel bottom, producing very nearly the complement of the correct filled region; mark_density(orientation="horizontal") reached the same hard-code with no flip at all, where the near-zero tails degenerated the spurious region to a sliver. Both move. A producer-horizontal density under CoordFlip also moves, by 2.9px of sliver at the left edge, because the two flips must cancel and a disjunction let the flip's word stand alone.
  • A flipped ribbon draws where it previously rendered nothing (#172(3)). mark_ribbon under CoordFlip rendered silently empty, and mark_errorband, mark_smooth(ci=), the learning and validation curves and the QQ CI region all went band-less with it. All of those now draw. tests/test_phase_9_e2e/goldens/jointplot_kde_marginals.svg moved for this: its right marginal now closes flat on its own left edge.
  • A folded legend's swatches change glyph (#111). Where stroke_dash or shape shares its field with color, the surviving color legend's entries previously drew identical solid circles and now draw dashed line swatches or the encoded glyphs, so any such chart's legend geometry moves. Three adjacent behaviors change with it: a suppressed channel's explicit title= is now used instead of silently discarded (and a genuine two-title disagreement warns, with the color channel's winning); color=fm.Color(..., legend=None) with a same-field dash or shape now renders the aux block instead of erasing both; and a colorbar plus a categorical shape or dash now renders the aux block too, because the suppression gate asks whether the color legend enumerates the field rather than whether its scale is categorical. A chart binding color, shape and dash to one field draws the shape and warns that the pattern was dropped.
  • All output with hidden or non-Cartesian axis chrome changes geometry (#182, closing #94). .axis(show=False), fm.Axis(labels=False), and every polar chart gain the plot area their phantom gutters were holding: on a 640x480 chart with 16px padding, .axis(show=False) collapses to exactly (16, 16, 608, 448), where it previously reserved 23.729px per side of phantom title gutter plus a 14.046px phantom label band on y; a polar chart previously reserved 23.214px left and 43.039px bottom. This reverses a prior decision: tests/test_finding_p8.py (2026-08-27 batch) pinned this phantom as "the architecturally correct outcome" and asserted a polar panel's edge equals a single-axis chart's. Both tests are inverted with rewritten rationales, and the reversal is recorded for the campaign's decision-flip audit.
  • All jointplot and clustermap output changes geometry (#182 follow-on). A marginal or dendrogram now spans exactly the panel it annotates on the axis the two share. Five goldens moved (clustermap_basic, clustermap_row_col_dendrograms, jointplot_kde_hist, jointplot_kde_marginals, composite_figure_title/joint_figure_title), each regenerated and PNG-inspected against its pre-fix rasterization rather than judged alone. A declaration naming a nested composite cell warns (RenderWarning::ExtentAlignmentUnresolvable) instead of dropping silently, and a follower that keeps a legend of its own is still left unaligned rather than drawn across it.
  • Four layered-bar shapes move, and the scope is narrower than it sounds (#247A). Measured over a 25-shape SHA-256 corpus rendered both ways, what moves is a bar overlaid with another mark whose values extend beyond the bar's, which now shares one value axis with it: bar + point, that pair under CoordFlip, and two faceted layered bars. The moved renders are the ones whose marks agree with the shared value ladder drawn beside them. Byte-identical and explicitly not moved — do not read this as "layered bar output changes", which is measurably false for most layered bars: catplot(kind="bar") and its hue= and col= variants, catplot(kind="box"), every displot(kind="hist") and mark_histogram shape, every non-layered bar, point + bar, plain fm.layer(...), resolve={"y": "independent"}, and bar + line on one frame with one value column (its union equals the bar's own extent). catplot is exempt by mechanism rather than by luck: its chart-level mark is a placeholder point with no injected scale, so the new gate has nothing to act on. Golden coverage is deliberately not claimed to be uniform: three secondary_y_axis goldens do carry the changed shape but are stable by mechanism, since the union skips an independent-y layer on y and reduces to the bar's own zero-anchored extent — now pinned so a break in that skip fails with an explanation rather than silently — and for the shared-y sub-shape no golden exists, so zero movement there is silence and tests/test_layer_union_provenance.py is the only coverage.
  • A phantom null band disappears, so the remaining bands widen (#247B). Any chart whose positional ordinal column carries unoccupied nulls — including every cross-DataFrame layered chart, where the merge manufactures them — loses that band and one axis label, and its real bands widen accordingly. A genuine null category carrying a real value keeps its own band, unlayered and inside a merge, so a null group and a real 0/false/"" group remain two categories. Null-free columns are byte-identical.
  • A layered chart may now draw marks it previously dropped (the ordinal union, user ruling). Chart({cat: [a, b, c]}) + Chart({cat: [x, y, z]}) drew three marks for six rows and now draws six, with six bands ordered by first appearance in layer order. Users will see output change without changing code: band positions and widths move on any layered chart whose layers do not carry identical categories, and axis labels gain the categories that were missing. A layered chart whose layers share identical categories is byte-identical (16 of 16 shapes measured against a real rebuild, with a negative control proving the two builds otherwise differ). The explicit-scale ordinal path is deliberately unchanged.
  • A per-layer coord is honored, and one that cannot be placed refuses (#172(1)). fm.layer(bar, point_chart.coord(fm.CoordFlip())) previously dropped the secondary flip silently and rendered the layer unflipped; it now renders flipped. fm.layer(bar, arc_chart.coord(fm.CoordPolar(theta="x"))).interactive() previously raised and now renders. A per-layer coord declaring a panel property (xlim=/ylim=, expand=False, clip=False, CoordFixed(ratio=)) now refuses with a typed ValueError naming the layer, the coord and the property on the three merged-flat routes — while still rendering on the static shared-y route, where each member is its own composite leaf and nothing is dropped. That asymmetry is deliberate: refusing there would regress a working composition.
  • Breaking, and a correction to the two entries above: a member's coord on a CATEGORICAL axis (#172(1), completed after the wave's closing review). The two entries above describe what shipped for continuous axes. On an ordinal/band axis the member's marks were still silently dropped, because a band ladder is built by a different mechanism than a numeric extent (positional_category_union, not numeric_domain_union) and only the numeric one had been taught to read each layer's own effective coord. Two distinct shapes were affected and they resolve differently. Where the member binds its own columns — a cross-frame merge, whose columns the merge renames — the ladder was enumerated from the member's value column instead of its categories (measured: ['a','b','c','40','50','60'], three phantom bands stealing width from the real categories) and the member drew 0 of 3 marks; it now contributes its post-flip categories and draws all of them, on all three merged-flat routes. Where the member binds the same columns as the first member, the exchange asks the panel's quantitative y to hold a categorical column, which one merged panel cannot do: that now refuses with the typed ValueError quoted in the feature entry above, on static chart + chart and .interactive(). Previously it rendered a chart with that member's marks simply absent, no error and no warning — while the identical caller mistake spelled fm.CoordFixed refused loudly. resolve={"y": "independent"} renders it, because a member with its own y slot genuinely can be held. The static shared-y route (fm.layer(...).to_svg()) also rendered it, drawing the member against an unlabelled categorical scale; since the user ruling of 2026-10-01 it refuses with the same LayerCoordUnplaceable text as + and .interactive() (wave 6C).
  • Breaking: CoordFlip composed with an explicit Stack(value_axis=) (wave-5 closing review). The declaration is a statement about the series as authored and the flip transforms it afterwards, so the two compose: a declared axis moves with the flip rather than answering over it. mark_histogram(bins=3, orientation="horizontal", multiple="stack").coord(fm.CoordFlip()) previously drew nine rects, four of them sharing one y/height with overlapping widths — the bin-start column was cumulated and the count column used as the bin key — and now draws the same three rects as its vertical twin, pixel for pixel. A caller-written Stack(value_axis="y") under CoordFlip previously raised Stack: x must be a numeric dtype ...; got Utf8 and now renders identically to the undeclared spelling of the same request. Unflipped charts and every chart with no explicit value_axis (which is every shape the library itself emits outside orientation="horizontal") are byte-identical; no golden moved. One deliberate widening comes with it, because the per-layer polar remap reads the layer's effective coord and so also repairs the inherited case: fm.layer(arc_polar, arc_polar) drew nothing at all before, with no merge involved, and now draws — which inverts tests/test_finding_p1.py's pin and moves ferrum-spec.md §3.2. The Chart + Chart merge warning narrows from "secondary layer's theme/facet/coord is ignored" to "theme/facet", since the coord is no longer ignored. The mark_arc/mark_geoshape refusal messages also stop prescribing a fix: "mark_arc requires a Polar coord; add .coord(fm.CoordPolar(...))" became "mark_arc requires a Polar coord", because the prescription was false on exactly the path that mattered — the merged-flat layer reached it with the prescribed call already written and dropped.
  • fm.SelectionMark(stroke_dash="wiggly") now refuses (#124). It constructed silently before, accepting anything. All four stroke_dash= surfaces now normalize through one helper and refuse junk by naming the entry the caller invoked. This reverses a shipped, reviewed decision (f8148bdc, batch A T9), whose two tests pinned the named linetypes as belonging to linetype= only; #124 was filed by that batch's own final design review on the same day, dissenting. Both tests are inverted with rewritten rationales citing that commit, and the reversal is recorded for the campaign's decision-flip audit. No value that was accepted before renders differently.
  • A channel's title= now reaches every legend (#90). fm.Color("species", type="N", title="Species") previously rendered a legend headed species; it now renders Species. This moves any chart that set title= on a legend-bearing channel — and because a legend's title contributes to its measured width, the plot rect moves with it. The swatch legend, both colorbars, the conditional legend, the facet band and every auxiliary block share one resolver, so they move together. A chart that never set title= keeps the field name and is unaffected.
  • hue=fm.Color("col") with no type= is now categorical (#130). It previously fell through to a continuous color scale while the bare string hue="col" on the same column got a discriminating palette. Any figure-level call passing an untyped Color on hue= changes palette. hue="col" and an explicitly typed fm.Color("col", type="Q") are unaffected.
  • pr_chart(iso_lines=True)'s reference curves change color (#121). They rendered in theme blue at opacity=0.6 — the line mark's stroke fallback, reached because the _iso_f grouping key was bound to a color scale keyed on class and every lookup missed — and now render in the #AAAAAA the layer had declared all along. Any pr_chart with iso_lines=True moves.
  • catplot(kind="count", encode={"x": ...}) now aggregates the column its axis binds (#192). Alongside the channel-object fix, this closes a latent second defect on the same line: an encode={"x": fm.X("other_col")} override on kind="count" previously counted the column named by the original x=/y= keyword while the axis rendered other_col, so the bars and their axis disagreed about what was being counted. Measured on the pinning fixture, the override now yields 2 bars (one per grp value) where it previously yielded 4 (one per cat value). The bare-string path with no encode= override is byte-identical.
  • displot(kind="ecdf", hue=...) renders curves where it could not before (#200). Any call combining kind="ecdf" with hue= changes from a chart naming a column the transform had discarded to one curve per class. The no-hue path is byte-identical.
  • Six public-API behavior changes from the bins= vocabulary (#193). (1) Bin(bins=) is a new keyword-only parameter. (2) mark_histogram(bins=) / desugar_histogram(bins=) likewise. (3) ferrum._core.validate_bin_rule(bins, ctx) is new. (4) repr(Bin("x", bins="fd")) gains a trailing , bins='freedman_diaconis'; every other mode's repr is byte-identical. (5) Bin2D(bins_x=)/bins_y= and Kde(count_scale=) now refuse bool, non-positive and out-of-range integers, and non-positive/non-finite floats at construction, inherited from hardening the shared parser — these two doors already spoke this vocabulary and were never the subject of the issue, but they gain refusals they did not have, each naming itself (Bin2D: bins must not be a bool (True); …, and the same messages prefixed stat_kde for Kde). Valid values are unaffected. (6) bins= is validated for every kind, so displot(kind="kde", bins="auto") and displot(kind="rug", bins="auto") now RAISE where bins= was previously inert on those kinds — the direction matches the stat= precedent, which validates for every kind too, but the bins= docstring scopes itself to kind="hist" and kind="ecdf", so the validation's reach is discoverable only from the unconditional Raises entry. A valid bins= on those kinds is still accepted and still inert. Separately, on the hist/ecdf kinds themselves, every previously-silent spelling now either bins the way it says or refuses: "fd"/"freedman_diaconis" and a float bin width now take effect instead of falling back to Sturges; "auto", "scott", "sqrt", "rice", "doane", "stone", "FD" and "fd " refuse with displot: unknown bins value 'auto'; expected 'sturges'|'fd'|int|float (no case or whitespace coercion — the vocabulary is closed); True/False refuse before the integer arm instead of rendering a 1-bin histogram; 0, -3 and 10**30 refuse with displot: bins as an int must be a bin count >= 1 within machine range; got 0 instead of raising in Bin's name or leaking an OverflowError; and 0.0, -0.5, nan, inf and any non-str/int/float type refuse by name. Code that passed an unsupported string and silently accepted Sturges will now raise.
  • displot(multiple="stack"/"fill") geometry moves (#194). Every grouped displot histogram in these two modes re-bins: each group previously binned over its own data range, so the groups' bars had different widths and no shared edges and nothing actually stacked. The displot_stacked_hist golden's y-axis moves from topping out at 11 (overlapping bars at two different widths) to 19 (10 + 9, genuinely stacked on shared edges). multiple="layer", multiple="dodge", the no-hue "stack" path and kind="kde" are byte-identical. catplot(hue=fm.Color(...), dodge=True) also stops raising TypeError: Object of type Color is not JSON serializable.
  • A layer's style is its own (wave 6B, #119). A layered chart no longer emits a chart-level mark_style, and Rust no longer falls back from a layer's absent style to the chart's — the batch-A note above already stopped this for fill/stroke; this closes it for the other 24 fields (opacity, size, corner_radius, stroke_width, stroke_dash, font_size, font_weight, align, baseline, dx, dy, angle, interpolate, stroke_cap, stroke_join, filled, shape, limit, band_size, line, borders, leader_line, arrow, arrow_size), so a kwarg-less sibling layer no longer inherits any of layer 0's non-paint style either. Six shapes, measured: mark_point(opacity=0.3, stroke_width=5) + mark_line() now draws the line at full opacity and the default 1.5px width, not translucent and 5px; mark_function(f, clip=False) + mark_point() no longer lets the points escape the panel clip; mark_line().encode(detail="g") + mark_line() no longer splits the second layer by the first layer's grouping column (reversed by the wave-6B close: detail is an encoding shared like color, see Fixed); mark_density(orientation="horizontal") + mark_area() no longer forces the second layer to close on the first layer's baseline; mark_point(opacity=.3, stroke_dash=[4,2]).mark_smooth()'s fit line now renders at default style, not translucent and dashed; and a LayerChart now renders identically on .interactive() and to_svg() (the static overlay tree already had this rule; the interactive merged-flat path did not). A hand-built layered ChartSpec that sets a chart-level mark_style now has nothing to apply it to — Python's to_spec() no longer emits a top-level mark_style on any layered spec it produces, and Rust's per-layer preparation reads a layer's own mark_style only, so MarkKwargsSpec::without_paint and its Rust-side fallback are deleted outright rather than left as a dead paint-only rule. Flat (no-layers) charts, a layer that sets its own kwargs, and a kwarg-less LHS are all unaffected.
  • residplot's y-axis title changes on every default call (#199). It read residual — the transform's own output column — and now reads "<y> residual", e.g. tip residual. Nothing else on the chart names the response being residualized, and the spec's contract for this family is the caller's own column names. This is a single <text> node change at identical coordinates; layout is unchanged. It is the one golden this moves (residplot_lowess.svg). Alongside it, lmplot(scatter=False), regplot(scatter=False) and a standalone Chart(df).mark_smooth(...) all change their axis titles from ci_lower/x to the caller's own columns — 33 of the 40 measured scatter=False cells move — and line_kws starts taking effect on 28 cells where it was silently discarded, so a call that passed line_kws and saw no change will now see the styling it asked for.
  • layer_kwargs= outranks **mark_kwargs on the layer it names (#199). A composite mark's bare style kwargs reach every layer it emits, including the CI band; layer_kwargs={"line": {...}} aims at one sub-layer. When both name the same key the narrower one wins, per key rather than per call: measured, mark_smooth(ci=0.95, stroke="#0000ff", layer_kwargs={"line": {"stroke": "#ff0000"}}) draws the fit line #ff0000 while the CI band keeps the #0000ff-derived fill — the catch-all still applies wherever nothing narrower was said, so a stroke_width= passed broadly alongside a layer_kwargs stroke= reaches the line too. Both the parameter and this ordering are introduced by this same change, so nothing released depended on the previous behavior; the pre-existing rule that a catch-all beats a desugar's own built-in default (which is what lets mark_boxplot(opacity=0.8) beat a ribbon's opacity=0.3) is unchanged and re-measured. Note for anyone tracking this wave's unreleased commits: an earlier commit in the same wave added this capability as mark_smooth(line_kwargs=), a slot on one layer of one mark. It was reshaped before release into the general, catalog-keyed door described here; line_kwargs= never shipped and is not accepted — mark_smooth(line_kwargs=...) now raises TypeError: mark_smooth: unknown keyword argument 'line_kwargs'. Spell it layer_kwargs={"line": {...}}.
  • A drawing layer that cannot reach both positional channels now refuses (#201-D), closing twelve silent drops that predate this campaign. The new typed ValueError fires when a layer paints, its mark needs both axes, and the channel it is missing is bound neither on its own encoding nor on the chart encoding it inherits — reaching it only through the new layer-binding fallback is not enough, because that fallback yields a scale, not a plottable field: layer 0: mark_point needs both positional channels, but no 'y' encoding reaches it — a sibling layer binds 'y', which resolves the axis but leaves mark_point with nothing to plot. Encode 'y' on this layer, or on the chart, to draw it. The guard runs after generic x/y resolution, so a channel bound nowhere at all keeps raising the existing channel-level error. Measured by an exhaustive sweep of all 144 ordered two-layer pairs over {point, line, tick, rule} × {x}, {y}, {x,y}, composed through the public + API and rendered: the pre-wave tree rendered 84, refused 48 and silently dropped 12 — tick{x} + point{x} and rule{y} + point{y} among them — while the shipped tree renders 88, refuses 56 and drops 0. The transition census over the same 144 is rendered→rendered 84, refused→refused 48, dropped→refused 8, dropped→rendered 4, and zero compositions that the pre-wave tree rendered correctly are now refused. Four shapes that used to drop a layer now render correctly; eight become typed refusals, so a composition that silently lost a mark will now say so. The sweep ships as a test (tests/test_single_axis_eligibility.py), so the class stays closed by construction rather than by a list of remembered examples — but note what that test asserts: the zero-drop property alone — every one of the 144 pairs either refuses or draws its full complement of marks, counted for all four mark kinds inside the marks group — not the 88/56 split and not the transition census. The shipped 0 re-runs on any checkout; the pre-wave 84/48/12 row and the census come from runs against reverted builds and cannot be reproduced from this tree. Scope bound: this closure claim covers the 4-mark × 3-channel × 2-layer space it enumerates — 3-plus-layer stacks, other marks, and polar compositions are outside it. Separately, a (tick + line) layering's y geometry moves: the curve was placed on a fabricated 0…1 axis and is now placed on its own data's scale (measured polyline y extent (368.316, 416.911) → (24.0, 412.961) on a 480px canvas).
  • displot(x=..., kind="rug", kde=True) renders instead of raising, with a titled density axis (#201-B). The composition previously raised encoding 'y' expected EncodingSpec, got None. Its density axis is now titled density, matching what displot(kind="kde") already titles the same axis. Any code catching that ValueError to detect an unsupported composition needs updating.
  • displot(multiple="dodge") renders different geometry (close remediation). Each hue group used to bin over its own data range, so the groups' bars shared no x positions and were not even the same width — two histograms wearing a dodge's name. Measured before on a two-group frame: 9 bars of one width against 10 of another, zero shared x positions. Measured after, on 200 rows in two groups at bins=10: both groups draw 10 bars of equal width 22.57 px on one grid of step 50.16 px, offset from each other by exactly one slot (22.57 px), with no overlapping pairs and the two slots plus their padding spanning the band. Any existing chart using multiple="dodge" will look different, correctly so. No golden exercises this path, so none moved.
  • Every dodged span mark subdivides its band (close remediation, R6) — the widest-radius change in this batch. Any chart whose band axis carries a paired channel (x+x2 / y+y2) under Dodge now draws sub-slots instead of offset full-width spans, not only displot. Two behaviors change beyond the widths: a bar that was silently dropped now renders (a negative slot offset pushed the leftmost bin start below the resolved x-domain, where the unclamped linear scale returns NaN, the pixel resolved to None, and the builder skipped the row — a missing bar, not a mis-sized one); and a one-bin dodged histogram now dodges instead of overlapping, because the single-band bail that exists for an undefined median-spacing proxy no longer applies to span rows, which know their interval from the row itself. Null endpoints are preserved on the span path rather than coerced to 0.0, since a row with a null endpoint is skipped by the drawer today and would otherwise have started drawing a rect back to the axis origin. A downstream chart built on the old overlapping geometry will look different — correctly so. No golden moved and the full suite is green.
  • A new UserWarning on an all-zero-extent bar batch (close remediation, R1). SVG bytes are unchanged in every case, so nothing renders differently — but code running under -W error will now raise where it previously got a silent blank panel. The concrete case is importance_chart with all-zero importances; see the detailed bullet under Fixed for the measured message and the quiet control.
  • displot(kind="rug", y=..., kde=True) now refuses (close remediation, A2). It previously rendered a bare vertical rug and silently dropped the KDE overlay the caller asked for. It now raises: displot(kind='rug', y='v', kde=True) is not supported -- the kde= overlay is drawn against the variable x= names, and this call binds y= instead, so the overlay has no variable to read. Pass x='v' (kind='rug' draws the same ticks from x= or y=), or drop kde=. Refusal rather than a warning because the overlay is not an ignored knob but a whole requested mark with nowhere to stand — there is no partially-honored reading of it, and a warning would leave a saved file missing the feature it was asked for. A previously-accepted call now raises; the y-oriented density curve that would make it render is an orientation feature, filed rather than built. A superseded "Known limit" sentence in the #201-B spec note, which described the old silent drop, was corrected in place.
  • residplot accepts an encoding object for x=/y= (close remediation, B6). A widened public surface at a second entry, deliberately, to match lmplot and the rest of the family. It also closes a latent title defect the untyped error was masking: residplot built its axis titles from the raw parameter, so y=None would have rendered the title "None residual" and a channel object an object repr, unreachable only because polars raised first. lmplot(x=None) / residplot(y=None) now refuse by name — lmplot(x=None): x names the column to fit and has no default. Pass a column name, or an encoding object wrapping one. — and lmplot(logx=True, x=<channel with its own scale=>) refuses the contradiction rather than silently picking one: two instructions for one x scale. Keep your scale= and drop logx=True, or pass x as a column name and let logx set the log scale.
  • An empty group-bin no longer emits an invisible zero-height rect (T10b). All four SceneNode::Rect push sites in the bar renderer now skip a row whose computed width or height is exactly 0.0. The rendered picture is unchanged — a zero-extent rect painted nothing — but the element is gone from the document, so code that counts <rect> elements sees one fewer per empty group-bin. Concretely, a grouped or stacked histogram with an empty cell used to emit <rect x="65.31" y="392.489" width="76.534" height="0" fill="#dc2626"/> for the bin where one group has no rows; the displot_stacked_hist golden drops from 14 rects to 13. This is disclosed because it is not hypothetical: two tests in other modules had to be re-expressed against it — one Rust case in the bar renderer that asserted the zero-extent rect existed (its own doc comment had always said "renders nothing"), and tests/test_bug_hunt_stack_value_axis.py::test_horizontal_stacked_histogram_auto_domain_tiles_along_x, which failed with expected 6 bar segments (3 bins x 2 groups); got 5 and now counts drawn segments against a data-derived expectation. Downstream code asserting rect counts on grouped bars may be affected the same way. The check is exact-zero rather than epsilon deliberately: these extents are always (a - b).abs() or .max(0.0) over two scale-lookup pixel values, so an empty-group zero is exactly 0.0 to the bit, and an epsilon would also swallow a genuinely tiny-but-nonzero bar.
  • One target-hygiene contract for corrupted classification targets (#203, #206). Nulls refuse typed on the seven ModelSource classification methods and the eight precomputed ones, replacing an unowned TypeError on string targets, silence on numeric ones, and a NaT rendered as its own class on temporal ones; stray out-of-domain values now warn, naming what becomes of the rows (absorbed as negative on a curve, dropped from the matrix on a confusion matrix); cumulative_gain/lift_curve and zero-match multiclass join the total-mismatch refusal. The model-backed classification_report_chart / ClassificationReportVisualizer — the one classification surface #203 left outside the contract — now refuses a null-bearing y in the same typed voice instead of leaking scikit-learn's own error (#206), narrowly: the null cell, plus its own total-mismatch cell added in a later fix cycle (see below) — sklearn's own classification_report resolves its class union directly rather than through the stray-value check the other twelve methods run. class_balance_chart stays outside the contract entirely, since it counts y alone with no model to disagree with. Clean targets are unaffected and no golden moved. See the detailed bullet under Fixed for the measured before/after on each cell.
  • classification_report_chart's model path now renders correct numbers for a dtype-mismatched target, and both paths share one class-axis order (#206, #224a). The model path (chart builder and ClassificationReportVisualizer._materialize) now translates model.predict's output into y's domain through the same classes_↔encode_values correspondence the batch-G confusion fix built, before calling sklearn — a Utf8/Categorical/Enum y fit against an int-coded classes_ previously made y_true and the untranslated predictions disagree on type, and sklearn's own unique_labels raised ValueError: Mix of label input types (string and number) before any metric was computed; a numeric y is byte-identical. class_prediction_error_chart needed no change — it consumes ModelSource.confusion_matrix() wholesale and was already correct by transitivity, verified with a cloned dtype-matrix regression pin. A model exposing no classes_ at all still hands sklearn model.predict's raw output, since there is no positional correspondence to translate through, so a non-numeric y against such a model's numeric predictions can still surface the same untyped sklearn error — a narrower, disclosed instance of #206's own failure family, not closed by this fix. When classes_ IS present, a total mismatch between the model's translated classes_ and y (different labels entirely, not merely different dtypes — e.g. classes_ = [0, 1, 2] against y = ["c0", "c1", "c2"]) now refuses instead of rendering an 18-row, every-metric-0.0 report in silence; before #206's translation existed this same shape raised sklearn's own loud Mix of label input types error, so this closes a gap #206 itself introduced for this adjacent shape (fix cycle 5, 2026-09-13). A partial overlap still renders, and so does a model that simply predicts none of the classes y holds on the slice being reported — the check reads the class vocabulary, not the realized predictions. Separately, both classification_report_chart paths now order the class axis by sklearn's unique_labels convention (the raw values' own ascending order); the precomputed path's sorted(..., key=str) rule — sorting the confusion matrix's already-stringified labels — retires for this figure specifically (and, in the close remediation, on confusion_matrix_chart as well — see the "One class axis for the whole label-domain family" Breaking bullet). This moves the rendered class-axis order for any precomputed classification_report_chart call whose numeric class labels have unequal digit counts, two classes included: measured, {2, 10} moves from 10, 2 to 2, 10 and a 12-class target from 0, 1, 10, 11, 2, 3, 4, 5, 6, 7, 8, 9 to 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, matching the model path. Equal-digit-count numeric labels and any non-numeric target are unaffected; no golden exercises this path (no classification_report golden exists). The label derivation is now total by partition (_curve_frames.report_labels): a null in either array, a mix of ordering families, and a homogeneous family that cannot serve as a class label (unorderable, or orderable-but-unhashable) each refuse with their own typed message, and four shapes that previously rendered — a mixed int/string union, a null-bearing y_pred, complex labels, and list/set/bytearray labels — now refuse; y_true's own shape also gets the 1-D check y_pred already had. See the Breaking bullet above for the measured before/after; the confusion_matrix_chart asymmetry it describes was subsequently closed by the close remediation ("One class axis for the whole label-domain family"). The documented-divergence test is flipped to assert identity, including at the rendered SVG's y-axis tick order.
  • discrimination_threshold_chart(compare=) renders small multiples, not a pooled panel (#213). The only classification-curve chart that composes rather than overlaying by color="model": its colour channel is already spent on the four-metric legend, so N overlaid models have no free channel left to separate them. Callers holding the return value now get a ConcatChart (one titled panel per model) where they previously got a Chart; the annotated numbers move with it, since each panel's F1 optimum and threshold_line are that model's own instead of a single pooled arg_max. This also settles a contradiction the visualizer carried in the open: DiscriminationThresholdVisualizer(GaussianNB, compare={"rival": logistic}) reprs best_threshold=0.5263, best_f1=0.8865 (its base model, restricted since batch G) while rendering max F1 = 0.918 @ t=0.42 — the rival's number. The "base" panel now annotates exactly the pair the repr prints. See the detailed bullet under Fixed for the measured row-count and label before/after. No compare= golden existed to move, and no test anywhere exercised this call — that absence is why the defect survived; a compare golden and seven pins now cover it.
  • Group ordering flip. stat_aggregate, stat_summary, stat_box_stats, stat_error_extent, stat_violin, data_pivot, data_aggregate, and data_density now emit groups in first-appearance order instead of sorted order — this moves the category-axis order, the legend order, and therefore palette assignment for any groupby column that doesn't already arrive pre-sorted. Two goldens moved as a pure element-reorder (byte-length-identical, PNG-blessed); every other fixture in the corpus was unaffected.
  • Null groupby keys drop out, not pool. For the same eight transforms, a null-keyed row now belongs to no group (with a named warning when the whole groupby column is null) instead of being pooled into its own group. Three exemptions keep their prior pooled/whole-column behavior and gain the same warning instead of dropping rows: Impute (whole-column fallback), Smooth/Robust (pooled whole-batch fit), and the row-preserving DataStack/JoinAggregate/DataWindow family.
  • mark_point(shape=) now reads Int64/Float64/Boolean columns. Previously any non-string dtype silently default-circled every row while the legend still enumerated every category; the reader now resolves real per-row shapes, matching what color already does.
  • catplot(hue=fm.Color(...), hue_order=[...]) composes. Previously this combination raised TypeError on every one of catplot's eight kinds.
  • Composite-mark charts built via + (mark_qq, mark_violin, mark_boxplot, …) now compose correctly in either operand order; previously only one order rendered correctly for some of these shapes.
  • A large family of previously-silent accepts now raise typed errors instead: repeated/colliding groupby names across the whole partitioning family and the three dict-emitting transform wrappers; a length-mismatched scale= domain/range; unparseable config-surface colors and color-range entries; a mismatched time-format-on-non-temporal-scale; a malformed BreakAxis gap (construction and wire); a non-positive Facet wrap count; an unhonored mark kwarg; a malformed precomputed-diagnostic input shape; an X-less rank1d/rank2d estimator on every algorithm; and an unrecognized cmap=/scheme= name at desugar time.
  • BreakAxis's pixel model is corrected (#226). Segments now tile the scale's own padded pixel range, and tick labels translate rigidly on their own tick's anchor; every effective break shifts back onto the unbroken chart's own pixels (five goldens re-blessed).
  • BreakAxis annotation clipping is stratified (#228). An extent annotation now clips into visible pieces instead of being suppressed whole; only ann.bracket still suppresses whole, by permanent contract.
  • pandas.NaT/numpy.datetime64("NaT") now refuse by name at every Python temporal seam (break gaps, TimeScale dict domains, annotation coordinates), where a NaT previously became a NaN that either reached the wire or failed later with an untyped diagnostic.
  • Nine BreakAxis residuals close (#230). Same-axis specs now merge into one break result and a hidden mark can never be clamped back into view; a vertex-placed mark (line/rule/segment/area border) splits per segment instead of spiking across a gap; a split rounded piece squares its cut edge; a glyph's hide test uses its exact data anchor; a keyed split piece's key suffixes instead of duplicating; BreakAxis now applies to every facet panel, not only panel 0; a chart combining CoordPolar/CoordGeo with a BreakAxis now raises ValueError instead of silently corrupting geometry; and gap= bounds now accept temporal values.
  • ModelSource.embeddings(method="tsne")'s default perplexity adapts to n_samples (#222, N4). Previously the unmodified default (30) forwarded unclamped to manifolds-rs and refused for every n_samples <= 31; it now resolves to min(30, n_samples - 2) and renders. An explicit out-of-range/non-positive/non-finite perplexity= refuses typed naming perplexity, n_samples, and the bound instead of leaking manifolds-rs's "kNN size" message or, for a negative/NaN value, panicking the PyO3 boundary. An unknown method_kwargs key now refuses by name per method instead of being silently ignored.
  • Multiclass partial_dependence frames gain rows and a column (#209). Every ModelSource.partial_dependence() frame now carries class_label; on a multi-class classifier it also carries K times the rows (measured: 20 → 60 for 3 classes × 2 features × 10 grid points on kind="average"), because every class's curve is now returned instead of class 0's alone. Code that consumed the frame positionally or assumed one row per (feature, grid point) sees the extra rows; regression and binary frames are unchanged apart from the added column.
  • shap_values() numbers a multi-output regressor's outputs (#209). The shared class_label owner now labels a classes_-less multi-output model target_0 ... target_{n-1} instead of repeating "target", so shap_beeswarm_chart/shap_bar_chart/shap_waterfall_chart stop pooling two unrelated outputs under per_class=False and start faceting per output under per_class=True. Measured: shap_bar_chart's abs_mean_shap moved a 1.181774 → 2.011961 and b 1.626124 → 0.268149 on a 2-output random forest, flipping the top-ranked feature. Single-output regressors and classifiers are unaffected. See the detailed bullet under Fixed.
  • A multi-chunk pyarrow.Table computes over all its rows, not just the first chunk (N1). rank1d_chart/rank2d_chart/Rank1DVisualizer/Rank2DVisualizer previously took X.to_batches()[0], silently truncating any chunked Table; every raw-data score now matches the ModelSource path and a single-chunk Table of the same data. Measured: a 200-row fixture in two 100-row chunks moved column b's variance score from 1.169347 (100 rows) to 1.018316 (200 rows). Covariance on a chunked Table no longer refuses with a misleading "y length must match X row count"; an empty 2-column Table no longer returns zero features.
  • An explicit mark_discrimination_threshold(optimum_label=True)/(threshold_line=True) refuses on an f1-less metrics= (#189). Previously vanished silently (no rule, no label, no error); now raises ValueError naming the flag and metrics=. The un-passed default keeps silently downgrading, at every entry point (mark_discrimination_threshold, discrimination_threshold_chart, DiscriminationThresholdVisualizer) — only a genuinely explicit True somewhere in the call chain is affected.
  • The diagnostics source cache can never return the wrong frame (#224b, N5). BaseSource._cache_key normalizes ndarray/list/tuple kwargs centrally (content-preserving, no rounding/truncation, and numeric-kind-preserving — an int-valued and an equal-valued float-valued array-like key differently) instead of falling back to repr(); a value still unhashable after normalization is never cached — every call recomputes fresh, and is never stored under its one-off key either, so a reused unhashable value does not grow the cache. Closes four measured collisions: a custom cv splitter's address-reuse (discrimination_threshold), numpy-repr rounding/truncation (learning_curve(train_sizes=)), shap_values(background=...)'s str(...)[:64] truncation, and an int-vs-float train_sizes array (learning_curve) that Python's cross-type numeric equality would otherwise collide despite sklearn treating the two as different requests. validation_curve's now-redundant local normalization collapses onto the central one.
  • One metric surface on roc_chart/pr_chart/calibration_chart (#219, D4). annotate_auc/annotate_ap/annotate_brier now drive exactly one surface, the per-curve endpoint overlay — the chart title's metric suffix and the legend's (METRIC = x) rename both retire, so annotate_*=False really means no metric anywhere instead of leaving it in the title regardless. No metric value changes, only how many times each is printed; eleven phase-10 goldens moved. mark_roc/mark_pr's direct-annotation path is unaffected. Two further contract changes ship with it: re-applying a metric label (chart + fm.AUCLabel()) now replaces the existing label instead of overstriking it, and + BrierLabel() on a frame with no brier column now refuses instead of silently showing a bin-level statistic under the Brier = label. See the detailed bullets under Fixed for the measured before/after.
  • One class axis for the whole label-domain family (close remediation cycle 2, finding A). confusion_matrix_chart and class_prediction_error_chart on precomputed y_true=/y_pred= arrays derive their class axis from the same partition classification_report_chart uses, retiring sorted(..., key=str). Two moves: a mixed-family union (and complex, list, set, bytearray labels) now refuses where it rendered — measured, y_true=[0,1,0,1] against y_pred=["0","1","0","1"] drew four superimposed text nodes per cell over a 16-row frame holding only 4 distinct cell keys — and numeric class labels order by value, not by digit count ({1, 2, 10}: ['1','10','2'] → ['1','2','10']), matching the model path and the report. String-labelled matrices are unchanged; no golden moved. See the detailed bullet under Fixed.
  • classification_report_chart's model path refuses null-bearing predictions (close remediation cycle 2). Previously leaked scikit-learn's ValueError: Classification metrics can't handle a mix of binary and unknown targets; now refuses in the target-hygiene contract's own voice, as its two confusion siblings already did. See the detailed bullet under Fixed.
  • The confusion family answers what the report family answers (close remediation, finding 2). A null y_pred refuses on confusion_matrix_chart/class_prediction_error_chart (both source paths) instead of rendering a 'None'/'nan' class of its own; a model whose classes_, translated into y's domain, share nothing with y refuses instead of rendering all-zero cells behind a 100%-dropped warning; and ModelSource.confusion_matrix's no-classes_ branch refuses a mixed or unkeyable label union by name instead of leaking TypeError from inside ferrum. Malformed inputs only — clean targets are byte-identical and no golden moved. The precomputed confusion matrix's own sorted(..., key=str) class order (and its acceptance of a mixed union) was subsequently retired as well — see the "One class axis for the whole label-domain family" bullet above for that move. See the detailed bullet under Fixed.
  • Diagnostic error and warning text names the entry you called (close remediation, finding 4). On the model path, target-hygiene refusals and warnings raised through a figure function or a visualizer now carry that entry's name (roc_chart:, ROCVisualizer:, class_prediction_error_chart:) instead of the source method's (roc_curve:, confusion_matrix:); a direct ModelSource.roc_curve() call is unchanged. Message text only: no number, frame, or geometry moves. Code matching on the old prefixes needs updating. See the detailed bullet under Fixed.
  • discrimination_threshold(cv=<int>) switches to an unshuffled StratifiedKFold (#211, N2, N3). Replaces the hand-rolled shuffled KFold that made the "discrimination_threshold ignores random_state" spec claim false; the new splitter has no seed, restoring that claim (and DiscriminationThresholdVisualizer's matching one) to true. Every integer-cv= call's averaged numbers move; a user-supplied splitter's .split() now receives y, so a stratified splitter works instead of raising TypeError; a train fold left with one class now warns by name before the eventual sklearn fit error. See the detailed bullet under Fixed for the measured column-sum before/after.
  • A hand-built chart_config naming a third break axis refuses instead of breaking the x axis (wave 6A, #229(2)). BreakAxis.axis is now typed end to end in Rust, so a structural[] item's axis key accepts exactly "x" and "y"; any other token raises a typed ValueError reading, verbatim, chart config: structural[0] (break_axis).axis: axis must be one of ['x', 'y']; got 'z', where it previously deserialized as a plain string and rendered as an x break with no diagnostic. It refuses at the same array-item value gate as the sibling gaps checks, so it names the item and its index and matches fm.BreakAxis's own construction-time wording, and it covers both spellings serde accepts for a unit variant ("y" and {"y": null}) — for the map form over every key type json.dumps coerces, so a bool, None, float or int key is refused in the same voice rather than reaching serde. Serde keeps the shape errors and the unknown-variant backstop for a consumer reaching Deserialize without the gate in front of it. Wire-level only and unreachable from the public Python API — fm.BreakAxis has always validated axis at construction, and no Chart.override(...) rule targets the structural section, so only a dict passed straight to the private ferrum._core render entries can reach it. No rendered byte and no break-family warning or refusal message changes for a well-formed chart, BreakAxis(axis="y")'s quoted axis token included.
  • A cleared fill outranks a color channel on bar, rect, arc and polygon too (wave 6A, #110). fill="none" under encode(color=…) on those marks previously painted the palette; it now paints nothing. That reaches beyond the line/rule/tick/segment/area/point-glyph set the fix was scoped to, because the rule lives in the one per-row fill resolver every filled mark shares. No golden moved (none carries a cleared paint).
  • A cleared paint stops serializing as a zero-alpha color (wave 6A, #110). The former exception list (the line/rule/tick/segment stroke, and arc/area/geoshape/polygon) serialized a user-cleared paint as rgba(0,0,0,0.000). Those marks, and text/label (whose cleared fill serialized the same way), now follow the rule point/rect/bar/ribbon already followed: a cleared stroke emits no stroke attribute at all, and a cleared fill emits SVG's own fill="none" (omitting it would paint SVG's default black), on a <text> element too. Visually identical, byte-different. The scene graph's StrokeStyle.color and TextStyle.color are correspondingly optional, and scene JSON for a painted stroke or text node is byte-identical.
  • A %-free format declared as time falls back to the temporal default, and the ordinal preset beats a stray time type (wave 6A, #147). label_format=".2f" (or ".3e") with label_format_type="time" echoed the literal .2f as every colorbar label (and every thinned tick label, reachable only from a hand-written chart_config), rendered 2001.00 on a temporal axis's year labels, and rendered 1970-01-01 on an independent facet axis. Every site now uses its own temporal default; on a non-temporal axis the pair is now refused as a time format on the shared axis too, as it already was on an independent one. The #133 refusal's message changed for every case it covers, the existing strftime and time-preset refusals included: it now reads format ".2f" is typed "time", which on the 'x' axis requires a temporal scale, but the resolved scale is not temporal, naming the declared type as the cause, where it previously read format ".2f" on the 'x' axis requires ...; code matching the old prefix needs updating. format="__ordinal__", format_type="time" rendered ordinals on an axis but 1970-01-01 on a colorbar and on mark_text, and was refused on an independent facet axis; on a non-temporal field it now renders 1st, 2nd, … on every surface. A time-typed format on a non-temporal field (fm.Color("n", legend=fm.Legend(format=".2f", format_type="time")), fm.Text("n", format=".2f", format_type="time"), a strftime pattern, or a bare format_type="time") rendered every colorbar, size-legend and text label as 1970-01-01; those surfaces now raise the same refusal, naming themselves (… which on the 'color' legend requires a temporal field, but the field is not temporal). The shape and stroke-dash legends dropped the same pair silently (fm.Shape("g", legend=fm.Legend(format=".2f", format_type="time")) rendered where fm.Color("g", legend=…) refused); they now refuse it too (on the 'shape' legend, on the 'stroke_dash' legend). Declare the field temporal ("n:T") if the numbers are epoch milliseconds. A string field counts as non-temporal, so fm.Text("s", format="%Y", format_type="time") over a string column, which rendered the strings and dropped the format, now refuses. A bare format_type="time" on a non-temporal axis (fm.Axis(label_format_type="time") or fm.X("n:Q", format_type="time")) was dropped silently and rendered the scale's numbers; it now refuses too, on the shared and the independent facet axis alike, so the bare type gets one answer everywhere. A bare fm.Axis(label_format_type=) now types the shorthand fm.X(format=) beside it (the type used to be dropped), and the merged pair is checked like its one-place spellings: fm.X("d:T", format="%Y", axis=fm.Axis(label_format_type="number")) refuses with invalid format spec "%Y", as fm.Axis(label_format="%Y", label_format_type="number") does, and fm.X("n:Q", format=".1f", format_type="time", axis=fm.Axis(label_format_type="number")) still refuses as a time format on a non-temporal axis. A legend's time format is refused unless the caller disabled that legend: legend=None, Legend(orient="none") and .configure_legend(orient="none") all exempt it, while a colorbar the renderer suppresses on its own with a warning (on mark_line/mark_ribbon) and a categorical color legend both refuse, because the check is of the spec as written. Axes have no such exemption (fm.X("n:Q", axis=None, format=".2f", format_type="time") refuses), on purpose: an X/Y Legend(format=) cascades onto the color field, so checking a legend nobody draws would judge a field the caller never formatted, while an axis format is written on the channel it formats. An untyped %-bearing spec on a non-temporal axis (fm.X("n", axis=fm.Axis(label_format="%Y")) with no declared type) rendered 250.000000% … on the shared and independent facet axis while Legend(format="%Y") and Text(format="%Y") refused; the axis now refuses with the same invalid format spec "%Y": unrecognized token "Y" (".1%" still renders percentages, and "%Y" on a temporal axis still renders years), and a stroke-dash legend's format is now grammar-checked like a shape legend's. The ordinal preset on a temporal field rendered 2001st … on the shared axis, was dropped on an independent facet axis, and rendered 959817600000th … on a colorbar, size legend and mark_text; every surface, .configure_axis(label_format="ordinal") included, now refuses it (the "ordinal" format on the 'x' axis formats numbers and requires a non-temporal scale, but the resolved scale is temporal). By the user's ruling on the last two cells, a d3 number format on a temporal field (.2f, ,.0f, d, or a "number"-typed preset such as "percent") rendered the calendar year on both axes (2001.00), was dropped on an independent facet axis, and rendered the epoch-millisecond count on a colorbar, size legend and mark_text (959817600000.00); every surface, chart-level .configure_axis(label_format="percent") included, now refuses it (the number format ".2f" on the 'x' axis requires a non-temporal scale, but the resolved scale is temporal; a date pattern (e.g. "%Y") formats a temporal value). Because configure_axis's format reaches both axes, a percent-valued y beside a temporal x now needs .configure(axis_y=AxisConfig(label_format=…)) or the per-channel Axis. .2f with format_type="time" still falls back to the temporal default, and so does the split spelling fm.X("d:T", format=".2f", axis=fm.Axis(label_format_type="time")). An untyped ".1%" on a numeric axis now formats explicit tick values too: fm.X("q", format=".1%", axis=fm.Axis(values=[0.2, 0.6])) rendered 0.2, 0.6 and now renders 20.0%, 60.0%, as ".2f" and the "percent" preset already did. An undeclared "%Y" on a datetime field rendered years on the axes but was refused by Legend(format=) and Text(format=); those now read it by the field's temporality and render years too (fm.Text("d", format="%Y")), while on a non-temporal field it still refuses as a d3 spec, and an undeclared ".1%" on a datetime field, which the legends and text formatted as a percentage of epoch milliseconds, now refuses as an invalid date pattern. Separately, a literal one-character label_format="\x01" no longer renders ordinals: it was an accidental second encoding of the "__ordinal__" sentinel and is now an ordinary unrecognized d3 type character. "ordinal" and "__ordinal__" are unchanged.
  • Independent-x faceted output moves wherever cull_threshold is set away from the default (wave 6A, #146). A direct consequence of the fix above: over a 135-row corpus (15 axis-label shapes × 9 spellings), exactly six rows move, all facet_independent_x* at thresholds 0, 30 and 500. Every other row, including the independent-x facet at the default and at 8, is byte-identical. No golden moved.
  • Five previously-silent appearance-channel kwargs now refuse instead of accepting and doing nothing (wave 6B, #123). title= on Opacity/FillOpacity/StrokeOpacity raises ValueError, naming the channel, since none of the three draws a legend for a title to customize; legend=None/legend=False on those three plus StrokeWidth/Angle stay silent (the harmless "no legend" idiom is unaffected), but a truthy legend= value (a dict or Legend(...)) on any of the five now raises the same way. A Size/Shape/StrokeDash legend value whose orient= is anything other than "none" now raises, naming the fixed shared-legend-block reason; orient="none" still disables that channel's own legend. StrokeDash(scale=...) carrying an explicit range= key now raises, naming the fixed 4-slot GPU dash palette (solid plus three patterns) that representation cannot express. FacetRow(columns=...)/FacetCol(columns=...) flip from a UserWarning to the same typed refusal, so a caller relying on the silent drop now gets a ValueError at construction instead. A wire-shape side effect of the first change: Opacity/FillOpacity/StrokeOpacity/StrokeWidth/Angle no longer emit a legend key at all, even for legend=None/legend=False (previously {"legend": {"disabled": true}}) -- no renderer ever read that key for these five, so no rendered output moves. Every other appearance-channel kwarg is unaffected; see tests/test_appearance_kwarg_matrix.py for the full cross-surface matrix and ferrum-spec.md §3.2's 2026-09-23 notes for the complete before/after.
  • One aggregate vocabulary reaches every door, one Rust refusal rendering replaces four, and interpolate= refuses at declaration instead of at render (wave 6B, #137/#176/#165(3)(4), Q5's three surface changes as one). AggFn — the vocabulary Bin(agg=), AggregateOp(fn_=), Aggregate, and the aggregate/join_aggregate transforms all share — now spells variance/stdev canonically with var/std as declared aliases everywhere: mark_hex(aggregate="std") worked while Bin(agg="std") refused, and Hex(aggregate="stdev") refused while Bin/AggregateOp accepted it; both directions now work on every door, and AggregateOp's private, undeclared "var" arm (accepted, but absent from its own refusal message) is now a declared alias like every other spelling. Hex/mark_hex accept ten spellings, not eight ("stdev"/"variance" join "std"/"var"); Bin/AggregateOp/Aggregate accept thirteen, not eleven. The wire (serde) door for AggFn — reached by join_aggregate, data_aggregate, and ChartSpec.from_json deserializing any transform holding an AggFn — now accepts std/var too, where previously only the canonical spellings parsed there, and refuses an unknown spelling with unknown fn 'x'; expected mean|sum|... instead of serde's unknown variant list. Every door keeps its own refusal prefix and noun (Bin: unknown agg, AggregateOp: unknown fn, Hex:/Raster:/Smooth: unknown aggregate/unknown x_estimator) — on the Rust doors, the accepted-set rendering converges to one bare, pipe-joined format in declared order, replacing five prior renderings: raster's quoted, space-joined 'a' | 'b'; the internal stat_hex door's expected one of a/b; Interpolate's comma-joined a, b; hex's own prior bare a|b (same shape, now sourced from the registry instead of a second hand-rolled list, so Hex(aggregate="stdev")'s refusal text moved too even though its rendering style did not); and Smooth's own prior quoted, pipe-joined 'mean'|'median'|'sum'|'min'|'max', now bare. transform_registry(kind) returns five keys instead of four for every kind (methods_needing_field is new — a subset of methods naming which spellings that door refuses without a field, published for every kind that declares one: raster/hex/aggregate/data_window split per method, bin/join_aggregate/data_aggregate and eight more kinds (kde, density_data, error_extent, qq, pivot, impute, top_k, data_stack) declare every method as needing a field, and smooth/linkage/regression_data declare none), and transform_registry("aggregate")/("join_aggregate")'s methods list is no longer empty. mark_line/mark_area/mark_ribbon's interpolate= all refuse an unrecognized or non-string value at construction now, through one shared gate function, instead of mark_line/mark_area failing only once the chart renders and mark_ribbon carrying no Python-side check at all; interpolate=None is unaffected on all three (still means "unset"). Smooth(x_estimator=) joins the family as XEstimator, a declared AggFn subset (mean/median/sum/min/max only), published through the new ferrum._core.x_estimator_accepted_values() binding; mark_smooth(x_estimator=) now refuses at declaration through the same shared-gate mechanism as mark_ribbon's interpolate= gate, instead of deferring to .to_svg(). mark_smooth/lmplot refuse any non-member x_estimator — string or not — naming themselves ("mark_smooth: x_estimator must be one of [...]; got ..."), not a copy of fm.Smooth's own Rust text: every new refusal names the public entry the caller invoked, which for these two doors outranks matching fm.Smooth's wording, so the raw fm.Smooth pyclass (no Python wrapper) keeps its own "Smooth: unknown x_estimator ..." text and, for a non-string, its own untyped PyO3 TypeError (crate-wide and pre-existing on every pyclass constructor door, filed as F16, not fixed here) — a non-string on mark_smooth/lmplot was the same raw, unnamed TypeError before this change and is now a named ValueError. RenderConfig.raster_aggregate/mark_raster/mark_hex's eager checks, and the raster no-field hint quoted in their needs-field messages, now read transform_registry(kind) live instead of a hand-typed Python literal, closing the latent gap where a new Rust raster aggregate could ship without the Python gate ever learning about it. The Python declaration doors keep validate_choice's sorted-list wording (mark_raster: aggregate must be one of [...]; got ...), so each language renders its refusals in its own idiom; both name the door and the value. mark_hex refuses an unknown aggregate= at the call, and its needs-field refusal (composed by the same function as mark_raster's and RenderConfig's, whose text changes from mark_hex aggregate='mean' requires field=... to the full sentence) at resolution, since .encode(color=...) may still supply the field. No already-accepted spelling's behavior changes and no rendered SVG moves for any chart that was already valid; see tests/test_aggregate_vocabulary_matrix.py for the full door × spelling matrix and ferrum-spec.md's 2026-09-23 dated note (§3.5, transform registry) for the complete before/after.
  • Inset(bounds=...) refuses True/False and numeric strings, and names the bound it refuses (wave 6B, #239). The bounds classifier ran float(entry) before any validator saw the value, so True became 1.0 and "0.5" became 0.5, both of which every sibling validator refuses; "a" raised an unlabeled ValueError and None a TypeError. All five now raise one labeled ValueError, e.g. Inset.bounds[0] (left) must be a number between 0 and 1, not str; received 'a'. The accepted set for a bare bound is closed (int, float, other non-bool real numbers, numpy integer and floating scalars, Decimal); an object that merely defines __float__, a numpy string or complex scalar, or a one-element array is refused by type name. The wire for every accepted input is byte-identical.
  • Conditional literals and dash lengths refuse what they used to mis-handle (wave 6B, #128). A string on a numeric conditional channel (size, opacity, stroke_width, stroke_opacity, fill_opacity, angle), including a numeric string such as "0.5", now raises ValueError naming the channel (fm.value('red') for channel='size' needs a number, got str: 'red') where it serialized as a color. A bool literal is refused on every channel, color included, and a non-string, non-number literal raises ValueError where it raised TypeError. Separately, every surface that accepts stroke_dash= (mark kwargs, annotate_*, SelectionMark and the conditional) now checks each dash length: "-4,2", "nan,2", [4, -2] and [True, 2] refuse at construction where some surfaces accepted them.
  • Every channel that draws no legend refuses title= and a legend value, not just the opacity family (wave 6B close, #123). Angle(title=...) raises ValueError (it warned "accepted but not yet honored"), as does title= on any channel with no title of its own (Detail, Tooltip, Text, Href, Key, Url, Description, X2, Y2, the error channels, Theta/Radius/Theta2/Radius2): <Channel>(title='T') is not honored: <Channel> draws no legend, and title= is not supported on this channel. StrokeWidth(title=...) and the opacity family's title= raised the same way at the time (the opacity family's own title refusal moved to this text); both are superseded above — StrokeWidth and the opacity family now draw a legend and honor title= on it. A legend dict or Legend(...) on Angle and the other no-legend channels above, and on Facet/FacetRow/FacetCol/TooltipField, still raises where it warned. legend=None/legend=False stays silent everywhere; X/Y/Facet/TooltipField title= keeps working.
  • stroke_dash= takes one closed vocabulary on every door, and a bare number now works (wave 6B close, #124/#128). On mark kwargs, annotate_*, SelectionMark and the stroke_dash conditional, a dict, set, bytes, array, arbitrary object, np.bool_ or timedelta now raises ValueError at the call, naming the door and the value; it constructed and then failed at render with serde text or a raw TypeError. mark_line(stroke_dash=5) renders a 5-pixel dash where it raised a serde error. Every accepted form reaches the wire as a list of floats, so a tuple or an int list serializes [4.0, 2.0].
  • Chart.conditional() reads its channel from both branches, and a number on a color conditional refuses (wave 6B close, #128). Chart.conditional(sel.when(a).otherwise(b)) names no channel and read it from if_selected alone, so sel.when(fm.value(20)).otherwise(fm.Size("v")) became an opacity conditional carrying a Size field. An encoding-channel branch on either side now decides, otherwise the first literal (a number is opacity); the result is checked against the conditional vocabulary, so a conditional on fm.X or fm.Shape refuses at Chart.conditional() instead of serializing. A number on a color conditional now raises fm.value(0.2) for channel='color' needs a color string, got float: 0.2; it was silently re-typed as an opacity value.
  • mark_hex(aggregate=) refuses an unknown aggregate at the call, and the needs-field refusal is one sentence on every door (wave 6B close, #137). mark_hex(aggregate="bogus") constructed and failed at .to_svg(); it now raises at mark_hex(...) like mark_raster. The needs-field check still runs at render, because .encode(color=...) can supply the field, and it now reads mark_hex: aggregate='mean' requires field=... (the column to aggregate); pass field=... or use aggregate='count', which need no field. (was mark_hex aggregate='mean' requires field=...), composed by the same function as mark_raster's and RenderConfig's (whose text changes pass raster_field= or to pass raster_field=... or).
  • Rust transform refusals and reprs move (wave 6B close, #137/#165). Hex's refusal lists its vocabulary in the aggregate family's declared order, mean|sum|count|min|max|median|variance|var|stdev|std; Smooth(x_estimator=) and x_estimator_accepted_values() read mean|sum|min|max|median. Raster's needs-field refusal reads requires field (was requires `field`), the same text as Hex's. Kde(kernel=), QQ(distribution=) and Smooth(method=) refusals render a|b|c (was 'a' | 'b'); data_stack reads unknown offset 'x'; expected zero|normalize|center. A hand-built Hex/Raster/Bin spec with an unknown aggregate refuses when the spec is read, not at apply. An alias is stored canonically, so Hex(aggregate="std") reprs aggregate='stdev', Bin(agg="var") reprs agg=Some("variance"), and the wire writes the canonical spelling; SVG is unchanged. The render-side aux-range refusals name Shape(scale=...)/StrokeDash(scale=...).
  • A hand-built layered ChartSpec carrying a chart-level mark_style refuses (wave 6B close, #119). Rust rendered it and ignored the style; it now raises ValueError: ChartSpec.mark_style is set on a layered chart (2 layers), where it has no effect: a layered chart is styled per layer. Move the style onto each layer's own mark_style. on both output kinds. Charts built through the Python API never produce this shape.
  • ModelSource.from_base_and_compare is private (wave 6B close, #214). It was added earlier in this release cycle to own the compare= merge and had not shipped; it is now an internal helper that also handles compare=None.

Internal

  • Four modules get job-named homes (wave 6A), three of them directory splits, all pure motion. The three splits needed no consumer use-path edits; the arrowhead move updated five consumer sites in annotation/mod.rs and marks/segment.rs. transform/smooth.rs becomes transform/smooth/{mod,fits,binding,tests}.rs (#163). spec/encoding.rs becomes spec/encoding/{mod,gate,tests}.rs, the scale-gate cluster in its own file (#158). render/break_axis/mod.rs sheds four job-named homes, scale.rs, geometry.rs, indicators.rs and placement.rs, while BreakRemap and its impl stay whole so none of its private fields widen (#229(1)). The arrowhead geometry moves out of render/draw.rs into render/marks/arrowhead.rs, beside the marks that consume it (#229(5)). Visibility widens only to pub(super) inside each module's own tree; nothing became pub or pub(crate), and no field widened.
  • Untyped state becomes types (wave 6A). Paint provenance becomes PaintSource/ClearablePaint in place of four parallel booleans and tuple returns (#110 part 1, byte-stable over a 64-shape corpus). The break axis becomes the shared two-variant AlignAxis, the enum ExtentAlignment already used (#229(2)). AxisStyleOverrides' 34 flat fields partition into six clusters, with Claimed<T> replacing hand-rolled claimed-booleans and one LabelBandCtx shared by the two x-label layout functions (#145). The six format predicates become FormatKind::resolve (#147), and cull_threshold's two meanings become LabelGapPolicy { gap_px, cull } (#146).
  • The unreachable per-channel condition wire route is deleted (wave 6A, #237). Every public spelling already routes through ChartSpec.conditionals. The Rust EncodingSpec.condition field is kept, because the struct denies unknown fields and dropping it would turn a previously valid saved spec into a parse error.
  • The facet-extent pin is guarded by behavior, not a restated list (wave 6A, #196). fix_transform_extents_for_facet keeps its wildcard arm; a test now drives every extent-carrying transform kind through the real function and fails by name if a new kind misses the pin.
  • #229(4), splitting break_axis's measure-and-mutate walker into a read-only visit plus a mutating one, is closed WONTFIX-by-design (user ruling). The walker's own documentation states why it is one function, at crates/ferrum-core/src/render/break_axis/mod.rs:1307-1315: "The one walker both glyph passes share (measure, then move or hide), so a node kind cannot be measured by one rule and rewritten by another. … A measuring pass leaves the node untouched: the only arm that has to write (a rect, whose second coordinate is derived) writes only when the closure actually moved something, so measuring cannot drift a rect's width through a (start + len) - start round trip." That no-write guarantee is pinned by measuring_a_glyph_rect_does_not_perturb_its_size at crates/ferrum-core/src/render/break_axis/tests.rs:1405-1421, whose assertion reads "a measuring pass must not write to the node" (line 1420). #229(3), the resolve_break extraction, was closed with evidence and no code (42e8c7da).
  • Three duplicated rules get one owner each, byte-stable by proof (wave 6B, #214, #165(1)(2), #164). The compare= merge that figure functions and visualizers each carried (the dict check, the reserved-base refusal and the delegation) lives in one private ModelSource helper, and its error texts are unchanged (#214). The "{name}_{key}" rule that names a transform's secondary data sources, previously written at three Rust and six Python sites, is one function, ferrum._core.secondary_key, called from both languages; the two _registry.py column helpers share one validation tail (#165(1)(2)). The 1279-line registry-consumer analyzer inside a test file moves to tests/_registry_consumer_lint.py with unit tests of its own and computed counts in place of drifted prose counts (#164). No library output changes.
  • pin the grouped interval warnings, contrast ink, NaN sort tier and partial-band thresholds by behavior
  • comments, docstrings and test names state behavior, not the process that produced them
  • pin that a faceted bivariate kde on a log axis grids in data units, and that a catplot encode= None entry binds nothing to refuse
  • a new re-point site or statistic mark cannot drop bin=/aggregate= silently
  • core never imports the figure layer

Documentation

  • ferrum-spec.md §3.12 now opens BreakAxis with a consolidated current-contract block (parameters, construction/validation vocabulary, render model, per-mark-kind behavior, axis chrome, annotations, facets, same-axis merge, coord refusals, warnings, disclosed residuals). The sixteen dated notes stay below it verbatim as the historical record — several of them retract or supersede each other, so the contract was previously reconstructable only by replaying them in order. The break-axes guide's own Constructor reference caught up too: the gap type cell names the temporal and numpy-numeric bounds it accepts, the Validation list covers every construction-time refusal, and the stale "breaks are applied in order, overlaps handled gracefully" sentence is replaced by the union-merge semantics it describes.
  • The Gallery page's three classification-diagnostic cards (docs/site/gallery/img/{roc_chart,pr_chart,calibration_chart}.png) gained a committed generator, scripts/generate-gallery-diagnostic-pngs.py, and were regenerated through it. The 94 gallery images were produced ad hoc in May 2026 with no recorded recipe, so a change to what a diagnostic chart says left them stale with no way to refresh them — which had already bitten once: the calibration card was rendered in May and still showed Brier = 0.007, a number produced by the pre-F-L11-04 bin-level path that September replaced with the true per-sample score. The generator's data and split are a reconstruction (the originals were not recoverable from the committed PNGs), so the metric values on these three cards moved as well as the duplicate text disappearing: AUC = 0.974 → 0.885, AP = 0.983 → 0.871, Brier = 0.007 → 0.136. Canvas (1160×800), theme (paper_ink) and card titles are unchanged.
  • The guide's "Legend title" demonstration now shows the feature it demonstrates. docs/site/guide/marks-encodings.md has illustrated fm.Color("species", type="N", title="Species") since before channel title= reached legends, so its rendered image (img/marks-encodings_02.png) showed a legend headed species — contradicting the paragraph above it. Regenerated under the #90 fix; it now reads Species, and the plot rect shifts slightly because the wider title changes the legend's measured width. The page's second title= example is prose-only with no rendered image, and the recipes.md example uses fm.Legend(title=...), which always worked and whose image is unchanged in this respect. The guide's claim that "the legend title defaults to the field name; override it with the title= parameter on the encoding channel" was aspirational when written and is now literally true.
  • ferrum-spec.md gains dated notes for every wave-4 contract change (#90 and #130 in §3.2, #201-D and the zero-extent-rect rider under ferrum.Layer, #193/#194/#200/#201-B under displot, #192 under catplot, #121 under pr_chart), and the two rows that never learned about the rewritten binning parameter now state the accepted vocabulary explicitly: the mark_histogram(...) statistical-mark row gains bins and position_by, and the stat_bin(...) row's signature gains bins= with its accepted set and its mutual exclusion with bin_count/bin_width spelled out.
  • Corrected two stale claims in the 0.23.0 entry below, both of which were true when written and are superseded by this wave: the x/y-tick-ownership fix's closing sentence, which said closing the label-baseline gap "needs the scale-pixel-range fix tracked as a follow-up, not this one" and called the bottom label's offset "the lone outlier" — the scale-pixel-range fix and the tick-label rigid-translation fix both shipped this wave (#226, above), and no break-axis tick label sits at an offset from its dash different from its siblings' any longer.
  • ferrum-spec.md gains dated notes for every wave-6A contract change: the break-axis token refusal (§3.12, 2026-09-20), the cull_threshold/cull_labels split and the independent-x facet fix (§3.13, 2026-09-20), the cleared-paint rule becoming universal and outranking the color channel (§3.2, the color-literal note, 2026-09-21), and the format-predicate unification (§3.7 Axis, 2026-09-22).
  • ferrum-spec.md gains dated notes (2026-09-23) for every wave-6B contract change: #119 under ferrum.Layer, #123 under the appearance channels and StrokeDash, #128 under §3.10's conditionals and §3.3's stroke_dash normalizer, #149 under Axis, #239 beside the batch-H Inset note, and the aggregate vocabulary and #195 in §3.5. The wave-4 #193 note's claim that every non-FD Bin repr is byte-identical, true when written, carries a correction now that #195 completes the repr.
  • ferrum-spec.md gains dated notes (2026-10-01, later rulings dated as made) for every wave-7 contract change: #108 beside the opacity literal-alpha carve-out, #161 under mark_swarm (drawn diameter, centre distance, Theme(point_size=)), #141 under SecondaryY (default off, show and style chains), and #116 under the Size channel (taper, mapping, dashes, the width-conflict refusal and the public entry it names, the constant twin, the legend swatch and when a size legend is drawn, composite-local color under promotion, and the 2026-10-01/02/03 rulings). The wave-6C note's "size pushes no warning" sentence is amended: still true of warnings, but a sized line can now refuse. The mark_line docstring's "Default is 2" for stroke_width is corrected to the theme's line_stroke_width (1.5 by default), and Size, mark_line, mark_swarm and relplot(size=) document the dot-diameter width. docs/site/guide/concepts/secondary-axes.md documents the secondary-gridline opt-in.
  • ferrum-spec.md gains dated notes (2026-10-06) for the wave-7 close's last contract changes: the Rust style table, its inert-field warnings, the internal and method-only fields and the wire refusals in §3.3; blend beside mark_raster; fm.Layer(mark=) and the wire Layer under ferrum.Layer; the swarm packing diameter under mark_swarm; conditional scope, selection owner panels and the redefinition refusal in §3.10; and the numeric_columns wording and the figure voice of jointplot and of a malformed mark= among the Size channel's later rulings. The guide's mark style kwargs table states how blend draws in each output.
  • regenerate the displot ecdf gallery image as a per-observation step line
  • regenerate the displot ecdf gallery image with its rise from 0
  • start a session's run check with ledger run-state

0.23.0 — 2026-09-11

Three api-contract-audit remediation batches land at once: the figure-helpers batch (#202 — catplot's estimating kinds aggregate for real over seeded-bootstrap CIs, native_scale= works both ways, the lmplot/regplot family stops corrupting its own scatter, displot's KDE overlay scales and colors correctly, clustermap dendrograms stop blanking), the diagnostics-correctness batch (#225 — every metric number a diagnostic chart displays now comes from one source of truth: stable-sort AUC/AP, per-sample Brier everywhere, real class names, binary targets outside {0, 1} finally computed correctly, string-labeled confusion matrices un-zeroed), and the annotations-interactivity batch (#246 — segment arrows and annotate_arrow heads become real, the full BreakAxis clipping/placement/suppression contract ships, Inset validates and honors px(), Parameter.ref() and channel condition= reach real pipelines under one typed vocabulary, and every composition view learns to_dict()/to_json()/pipe() with lossless figure chrome). Silent parameter drops die loudly throughout; the per-batch sections below carry the full contracts.

Batch F closes eight open api-contract-audit findings (F-L09-01/02/03/04/08/10, F-L10-04/09) plus the F-L10-01 layer-render-robustness rider surfaced along the way. Silent parameter drops in the figure-level helpers die loudly throughout.

Added

  • Breaking: catplot(kind="point"/"bar") now renders one mean estimate per (category × hue) group over a seeded-bootstrap CI whisker, from a single Summary transform — previously each drew one mark per raw row (200 overplotted circles for a 200-row frame). ci=/n_boot= are honored (ci a percent in the open interval (0, 100), n_boot >= 1), with typed refusals for out-of-range values and for bool (ci=True used to mean a 1% interval); seed= seeds the bootstrap as well as Jitter. Both kinds are layered charts now, so mark= takes per-layer keys ("whisker" plus "point"/"bar") instead of a flat mark-kwargs dict. An explicit value-channel scale= carrying a domain is honored; a domain-less type-only scale (e.g. {"type": "log"}) now raises naming the working route instead of silently clipping the CI whiskers. The other six kind= values are byte-identical.
  • A layered chart's auto-inferred value-axis domain now extends to zero when a bar layer binds that channel (the same zero-anchor a single-chart mark_bar already gets), suppressed when the bar binds an explicit span channel (y2/x2). This is what keeps catplot(kind="bar")'s bars on a zero baseline; a per-layer mark_bar(zero=False) (or catplot's own mark={"bar": {"zero": False}}) opts a layer out, and the opt-out now survives composition into a layer, including resolve={"y": "independent"}, SecondaryY, and every .interactive() LayerChart. One phase-10 golden (class_prediction_error_multiclass.svg) moved its baseline accordingly.
  • catplot(native_scale=) is fully implemented both ways. Breaking: native_scale=False (the default) now forces nominal typing for a numeric category column — previously the category channel was never explicitly typed, so a numeric column (e.g. an integer year) silently inferred a quantitative axis, contradicting the documented default; it now renders as equal-spaced categorical bands, matching a string column and matching seaborn. native_scale=True types the channel quantitative and places categories at their true numeric positions, raising a typed error naming the column and dtype for a non-numeric column; the former hard refusal ("the renderer does not support quantitative categorical axes") is deleted — it was factually wrong. An explicit type_= on an already-built channel takes precedence over both. kind="strip"'s Jitter width on a native scale is now data-derived (0.4× the median unique-value spacing) instead of the ordinal band-fraction, and the quantitative domain pads so jitter/dodge offsets never silently drop marks.
  • catplot's hue_order= is now honored for kind="box" and kind="violin" — previously silently ignored (byte-identical output regardless of the argument). A bare Color(sort=...) on mark_boxplot/mark_violin/mark_errorbar/mark_errorband is honored the same way. kind="boxen"/"swarm" are unaffected (their hue_order= already worked through chart-level color).
  • Options stated on a channel you build yourself now reach every catplot kind. x=fm.X("cat", sort=[...]) and hue=fm.Color("g", sort=[...]) were honored by the six per-row kinds but discarded by kind="point"/"bar", whose layers rebuilt both channels from bare field names and re-threaded only type_, order= and the native-scale domain — so the encoding spelling of an order silently did nothing while the order=/hue_order= kwarg spelling worked. Both spellings now resolve at one site and land in one place, for every option (sort=, title=, axis=, scale=, …), on all eight kinds. Where both are given, the kwarg still wins, as it always has. The third door behaves uniformly too: encode={"x": …} is a raw override that replaces the builder's normalized category channel — it always did that on the six per-row kinds, and now does it on kind="point"/"bar" as well instead of being silently inert there. Breaking: a per-observation appearance channel on the two estimating kinds now raises instead of drawing a legend for a mapping the marks cannot carry — catplot(kind="point", size="sz") drew uniform-radius estimator marks under a six-swatch size legend, and opacity= was a byte-identical no-op. size, shape, opacity, fill_opacity, stroke_opacity, stroke_width, stroke_dash, angle, color, fill and stroke are refused for kind="point"/"bar" (through both the keyword and the encode= dict), naming hue= — which joins the Summary groupby and therefore does work — and the per-row kinds as the routes. The per-row kinds are unaffected.
  • Fixed: lmplot/regplot no longer replace the scatter's observations with the fit line's evaluation grid. With ci=None and show_metrics=False the fit collapsed to a single line mark bound to a chain-advancing (unnamed) Smooth, which then applied to the scatter layer too: every "observation" landed exactly on a fit vertex (measured: 200 of 200, zero spread about the curve) for lm, loess, quadratic, gam, log and sqrt, in both functions — or raised unknown column outright when the data's columns were not themselves named x/y. The fit now binds to a named transform through data_source=, the same shape the CI path and the logistic/glm/robust methods already used. On that one combination the fit layer is named "line" rather than "fit" (matching every other lmplot shape), so a mark={"fit": …} override for it becomes mark={"line": …}. Separately, x_jitter= on an integer predictor now renders instead of raising Jitter: … expected Int64 but found Float64; that failed on three of the four ci/show_metrics combinations and was masked on the fourth by the scatter corruption above.
  • displot(kind="kde", cumulative=True) now produces a real CDF — previously the kwarg was silently dropped for the primary KDE mark and rendered byte-identically to cumulative=False. The kde=True overlay on kind="hist" inherits the same cumulative value. That overlay is also count-scaled and per-hue: under kind="hist", stat="count", multiple != "fill", the curve is rescaled to the histogram's own bin width and group size so it's visible against the bars instead of a flat ~2%-height sliver, and it now threads groupby=hue with a matching color channel instead of drawing one pooled, uncolored curve over per-hue bars. stat= is validated against {"count", "density"} for every kind=; an unsupported value (e.g. "probability") now raises instead of silently degrading to a count-mode render. stat="density" overlays and kind="ecdf" are byte-identical. Fixed: rug=True combined with hue= and multiple="stack"/"fill" no longer crashes ("Stack: value (y) encoding required") — the rug and kde overlay layers now carry an explicit Identity() position so neither can inherit a stack/normalize adjustment; rug ticks are never dodged or stacked.
  • clustermap's dendrogram panels no longer silently blank at practical ratios — the dendrogram leaves were reserving axis chrome (a title gutter, and on the row side a label band) for axes that axis(show=False) never draws. dendrogram_ratio=0.1 now renders both dendrograms, and the default ratio (0.2) no longer blanks the column dendrogram on a short heatmap (e.g. figsize=(480, 200)). Sub-floor ratios still raise PaddingExceedsViewport. All clustermap output changes geometry as a result (dead chrome removed from the dendrogram panels); the clustermap_basic and clustermap_row_col_dendrograms goldens were regenerated and PNG-inspected. Two adjacent layered-chart wire bugs found alongside it are fixed generally: title=None on a layered channel now reaches the wire and suppresses the axis title (a truthiness check was dropping it, same as it already dropped title=""); format= on a layered channel no longer raises an unknown-field error; a layer's condition= now reaches the wire instead of silently vanishing.
  • A layered chart with a layer (index ≥ 1) whose positional encoding (x/y/x2/y2) names a column missing from that layer's own resolved batch now raises a typed error naming the layer index, channel, and column — previously only layer 0 was validated, and every later layer's missing column silently rendered nothing. An inherited color channel absent from a layer's batch is unaffected (still renders); zero-row layers still skip. The gate surfaced two formerly-invisible bugs, both fixed: the discrimination-threshold desugar no longer draws its optimum-label/threshold-line layers when the f1-gated sentinel columns were never injected, and a secondary-y smooth chart now encodes the transform's real output column.
  • residplot(color=) works, both documented halves. A value naming a column of data groups the residuals (refit per group via the transform's groupby, colored by that column, with a lowess=True overlay drawing one curve per group) — previously every color= value raised ValueError: unknown column. A value that is not a column is parsed as a literal color and painted onto the points via mark-level fill=, composing with label= for a labeled legend swatch in that color; a value that is neither raises, naming both interpretations. robust=True, label=... now shows the label (previously a silent no-op). show_metrics=True's corner annotation is suppressed only when color= actually groups — a label=-only grouping keeps its corner. A user column literally named _label plus label= now refuses with a typed collision error instead of silently being overwritten.
  • regplot gains four real named parameters — logx, show_metrics, x_bins, x_estimator — with lmplot's exact defaults; previously reachable only through the kwargs bag, invisible to introspection. regplot(col=...)/regplot(row=...) now raise TypeError naming lmplot as the faceting route, instead of silently faceting.
  • ferrum.Robust gains groupby (mirroring Smooth), enabling per-group Huber-IRLS refits with group-key columns re-emitted at their original dtypes. A Smooth/Robust groupby column that collides with the transform's own output column name now refuses with a typed error naming the real output columns — previously a duplicate-named Arrow field was silently mis-resolved, corrupting output instead of refusing. Separately, a groupby list that repeats a column name (groupby=["g", "g"]) now refuses across the whole partitioning family — Bin, Kde, Kde2D, Smooth, Robust, Outliers, TopK, Impute, RegressionData, LoessData — naming the repeated column. A repeat is a malformed request rather than a property of any one transform, so the refusal moved into the shared partitioner they all call. For those ten, a repeat previously emitted two identically-named output fields, and every downstream reader of "the groupby column" silently resolved to the first of them. (Aggregate, Summary, Violin, BoxStats, and ErrorExtent already refused the same repeat at construction time and are unchanged.)

Breaking changes

  • catplot(kind="point"/"bar") renders aggregated bootstrap estimates by default instead of one mark per raw row (documented behavior — the guide already said this — now actually true); mark= on those two kinds takes per-layer keys.
  • catplot(native_scale=False), the default, forces nominal typing for numeric category columns (previously silently inferred quantitative).
  • All clustermap output changes geometry (dead dendrogram chrome removed); ratio=0.1 and short heatmaps now render their dendrograms.
  • New typed refusals of previously-accepted calls: regplot(col=/row=) (silently faceted); a layered chart's layer ≥ 1 naming a missing positional column (silently rendered nothing); catplot(kind="point"/"bar") with a domain-less type-only value scale (would silently clip CI whiskers); catplot(kind="point"/"bar") with a per-observation appearance channel — size, shape, opacity, fill_opacity, stroke_opacity, stroke_width, stroke_dash, angle, color, fill, stroke (drew a legend over marks that could not carry the mapping, or did nothing at all); displot(stat=<unsupported>) (silently degraded to counts); bool for ci=/n_boot=; Smooth/Robust groupby name collisions with an output column, and a repeated groupby column name on any partitioning transform (both silently corrupted output); residplot with a user column named _label plus label= (silently overwritten).
  • lmplot/regplot with ci=None, show_metrics=False name their fit layer "line" instead of "fit" (every other shape already did), so a mark={"fit": …} override for that one combination becomes mark={"line": …}. The rename comes with the fix that stops that combination from overwriting the scatter's observations with the fit grid.
  • Layered bar charts' auto-inferred value axis now anchors at zero (one phase-10 golden moved); opt out per layer with zero=False.

Batch G closes twelve open api-contract-audit findings in the model-diagnostics surface (F-L11-01/04/05/06/08/09, F-L12-01/02/03/08/09, F-L10-07) plus the annotate_auc/annotate_ap crash rider surfaced along the way. Every metric number a diagnostic chart displays now comes from one source of truth.

Added

  • classification_report_chart gains a y_true=/y_pred= precomputed path (hard class labels), joining the ten other prediction-evaluation figure functions (roc_chart, pr_chart, calibration_chart, gain_chart, lift_chart, discrimination_threshold_chart, confusion_matrix_chart, class_prediction_error_chart, residuals_chart, prediction_error_chart) that already accept it — eleven in total — computed from confusion counts with no sklearn import. The chart now carries a title, "Classification Report" (previously untitled), on both paths. The precomputed path never emits a support row (a deliberate non-parity with sklearn's own classification_report, which does report support counts). An X-less or y-less model-path call now raises a typed ValueError naming the diagnostic and the fix instead of leaking a bare sklearn shape error or a foreign InvalidParameterError.
  • ModelSource(model, X=None, y=None, ...) — X is now optional (back-compatible). Diagnostics computable from model attributes alone (pca_variance() when explained_variance_ratio_ is present, intercluster_distance()) work with no X; every other derived-data method raises a typed ValueError naming the diagnostic and the fix, replacing a leaked TypeError (direct construction) or a leaked Chart(data=None) requires per-layer data... error (routed through a figure function's own X=None default). A new public, read-only ModelSource.class_names -> list[str] | None property is added (class_names= → model.classes_ → None; no positional class_{i} invention), proxied on ComparedModelSource.
  • intercluster_distance_chart(method="tsne") now renders for every documented k >= 4 — the perplexity clamp was min(5, k-1), one short of the kNN-size requirement, so k in {4, 5, 6} raised a typed refusal; it is now min(5, k-2).
  • rank1d_chart(df, y=y, algorithm="covariance") on a raw DataFrame/2-D array now renders — it previously always routed through a ModelSource-shaped path that required X, regardless of whether the input was raw tabular data or a fitted estimator.
  • partial_dependence/importances(method="permutation") no longer leak sklearn UserWarnings about feature names when the model was fit on a named frame — a pandas DataFrame is rebuilt with the model's own feature_names_in_ before the sklearn call, with numeric output identical to the numpy path. Disclosed residual: a bare-array polars DataFrame built by the caller with no schema= (auto-generated column_0, column_1, ... labels) is treated as a genuinely named frame — polars has no structural marker distinguishing it from a deliberately user-named one — so it now raises sklearn's own feature-name-mismatch error where it previously computed a silently positionally-correct result with a warning. The two most common nameless-matrix shapes, a bare numpy.ndarray and pd.DataFrame(array), are unaffected and compute correctly with zero warnings.
  • Every FerrumVisualizer subclass gains, as explicit keyword-only constructor parameters, every kwarg its underlying chart builder documents — including the override quartet mark=/encode=/properties=/layers= on every single visualizer in the family (previously reachable on none of them). ResidualsVisualizer(panels="auto") now renders the canonical 4-panel grid, matching residuals_chart(panels="auto"), via a shared expansion helper both callers use.

Fixed

  • Breaking: every AUC/AP a user sees — the roc_chart/pr_chart title, the legend text, and the AUCLabel/APLabel overlay — now reads the same number, sourced from the frame's Rust-kernel-computed auc/ap column instead of three independent Python re-derivations. The composable + AUCLabel()/+ APLabel() path (which has no such column on arbitrary user data) now sorts with a stable sort, since ROC/PR curves routinely repeat one x/recall value across many rows and an unstable sort's within-tie permutation previously changed the integral. PR macro interpolation, gain/lift score ordering, and ModelSource.silhouette()'s within-cluster descending sort are all stable too — the last one changes mark_silhouette's rendered bar order for tied silhouette values (user-visible, since silhouette() emits y_position in row order). AUC/AP values move wherever the old unstable re-derivation was wrong (verified against the kernel column; seven phase-10 goldens regenerated and PNG-inspected); for per_class=False averaged titles, the value is now the weighted mean of per-class values (sklearn parity), not a trapezoid over the interpolated averaged curve.
  • mark_roc(annotate_auc=True)/mark_pr(annotate_ap=True) render their metric label instead of raising layer N: unknown column '_auc_label_x' (a crash introduced by the batch-F layer-validation gate surfacing a previously-silent no-op).
  • Breaking: the BrierLabel overlay on calibration_chart now shows the exact same per-sample Brier score as the title, invariant to n_bins=/strategy= — it previously integrated the chart's own binned reliability-diagram data (not the Brier score at all; observed swinging 0.078 → 0.028 on strategy= alone while the true value held at 0.096). The compared-path (compare=) overlay now shows each model's own true per-sample Brier instead of one bin-level number shared by every model (supersedes the prior spec's bin-level sanction for the compared path — see the dated ferrum-spec.md note). The precomputed path (calibration_chart(y_true=, y_pred=)) now carries the Brier in its title too, where it previously stayed blank.
  • Breaking: gain_chart/lift_chart show the model's real class names for every class, not a synthetic "Class N" rename for the first two — binary charts now label classes "0"/"1" (the stringified real value) instead of "Class 0"/"Class 1", and a 3rd-and-later class (previously unlabeled relative to its siblings) now renders with its own real name too. String-named classes were already rendered as-is and are unaffected. The synthetic baseline row still renames to "Baseline".
  • Unknown constructor kwargs on any FerrumVisualizer subclass now raise TypeError naming the kwarg — the base class's silent **_extra swallow is removed.
  • ROCVisualizer/PRVisualizer/DiscriminationThresholdVisualizer's derived metrics (auc_mean, ap_mean, best_threshold/best_f1, __repr__) under compare= now always describe the base model, consistent with .score() — previously they could report a value pooled across (or drawn from) a compared rival model while .score() reported the base model's own number.
  • Breaking: a binary target's labels no longer change its metrics. Every binary classification diagnostic now binarizes y against the positive class before the Rust kernels see it — the kernels count positives by summing y_true, so they need a 0/1 indicator, and the binary arms of roc_curve/pr_curve plus all of calibration_curve used to hand them the raw target. Only y ∈ {0, 1} was ever correct. y ∈ {-1, 1} (the SVM convention) rendered "ROC Curve — AUC -1.747" with a tpr axis reaching -4.375 against a true AUC of 0.9994; y ∈ {1, 2} rendered AUC 0.302 against 0.9989 and a Brier score of 1.035 (a Brier score is bounded in [0, 1]); string class labels raised could not convert string to float outright, from roc_chart, pr_chart, calibration_chart and the precomputed y_true=/y_pred= path alike. All of these now produce exactly the numbers the {0, 1} labelling produces for the same probabilities. {0, 1} targets are byte-identical (no golden moved). The precomputed path additionally stops comparing y_true against the string "1": its two class values are read from y_true in y_true's own dtype, and a degenerate single-class y_true now labels its curve with the class actually present rather than a fabricated "1".
  • calibration_chart(...) + fm.BrierLabel() — the example in BrierLabel's own docstring — now renders the true per-sample Brier score, agreeing with the title, on both strategy="uniform" and strategy="quantile". It previously rendered the bin-level integral (0.030 uniform / 0.009 quantile against a true 0.028 on a reference fixture, a 3.3× swing from a binning kwarg the Brier score is invariant to) and overwrote the correct label annotate_brier=True had already placed, so following the docstring produced a chart strictly less correct than the default. ModelSource.calibration_curve() gains a broadcast brier column for this (schema change, additive), computed where the per-sample predictions still exist; title, figure overlay and composable label now all read that one column. Composing + AUCLabel()/+ APLabel() onto a roc_chart/pr_chart reads the frame's auc/ap column by the same rule — those values already agreed, so nothing rendered moves.
  • Breaking: a metric column the kernel computed as NaN now displays as nan instead of silently falling back to integrating the curve. "The frame carries no such metric" and "this metric is undefined for this curve" are different facts; collapsing them turned the one honest signal a degenerate single-class curve emits into a plausible-looking fabricated number. Frames that carry no metric column at all (arbitrary user data under + AUCLabel()) still integrate, unchanged.
  • CalibrationVisualizer's calibration_error is now per-model when several models are overlaid — one calibration_error[<name>] entry each, where a single pooled scalar over every model's rows previously described no model in particular (while an inline comment claimed per-model values). Single-model visualizers are unchanged.
  • _parallel_coords_chart_from_dataframe's dead alpha=0.3 default is now 0.5, matching both of its callers and both public surfaces; the visualizer↔chart parity harness now diffs defaults as well as parameter names, with the same rationale-carrying, staleness-checked skip-map the name diff uses (two documented entries: ResidualsVisualizer/CooksDistanceVisualizer panels=).
  • Fixed (found by the close's own design review): a binary classifier that exposes no classes_ — any hand-rolled estimator, any wrapper that forwards predict_proba without re-exporting sklearn's attributes — produced collapsed metrics on every binary diagnostic. The positive class was resolved by parsing the display label back out of the proba_<label> column name, but those names come from class_names, which is either a user-supplied alias or a synthetic class_{i}; neither is a value y contains, so the (now mandatory) binarization zeroed the indicator. Measured against a true AUC of 0.9417: roc_chart titled AUC nan, pr_curve()["ap"] was 0.0, calibration_curve()["fraction_positive"] was flat at 0.0, and the Brier read 0.380 — mean(p²), in range and plausible and wrong. The positive class is now read from y's own distinct values when the model offers no classes_, the same rule the precomputed path already used; models that do expose classes_ (including with a class_names= display alias) are unaffected.
  • Breaking: a binary diagnostic whose target matches no row of the positive class now raises a typed ValueError naming both the class value searched for and the values y actually holds, instead of drawing a curve against an entirely-negative phantom target. An all-null target refuses the same way (nulls compare unequal to everything). This covers roc_curve, pr_curve, calibration_curve and discrimination_threshold; multiclass one-vs-rest is deliberately unaffected, since "no row is class k" is a legitimate answer there and lift_curve documents skipping zero-base-rate classes. An empty target is not an error, and an all-positive target still reports an honest NaN from the kernels. The refusal judges the request, not an internal slice of it: discrimination_threshold(cv=...) validates the positive class once against the whole target and then sweeps folds from that validated indicator, so a held-out fold containing no positives still contributes its honest all-zero sweep (unchanged numbers) instead of aborting the call.
  • Fixed (found by the close's own dtype matrix): confusion_matrix() — and therefore confusion_matrix_chart and ConfusionMatrixVisualizer — rendered an all-zero matrix whenever y was Utf8, Categorical, or Enum while the model's classes_ was numeric (the ordinary shape for a string-labelled target fed to any sklearn classifier: predict returns classes_'s dtype, not y's). The encode values were correctly coerced into y's domain, but the predictions were left in classes_'s, so every (actual, predicted) pair encoded to the kernel's out-of-vocabulary code and was dropped. Predictions are now translated through the same positional classes_ -> y-domain correspondence the encoding uses. Numeric y is byte-identical (the translation is the identity there).
  • Documentation corrections: the visualizer-family module docstring no longer advertises a .predict / get_params / set_params surface and GridSearchCV composability that does not exist (the real surface is fit / score / has_score / show, and without get_params sklearn.base.clone cannot work); ModelSource's constructor docstring no longer promises a class_names fallback to "the unique values of y", which the property has never done and documents at length why.

Breaking changes

  • AUC/AP values in titles/legends/overlays change wherever ties made the old unstable sort wrong; averaged-curve titles change number semantics to the weighted mean of per-class values.
  • Compared-path BrierLabels switch bin-level → per-sample; precomputed calibration gains a Brier in the title.
  • Binary targets outside {0, 1} — {-1, 1}, {1, 2}, string class labels — now produce correct ROC/PR/calibration metrics where they previously produced fabricated ones or raised; {0, 1} output is byte-identical.
  • chart + fm.BrierLabel() shows the per-sample Brier instead of the bin-level integral, and no longer replaces a correct existing label; ModelSource.calibration_curve() gains a brier column.
  • A NaN metric column renders as nan instead of falling back to an integrated (fabricated) value.
  • confusion_matrix() on a string/categorical y returns real counts instead of an all-zero matrix.
  • Binary diagnostics on a model without classes_ return correct metrics instead of collapsed ones (nan AUC, 0.0 AP, a mean(p²) Brier).
  • A binary target matching no positive row, or an all-null target, now raises a typed ValueError naming the class value and y's values instead of silently producing a plausible number.
  • CalibrationVisualizer._metrics/__repr__ key multi-model calibration error per model (calibration_error[<name>]) instead of reporting one pooled calibration_error.
  • Gain/lift binary labels: "Class 0"/"Class 1" → the model's real class names ("0"/"1" for integer classes).
  • Unknown FerrumVisualizer constructor kwargs go from silently swallowed to TypeError.
  • classification_report_chart gains a title and a new precomputed path; ModelSource's X becomes optional with typed refusals replacing leaked internal errors.
  • A bare-array polars DataFrame (pl.DataFrame(array), no schema=) fed to a ModelSource whose model was fit under different real feature names now raises sklearn's feature-name-mismatch error instead of silently computing a positionally-correct result with a warning.

Batch H closes seventeen open api-contract-audit findings across annotations, structural charts, the reactive-parameter surface, and the composite/output API (F-L08-01/02/03/06/07/08, F-L13-01/02/03, F-L14-01/02/03/04, F-L15-01, F-L06-01/02/04). Dormant kwargs and dead spec-fiction surfaces either become real or get their docs corrected to match reality — nothing stays silently half-true.

Added

  • mark_segment(arrow=True, arrow_size=8.0) now draws a filled triangle arrowhead at (x2, y2) — a documented kwarg pair that previously raised TypeError. mark_segment() without arrow= is byte-identical.
  • Inset(bounds=...) accepts fm.px(...) entries without raising — pixel-tagged bounds resolve against the parent plot rect at layout time, per the original design px() had drifted away from. Mixed px()/norm()/bare-float entries in one bounds tuple resolve independently.
  • InteractiveChart.to_html() returns the byte-identical string twin of .interactive().save("x.html"), matching the guide's claim — the method didn't exist before.
  • A channel's own condition=<ConditionalSpec> kwarg (Color(field=..., condition=selection.when(...).otherwise(...))) now reaches the real conditional pipeline instead of serializing into an inert per-channel wire blob no renderer consumed. One vocabulary governs both spellings of a conditional (encode(<channel>=cond) and <Channel>(field, condition=cond)): it may target color, size, opacity, stroke_width, stroke_opacity, stroke_dash, fill_opacity or angle, and fill carries it onto color — the same target it aliases to for its base encoding, so both spellings produce the identical wire conditional. stroke and shape are not conditional targets, each for a measured renderer reason: the only conditional colour value repaints a mark's fill, so a stroke conditional would have recoloured the interior instead of the outline; and there is no shape value at all, so a shape conditional serialized cleanly and then did nothing. Both raise the same typed error as any other non-conditional channel until EncodingValue::StrokeColor / EncodingValue::Shape exist (filed follow-ups). StrokeWidth, StrokeOpacity, FillOpacity and Angle now declare condition honored, so their working condition= no longer draws an "accepted but not yet honored" warning. A wire channel carries at most one conditional: two declarations that resolve to the same channel (e.g. color= and fill=) now raise, naming both spellings, instead of emitting two conditionals with no defined winner.
  • sel.when(...)/.otherwise(...) branches accept a bare string as field shorthand (parsed the same grammar encode() uses) — a bare string means a field everywhere else in ferrum, and this closes the one place it didn't; a literal still requires fm.value(...).
  • Every composition view (HConcatChart, VConcatChart, ConcatChart, LayerChart, JointChart, RepeatChart, ClusterMapChart) gains to_dict(), to_json(*, indent=None), and pipe(fn, *args, **kwargs); Chart gains pipe(). to_dict() is a recursive declaration dict — a nested composite child now embeds recursively instead of None. The six _CompositeBase views carry the figure-level title/subtitle/caption set via .properties(...) under those key names, omitted when unset (so a chrome-free composition's dict is unchanged, and JointChart/RepeatChart/ClusterMapChart's to_dict() still equals .spec when untitled); LayerChart carries title only, since a single-plot overlay has one title slot and fans subtitle/caption to its layers. A title is serialized through the same helper a leaf chart's title uses, so it carries the same {"text": ...} shape at every level of the dict and fm.Title(...) no longer produces a dict to_json() cannot serialize.
  • Facet(field, columns=N) (the facet= wrap channel) is honored — previously a warn-and-noop. It writes the same ncols sink Chart.facet(ncols=N) already writes, with last-writer-wins precedence between the two spellings. FacetRow/FacetCol's columns= is unaffected (still warns and drops — a wrap count has no meaning in grid mode).
  • Breaking (close cycle 3, H3-1): Chart.layer(Layer(encoding={...}))'s channel-carried condition= now reaches the real conditional pipeline too — a fourth entry point alongside encode()'s two spellings and Chart.conditional(), gated by the same vocabulary (stroke/shape/x/y raise the same typed error). Previously it silently serialized into the dead per-layer EncodingSpec.condition blob and did nothing.

Fixed

  • Breaking: annotate_arrow(...) now renders a filled arrowhead by default on all three of its render paths — standalone .to_svg(), unlabelled + overlay, and labelled overlay — where it previously rendered headless everywhere; ann.arrow() (which already drew a head) is unchanged. Both mark_segment(arrow=True) and annotate_arrow share one triangle-geometry helper, so the two are byte-consistent for the same endpoints and size.
  • Breaking: annotate_vline(..., label=...)'s label now renders near the top of the line, matching its docstring — it previously anchored to the plot's bottom edge under NormCoord's real y convention.
  • NormCoord's docstring corrected: 0.0 is the left/top edge and 1.0 is the right/bottom edge (SVG's downward y), not left/bottom → right/top as it previously (and always incorrectly) claimed. No render-side behavior changed — only the docs were wrong.
  • Breaking: BreakAxis marks, glyphs, and ticks now follow the guide's documented clipping/placement contract instead of silently distorting under a gap. Extent marks (bar/area/rect/ribbon, plus filled shapes like violin) clip per visible segment instead of stretching across the gap or vanishing; glyph marks (point/tick/text/label/image) translate whole to their compressed position and hide whole when their anchor falls in a gap, never split or resized; vertex-placed marks (line/rule/segment/polygon-outline/arc) place each vertex independently. In-gap ticks and gridlines hide correctly, the axis title no longer teleports off-canvas when a gap straddles the axis midpoint (three existing break goldens re-blessed and PNG-inspected — one element each, the returned title), a SecondaryY layer is exempt from a break declared on the primary axis, and gap normalization fixes an indicator-pixel accounting bug at gaps touching a domain edge.
  • Breaking: a BreakAxis annotation whose data-space coordinate falls inside a gap is now suppressed with a named warning instead of silently rendering at the unbroken (wrong) position; an extent-shaped annotation (rect, span, line, arrow, bracket) is suppressed when its interval crosses a gap too, not only when an endpoint lands in one — previously a rect large enough to contain the gap came back and painted straight across the break while every smaller, overlapping rect was dropped. A surviving data-space annotation is remapped through every same-axis break the same way a mark would be. Separately, and on every chart rather than only broken ones: an out-of-domain annotation value now clamps to the correct plot edge (a prior sign error put it on the mirrored side, e.g. annotate_hline(y=-50) on a [0, 100] axis rendered above the plot; the break's fold only made the long-standing error conspicuous). Inset(connect_to=...) resolves its out-of-domain anchor through that same corrected rule.
  • BreakAxis no longer disappears without a trace. A break on a reversed scale (LinearScale(reverse=True), whose domain is descending) now actually breaks the axis instead of rendering an unbroken chart; a break that resolves to zero effective gaps (every gap outside the domain, or an ordinal axis, which has no numeric domain for a gap to clip against) warns instead of silently doing nothing, and draws no break indicator over a scale it never moved; and a break on a non-linear scale (log, pow/sqrt, symlog) warns that its gap placement is computed with a linear pixel-to-data map and so removes a different data range than requested (unfixed, and previously silent).
  • mark_segment(arrow=True) under a BreakAxis keeps its arrowhead's size and its alignment with the shaft: the head is now rebuilt from the shaft's placed endpoints — the same thing annotate_arrow has always done on the annotation path — instead of having its three vertices placed independently, which sheared a 20px head into a ~90px one across a gap. The shaft still places per vertex.
  • An x-axis's tick marks survive a y-axis BreakAxis (and vice versa). A break decided which chrome was "its own" from a pixel coordinate, and a downward x tick starts ON the plot floor — inside the y axis's own pixel span — so on a chart with no scale padding all of its x ticks were reverse-mapped and clamped to a single pixel, i.e. rendered as zero-length lines. Ownership now comes from the axis's own dimension. Affected goldens (three break-indicator charts and the clipped-bar chart) were regenerated: one element each, the bottom y tick label's baseline, which moved 4.6px closer to its siblings' convention — every other y label on a broken axis sits +4.63px below its own dash, and the bottom label now sits at +0.00px rather than its prior −4.33px offset. It remains the lone outlier; the break's segments are laid over the plot rect while the label's baseline offset reverse-maps as if it were a data position, and closing that gap needs the scale-pixel-range fix tracked as a follow-up, not this one.
  • Breaking: a BreakAxis whose gaps all miss the (padded) domain — the "zero effective gaps" case just above — now renders exactly the unbroken chart, not merely a stable approximation of one. The zero-effective-gaps warning was accurate about the diagnosis from the moment it shipped, but the render still went through a single-segment "identity" map laid over the plot rect while the real remap reverse-maps from the scale's own PADDED pixel range — so it silently collapsed the scale's padding, moving every mark, tick, and gridline by up to the padding width (as much as 8px on a typical chart) on a break the warning itself says did nothing. Dropping that stale map closes the gap between the diagnosis and the render; no goldens move (none of the shipped break goldens have out-of-domain gaps on a continuous axis).
  • Inset(bounds=...) now refuses at construction time for out-of-[0, 1] normalized entries, negative pixel entries, and an empty box (compared only within like kinds) — previously these constructed silently and rendered off-canvas or degenerate. The docstring and guide drop the incorrect "bare float = data-space" claim; bare floats have always meant normalized [0, 1] fractions.
  • fm.param(...).ref() is now consumed at all three documented sites — scale domain=, transform_filter(...), and a conditional's when()/otherwise() branch — instead of silently going nowhere, or, at transform_filter, silently mangling into a garbage predicate. A conditional ref resolves to the named parameter's registered static value on a real chart, or raises ValueError naming the parameter when it isn't a registered value-bearing fm.param().
  • Auto-raster's color exclusion now splits by type, and the type is inferred from the column dtype when the channel carries no annotation — color="z" on a numeric column substitutes exactly like color="z:Q", color="c" on a string column stays excluded, and an explicit annotation always wins (color="z:N" on a numeric column keeps the exclusion). The exclusion warning describes only the type the gate actually determined, so it never calls a numeric column categorical. A quantitative color encoding no longer blocks auto-raster — it substitutes mark_raster(aggregate="mean", field=<color field>, cmap=<the channel's own scheme, or raster_scheme>) instead of silently staying vector past raster_threshold. A categorical/ordinal/temporal color encoding keeps the exclusion (permanently — no pixel aggregate preserves a category's identity), now with a specific warning naming the field and the manual mark_raster(...) workaround. An explicit RenderConfig(raster_aggregate=..., raster_field=...) still wins wholesale over the color-driven default.
  • Breaking: every composite constructor (HConcatChart, VConcatChart, ConcatChart, LayerChart, JointChart, RepeatChart, ClusterMapChart) now raises TypeError naming the offending type for a child that isn't a Chart or composition object, instead of constructing silently and failing much later at render time with a generic node-kind error. chart | non_chart / chart & non_chart now raise Python's own operator TypeError instead of building a broken composite around the invalid operand.
  • Fixed (close cycle ¾, H3-4): a composition's .properties(title=..., subtitle=..., caption=...) now actually renders for every one of the three chrome keys, on all seven wrappers — to_svg()/.interactive() previously raised an unmapped TypeError: 'Title' object is not an instance of 'str' on subtitle=/caption=fm.Title(...), a spelling to_dict()/to_json() silently accepted. title=fm.Title(text=..., subtitle=...) now routes the Title's own subtitle into the composite's separate (already-working) subtitle slot instead of silently dropping it, unless an explicit subtitle= is also given in the same call, which raises ValueError naming both spellings. A Title field with genuinely nowhere to go on a composite (anchor, offset, font_size, font_weight, color, subtitle_font_size, subtitle_color; subtitle itself on subtitle=/caption=, or on LayerChart's title=, which has no separate subtitle slot) raises ValueError at .properties() time rather than silently vanishing. A leaf Chart's own title= is unaffected and keeps full Title richness.
  • Fixed (close cycle 4): encode(color=fm.Color("g"), fill=fm.Fill(condition=cond)) — a fieldless fill conditioning color alongside a base color encoding — builds again. Cycle 3's alias-collision guard raised on this call unconditionally; a fieldless alias source has no field for the alias to drop, so there was nothing to collide with. The equivalent bare-ConditionalSpec spelling (encode(color=..., fill=cond)) was never affected.
  • Fixed (close cycle 4): Chart.layer(Layer(encoding={"color": cond})) — the bare ConditionalSpec spelling inside a layer's encoding, matching encode(color=cond) — now reaches the chart's real conditional pipeline instead of silently vanishing (no warning, no conditional, the key simply absent from the serialized layer). Cycle 3 only routed the channel-carried spelling (Layer(encoding={"color": fm.Color(f, condition=cond)})).

Breaking changes

  • annotate_arrow(...) renders a filled arrowhead by default on every render path; annotate_vline(..., label=...)'s label moves from the bottom to the top of the line.
  • BreakAxis extent/glyph/tick placement changes to match the documented clipping model (three existing break goldens moved by one element — the restored axis title); in-gap annotations now suppress with a warning instead of rendering at the wrong position, and surviving annotations remap through the break.
  • A BreakAxis whose gaps all miss the (padded) axis domain now renders exactly the unbroken chart instead of an up-to-8px-shifted approximation of one — no goldens move (no shipped break golden has out-of-domain gaps on a continuous axis).
  • Inset(bounds=...) raises ValueError at construction for out-of-range, negative-pixel, or empty-box entries that previously constructed silently.
  • A channel's condition= kwarg that isn't a ConditionalSpec now raises TypeError instead of being silently accepted and serialized into a dead wire blob. A conditional declared on a channel that cannot carry one (text, tooltip, detail, href, key, url, description, the facet channels, and the positional channels) raises ValueError at encode() time naming the supported set — before this batch such a call was silently inert.
  • Charts past raster_threshold whose color channel names a numeric column with no explicit type now substitute mark_raster (previously they stayed vector and warned, on the mistaken grounds that an unannotated column is categorical).
  • LayerChart.to_dict() omits title when no title is set, instead of emitting "title": None — the same omit-when-unset rule the other six composition views now follow. A composition's to_dict() title is a {"text": ...} dict (the leaf chart's own title shape), not a bare string.
  • stroke and shape are not conditional targets: encode(stroke=<ConditionalSpec>), encode(shape=<ConditionalSpec>), and the Stroke(field, condition=...) / Shape(field, condition=...) spellings all raise ValueError. fill and stroke_dash are unaffected. A shape conditional previously built and rendered — it just had no visual effect.
  • Two conditionals resolving to the same wire channel (e.g. encode(color=condA, fill=condB), or a second Chart.conditional() on an already-conditioned channel) raise ValueError instead of both reaching the wire.
  • Composite constructors and |/& operators raise TypeError for a non-Chart, non-composition child/operand instead of constructing silently.
  • Quantitative-color charts past raster_threshold now substitute mark_raster instead of silently staying vector.
  • (close cycle ¾) Chart.layer(Layer(encoding={"color": cond})) (both the bare ConditionalSpec and channel-carried spellings) now lands the conditional in the chart's real conditionals pipeline instead of the dead per-layer wire blob; a stroke/shape/x/y conditional inside a layer's encoding now raises the same typed ValueError encode() raises.
  • (close cycle ¾) encode(color=fm.Color("d"), fill=fm.Fill("c", condition=cond)) (and the layer-encoding equivalent) now raises ValueError when fill carries a field — previously it silently dropped fill's field while keeping its conditional, which then overrode color at selection time. A fieldless fill=fm.Fill(condition=cond) is unaffected and still builds.
  • (close cycle ¾) A composition's .properties(title=..., subtitle=..., caption=...) now renders for all three chrome keys on all seven wrappers; a Title's own subtitle routes into the composite's subtitle slot (or is refused, typed, if it collides with an explicit subtitle=); a Title field with no composite-chrome slot (anchor/offset/font_size/font_weight/color/subtitle_font_size/subtitle_color, or subtitle on subtitle=/caption=/LayerChart's title=) raises ValueError instead of silently vanishing. A leaf Chart's own title= is unaffected and keeps full Title richness.
  • (close cycle 4) Chart + Chart now raises ValueError when both sides carry a conditional on the same wire channel (e.g. both condition color) — previously it built with two conditionals stamped the same channel and no defined winner (the WASM runtime applies every conditional to every mark batch in every panel, with no per-layer scope). Two layers conditioning different channels still compose freely.

0.22.0 — 2026-09-07

Two correctness campaigns land at once: the transform-engine batch (#168 — one dtype policy across ~20 transforms, live groupby= for regression/loess/impute/top_k, tie-aware ranks and peer-aware window frames, an expression grammar that parses its own documented forms, real glm/gam smoothers, and a Rust-owned transform_registry that Python derives from instead of mirroring) and the mark-geometry batch (#177 — real monotone/basis/cardinal curves on line/area/ribbon, arc corner fillets, mark_function(clip=False), standalone bin=True with per-bin aggregation, facet strip titles, coord guards, and a boxen/violin/boxplot/contour truth pack). Silent parameter drops die loudly throughout.

Added

  • Breaking (close-review hardening): mark_smooth(method="gam") gains k= (basis dimension, default 10, clamped to [4, distinct x count] — the knob for under-smoothing on high-frequency data; refuses k < 4 and k= on non-gam methods). Explicit bandwidth= on a non-loess mark_smooth method now raises typed instead of being silently ignored (matching degree='s policy). ferrum._core.transform_registry(kind) gains a fourth key, "secondary_outputs" — the named secondary batches (qq reference line, letter-value bands/outliers, linkage dendrogram) are now declared schema, not unchecked literals; the name-prefix rule is uniform across all three, which changes one runtime key: a ferrum.QQ(name=...) spec's reference-line batch is now published as "{name}_qq_line" instead of the bare "qq_line" (unnamed specs are unchanged). Two formerly-silent aggregate-name fallbacks in pivot and top_k (an unknown aggregate quietly summing) now raise typed errors.

  • Breaking: rank and dense_rank written without a field are now tie-aware (behavior change). A window op written the way the guide writes it, {"op": "rank", "as": "rank"}, used to fall back to row_number, so tied sort values drew distinct, order-dependent ranks. Ranks now come from the sort columns: rows equal on every sort column share a rank, competition-style for rank (1, 1, 3) and dense-style for dense_rank (1, 1, 2), matching SQL and Vega. An explicit field= keeps its field-keyed behavior unchanged, and a spec with no sort= still ranks by row order.

  • Breaking: Rolling window frames are peer-aware by default (behavior change). transform_window(..., frame=...) now treats rows tied on the sort key as a unit: the frame is anchored on the unit's own row-offset bounds and then both ends of that range grow outward to whole peer groups, so tied rows always share one frame and therefore one aggregate value and a frame boundary never splits a peer group. Vega's ignorePeers: false default also expands both ends outward via Window.js adjustRange (bisect.left/bisect.right), but diverges in its anchor: Vega anchors each row's frame on the current row (i0 = max(0, i - preceding), i1 = min(n, i + following + 1)), whereas ferrum anchors on the peer run's bounds. This guarantees ferrum's tied rows always share one frame and one value; Vega's need not. Example: on a sort key t=[1,1,2,3,3] with values x=[10,20,30,40,50] and frame=(-1,0), ferrum outputs [30,30,60,120,120] while Vega outputs [30,30,60,120,90] — only the last row differs. Pass the new transform_window(..., ignore_peers=True) to restore the previous row-offset frames. Only rolling aggregates with an explicit frame over a sort key that actually has ties are affected; all other window output is byte-identical.

  • The expression grammar (transform_filter/transform_calculate) gains array literals ([e1, e2, …]), function-call syntax, and one builtin, indexof(array, value) — the documented membership form indexof([1, 2, 3], datum.id) >= 0 now actually parses; it previously raised on the , inside the array. transform_filter's dict-list shorthand ({"field": [...]}) compiles to exactly this form. Fixed: a dict/scalar filter value that was a Python bool or None previously leaked Python's capitalized repr() (True, None) into the generated predicate, which the grammar cannot parse (unexpected identifier: 'True') — fm.transform_filter({"active": True}) now works. All three dict-filter branches also normalize numpy/pandas scalars (np.int64, np.float64, np.bool_) like their Python-typed equivalents and refuse non-finite floats and unsupported types by name.

  • ferrum._core.transform_registry(kind: str) -> dict — a new Rust-owned registry giving the method vocabulary, output schema, and accepted parameters for any transform kind (ValueError naming the known kinds otherwise). Several previously hand-maintained Python mirrors (mark_smooth's method validation, KDE kernel and QQ distribution vocabularies, output-column names used by figure/desugar consumers) now derive from it instead of risking drift from the Rust implementation.

  • transform_top_k(groupby=...) — top-k per category: the aggregate (op over field) is computed per groupby key, the keys are ranked, and every row belonging to a top-n key survives. Without groupby= the behavior is byte-identical to before (the field's own distinct values double as the group key — a documented historical quirk, not the per-category use case). A row whose groupby key is null belongs to no group and is dropped from grouped output; a bare-string groupby raises (iterating a string yields characters, not column names).

  • Breaking: lmplot/regplot now draw real fit lines and CI bands for method="logistic", "glm", and "robust" — previously those branches referenced a nonexistent fitted column and raised (or rendered no fit line with scatter=True). lmplot's method= vocabulary widened from 5 to 10 names: the smooth-family set (lm, loess, quadratic, cubic, log, sqrt, gam) now derives live from the transform registry, with glm still mapped to the dedicated GLM transform (its own family=/link= surface). For logistic/glm/robust with any group-color encoding (hue=, or any channel the encoding alias table resolves to color — color=/fill=/stroke=, as keywords or via encode=), the fit is pooled across groups (those transforms have no per-group fitting yet) and is drawn in a neutral theme stroke rather than a group color. Four formerly-silent parameter drops now act: order='s default changed 1 → None ("the method's own default degree") and any explicit value — including order=1 — forwards into every smooth-routed method's degree-acceptance matrix (quadratic/cubic accept their own degree and raise on conflicts; log/sqrt/gam raise since they have no degree concept; loess takes it as the local-fit degree, so order=1 now gives the linear local fit it asks for; negative values raise typed), truncate= forwards to robust and raises typed for logistic/glm (which have no extent concept), show_metrics= works for every smooth-routed method plus robust instead of only lm, and x_bins=/x_estimator= now bin/estimate for every smooth-routed method instead of only lm — a chart passing them with e.g. method="loess" renders differently (previously they were silently dropped); for logistic/glm/robust (whose dedicated transforms take no binning parameters) an explicit x_bins=/x_estimator= now raises typed like truncate= does, instead of being silently ignored.

  • KDE kernels "exponential" (exp(−|u|)/2) and "linear" (triangular, 1−|u|) join the one shared kernel dispatch, so mark_density(kernel=...)'s documented list now computes end to end; mark_qq(distribution="lognormal") produces real lognormal theoretical quantiles (it was documented but refused by a stale validation tuple); and transform_density gains kernel= (default "gaussian", sharing the same dispatch — its gaussian output moves on the order of 1e-15 relative from a summation-order change, invisible at SVG precision).

  • Breaking: mark_smooth(method="glm") is newly accepted and fits a real GLM (IRLS via the shared glm core, Gaussian/Identity default), and mark_smooth(method="gam") is newly accepted and fits a real generalized additive model — a penalized cubic B-spline (P-spline) with a second-order difference penalty and a smoothing parameter chosen by generalized cross-validation, with the spline's Bayesian posterior confidence band. Both strings previously refused as unknown methods, so no existing chart changes. gam bends to follow the data the way loess does but is fully deterministic: it uses no randomness at all, so seed= has no effect on its band. It takes no degree= (the spline degree is fixed at 3; smoothness comes from the penalty), and it holds its boundary value outside the observed x range rather than extrapolating a cubic. method="lm" with degree>=2 now routes to genuine polynomial regression. Formerly-silent paths now raise: degree= passed to log/sqrt (previously ignored; glm refuses it too), a degree= that conflicts with quadratic/cubic's own degree (previously ignored — the error names method="lm", degree=d as the escape hatch; a redundant matching degree is still accepted), and a whole-frame polynomial degree at or above the usable point count (previously rendered an empty plot with no warning — this includes bare quadratic/cubic on 2-/3-row frames). A degenerate group in a groupby fit, or a degenerate facet panel, still degrades to a NaN range instead of raising. The Smooth constructor's degree default changed from 2 to None so a bare method="lm" stays linear. All other existing lm/loess/quadratic/cubic output is byte-identical.

  • Breaking: mark_line, mark_area, and mark_ribbon all render real interpolate="monotone" (Fritsch–Carlson), "basis" (uniform cubic B-spline), and "cardinal" (Catmull–Rom) curves through one shared Rust curve module. Previously "monotone"/"basis"/"cardinal" silently fell back to a straight line on mark_line/mark_area, and mark_ribbon refused any interpolate= other than the default outright. An interpolate value outside the seven-name vocabulary (linear, step, step-before, step-after, monotone, basis, cardinal) now raises on every mark that accepts the kwarg, via one shared typed error. Two disclosed byte-family changes on charts that already pass interpolate= (never on charts that don't): a banded/stacked mark_area/mark_ribbon under a step variant now steps both boundary edges instead of only the top one; and a series whose independent axis isn't the vertical screen axis (Stack(value_axis="x"), or any chart under CoordFlip) now curves along its true axis instead of always assuming vertical.

  • mark_arc(corner_radius=...) — previously accepted by the mark-kwargs allowlist but never read — now clips each wedge corner with an exact tangent-circle fillet, clamped per-corner to fit; the same wedge path renders a rounded polar mark_bar. corner_radius=0 (the default) is byte-identical to every arc/polar-bar render from before this change. Interactive-only, disclosed: polar wedge scenes (arc and polar bar) gain a polar_spans key per node, so a full-circle wedge (a one-slice pie, a single-group pad_angle=0 donut) is now hittable at every angle instead of only across a half-ring; static SVG is unaffected.

  • a rug mark_tick(band_size=...) — one quantitative axis encoded, no categorical channel — is no longer silently ignored. It now scales the rendered tick length by the panel's cross-axis extent (height for an x-rug, width for a y-rug). An unset band_size keeps the old fixed length exactly, not the ordinal default of 0.6 (which would turn an untouched rug into panel-spanning bars). Ordinal-tick band_size is unchanged, including a strip-plot-style tick that declares an ordinal axis alongside its own quantitative one; only a tick whose x resolves to a quantitative scale while y is also separately declared (the boxplot-cap/errorbar-cap idiom, not a rug) keeps its fixed length and ignores band_size, by design.

  • Breaking: mark_geoshape with geometry present under any coordinate system other than CoordGeo, and mark_arc under any coordinate system other than CoordPolar, now raise a typed error naming the mark and the required .coord() fix — instead of mark_geoshape rendering a silently empty panel (axis furniture only, no geometry), or mark_arc failing later with a generic missing-channel error that didn't name the real cause. mark_image's existing documented empty-scene behavior under a non-Cartesian coord is unaffected. Interactive-only, disclosed: fm.layer(cartesian_chart, polar_arc_chart).interactive() now refuses with the same typed error (the merged-flat interactive lowering drops the secondary layer's own coord, so the arc mark genuinely has none to satisfy its guard by the time it resolves); the identical chart's static to_svg()/to_png() is unaffected, since the composite overlay tree renders each layer against its own coord.

  • Breaking: X(field, bin=True)/Y(field, bin=True) finally render on a standalone chart. Previously the encoding kept pointing at the original, unbinned field after the Bin transform replaced the batch schema, so the chart either raised an unknown-column error or rendered garbage. The Bin transform gains optional per-bin aggregation of a second column (agg_field/agg, drawn from the standard aggregate vocabulary) emitted as a new agg_value output; the encode path automatically folds X(v, bin=True) + Y("w", aggregate="mean") into one Bin (the "standard histogram pattern" the docs already claimed works). Every rewritten channel's axis title recovers the user's own field name instead of Bin's internal bin_start/agg_value column names. A layered binned chart also gains an x2/y2 span so binned bars draw their true bin width instead of the mark's default width — the one disclosed byte-family change on charts that already passed bin=True. Six new typed refusals replace what used to be either a silent no-op or a confusing downstream error: more than one bin= in an encoding; more than one channel carrying aggregate=; the same channel carrying both bin= and aggregate=; a fieldless non-count aggregate; a pre-built bin=Bin(...) asked to also absorb an opposing aggregate=; and an unknown aggregate method name.

  • mark_function(clip=False) is a real toggle instead of a hard raise. The curve now genuinely extends past the panel edge for out-of-domain evaluation points, via a new per-batch scene-graph clip escape (MarkBatch.clip) rendered by both the SVG and WASM walkers. clip=True (the default) is byte-identical to every render from before this escape existed.

Fixed

  • Breaking: Every value column a statistical/window/flatten/aggregate transform reads now accepts any integer, unsigned, or float dtype (widened to Float64), instead of hard-rejecting anything but Float64 (about 20 transforms, including mark_errorbar, mark_smooth, mark_boxplot/boxen/violin, mark_raster, mark_swarm, transform_regression/loess/impute, and data_bin/data_stack/pivot) or silently emitting nulls/NaN/an unsorted result for a dtype it couldn't handle. A dtype it genuinely cannot read now raises, naming the transform, column, and dtype, instead of the two silent failure modes: transform_filter/transform_calculate over a UInt8/UInt16/UInt32/Float16 column used to silently evaluate to Null for every row (an Int64 column with identical values worked fine) — the expression field reader now reads every numeric width plus LargeUtf8; transform_timeunit with an unrecognized unit string used to emit an all-NaN column instead of raising; transform_top_k with an unsupported field dtype used to synthesize a row_{n} key per row (silently defeating grouping) instead of raising. transform_flatten on a list-of-Utf8 column now emits real strings (it used to emit an all-null Float64 column for any non-numeric list element type); list-of-int/float widens to Float64; a carried (non-flattened) column now preserves its exact dtype via Arrow's take kernel, including a Float64 column's nulls staying null instead of becoming NaN. The Python-side cast_columns_to_float64 shim ahead of boxplot/boxen/violin/swarm is deleted — it silently coerced non-numeric-looking columns (including numeric strings) before the engine could refuse them by type; the engine's own typed refusal now applies uniformly. Every dtype that worked before renders byte-identically.

  • Window sort= and field= columns accept every numeric dtype, and refuse the rest. An integer, unsigned, float or temporal column in sort= used to compare as "equal" and leave the window unsorted, so the guide's own cumulative-sum-over-integer-day example accumulated in row order. An integer field= used to read as NaN, so lag, lead and the rolling aggregates returned an all-null column. Both now coerce once per transform. A dtype the window can neither order nor aggregate (Boolean, Binary, list types) raises a ValueError naming the transform, the column and the dtype instead of silently producing an unsorted window or an all-NaN column, and a text column used as a numeric field= raises rather than aggregating to NaN. A field= is now interned (and validated) even for ops that never read it, such as row_number — {"op": "row_number", "field": "ghost"} now raises data_window: column 'ghost' not found instead of silently ignoring the field.

  • Nulls in a window sort= column order last. A numeric sort= column previously compared a null equal to every other value, which left the sort order dependent on input order and made "tied" intransitive; nulls now order last and tie only with each other. A text (Utf8/LargeUtf8) sort= column changes in the opposite direction: a null string previously coerced to "" and sorted first (and made null a peer of a genuine ""); it now orders last, consistent with the numeric case.

  • A window frame lying entirely before its own row is now empty. frame=(a, b) with a negative b (a window that ends before the current row) used to wrap around an unsigned cast and silently aggregate the whole partition. It now selects no rows, so the aggregate is NaN, or 0 for count.

  • transform_regression(groupby=...) and transform_loess(groupby=...) were declared on the wire and accepted by Python, but silently ignored by the Rust transform — every group's fit collapsed into one global curve, and the output never carried the groupby column, so color= against it raised unknown column. Both now fit independently per group, appending the groupby column at its original dtype; each group's output grid spans that group's own x-range, matching mark_smooth's existing grouped behavior. Ungrouped output is byte-identical.

  • Breaking: transform_impute(groupby=...) computed one fill value across the whole column regardless of group; it now computes each group's fill value from that group's own rows. A group with no non-null values of its own falls back to the whole column's statistic rather than degrading to 0.0 (which would silently distort the domain) or ±inf (which would drop the group's rows from the render). transform_impute(key=..., keyvals=...) is newly implemented with Vega semantics: within each group (or the whole batch, with no groupby), the key universe is keyvals= when given, else the distinct key values observed across the batch; a key missing from a group gets one row appended with the key and group columns set and every other column null. keyvals= without key= raises; a keyvals element outside the key column's own dtype width (e.g. 3000000000 against an Int32 key) raises instead of silently wrapping to a corrupted or duplicate key.

  • mark_swarm(size=/spacing=) and mark_raster()'s default resolution="screen" were silently inert in every real render — the transform pipeline never received the chart's pixel dimensions, so swarm always used a fixed collision radius in raw data units (not pixels) and resolution="screen" always produced a fixed 256×256 grid regardless of chart size. Both now respond to the chart's actual dimensions via a pre-layout size estimate — raster's grid genuinely scales up with a bigger panel. Swarm's pixel spread responds only to its value-axis panel dimension, inversely (height when vertical, width when orient="horizontal"): a longer value axis produces a smaller spread at the same size=, since less cross-axis displacement is needed to avoid collisions. The cross-axis panel dimension has no effect. This is an approximation (it excludes axis/legend/facet-strip gutters, unknowable before layout), not an exact match for the rendered plot area — see the dated note in ferrum-spec.md §3.3 (Marks) for the full contract. An explicit numeric resolution= is unaffected. mark_raster()/mark_violin charts change by a small amount (the estimate is close to the true panel size); mark_swarm charts change qualitatively, not slightly — since the pre-fix radius was a constant in the value column's own units, a column ranging over thousands produced no collisions at all and the cloud collapsed to a single line, regardless of size=/spacing=. No other chart's output changes.

  • mark_tick now renders per-row color=/fill=/stroke_opacity=/opacity= encodings — previously every tick rendered in the theme's flat default color and full opacity regardless of an encoded channel. Interactive-only, disclosed: one-channel tick layers in the merged-flat interactive assembly now dispatch by their declared shape (extending the existing mark_rule own-channel normalization to mark_tick), converging interactive tick geometry onto what static SVG already rendered — zero static byte movement.

  • mark_contour/bivariate mark_density fill mode no longer leaves a permanent unfilled hole at the density peak. The highest band now extends to the surface's true maximum instead of stopping at the second-highest threshold, so thresholds=1 renders a real band instead of nothing, and the color legend/colorbar (keyed off the same value) now reports the true peak instead of the second-highest threshold. Gaussian smoothing (smooth=True, the default) now runs before level computation instead of after, so isolines/bands derive from the same surface being contoured — a smooth=True chart's contour lines/bands may shift visibly; smooth=False charts are unaffected.

  • mark_violin(inner="quartile")'s q1/median/q3 ticks now confine to the violin's own body width instead of spanning the full panel — the same "a bare {x, y} mark="rule" draws a full-panel span" root cause mark_boxen's median line had. A hue split (color_field distinct from the categorical axis) still isn't per-hue dodged for these ticks — an existing, unchanged limitation, not new drift from this fix.

  • mark_boxplot(extent="min-max") no longer flags points beyond a fixed 1.5×IQR fence as outliers when the whiskers already reach the data's true min/max. The outlier point layer is now suppressed entirely for "min-max", regardless of outliers=.

  • Breaking: mark_boxen's depth cap unifies at 12, raised from two independent, disagreeing caps (6 in Python, 8 in Rust) — datasets large enough to compute deeper letter-value bands (k_depth="full" at a few hundred rows; "tukey"/"trustworthy" in the thousands) now render those previously-dropped bands instead of going visually inert once both caps saturated. palette= now samples 11 colorable slots instead of 5 — a continuous scheme's sampled colors shift on every existing palette= chart; a categorical palette's first 5 colors are unaffected. The default opacity ramp renormalizes against each chart's own real materialized depth rather than the configured cap, keeping adjacent-band contrast visible on typical (shallow-depth) charts instead of flattening it. The median layer is now a band-confined mark="tick" instead of a full-panel-spanning mark="rule". Every layer's axis titles recover the user's field names instead of LetterValue's internal group/lower/upper/value column names. The "outliers" secondary batch now emits only the true fenced-out rows instead of every observation — and, because the raised depth cap means a large-enough dataset (n ≳ 4096 under Tukey's own formula) now computes one or more letter-value depths deeper than before as the dataset grows (exactly one depth deeper just past that threshold, more at larger sizes, clamped once the new cap of 12 is reached), the outlier fence itself also tightens for those large datasets, on top of the pure filtering fix; smaller datasets see only the filtering change, not a fence shift.

  • Facet/FacetRow/FacetCol's title= kwarg — accepted silently but completely discarded — now reaches the rendered strip and the serialized facet dict, rendering "{title}: {value}" when a title is set. Chart.facet(title=...) sets the primary/wrap-dimension strip's title. Facets with no title set remain byte-identical.

Breaking changes

Concise index of the behavior changes; each has its full disclosure in the Added/Fixed bullet it names.

  • Transform dtype policy: a column dtype a transform genuinely cannot read now raises a typed error naming the transform, column, and dtype, where about 20 transforms previously emitted silent nulls, NaN, or unsorted output; the Python-side cast_columns_to_float64 shim is deleted.
  • Window semantics: rank/dense_rank without field= are tie-aware; rolling frames are peer-aware by default (transform_window(..., ignore_peers=True) restores row-offset frames); nulls in a sort= column order last, including text columns where a null previously coerced to "" and sorted first.
  • Registry hardening: a named ferrum.QQ(name=...) spec's reference-line batch key is now "{name}_qq_line"; an unknown aggregate name in pivot/top_k raises instead of silently summing; explicit bandwidth= on non-loess and degree= on degree-less mark_smooth methods raise.
  • lmplot/regplot: order='s default changed 1 → None and every explicit value now forwards; truncate=, show_metrics=, and x_bins=/x_estimator= act (or raise typed) on every method instead of being silently dropped for all but lm; logistic/glm/robust fits pool across group-color encodings and draw in a neutral stroke.
  • mark_smooth: conflicting or degenerate degree= values raise instead of being ignored or rendering an empty plot; the Smooth constructor's degree default changed 2 → None.
  • Panel-size awareness: mark_swarm clouds that previously collapsed to a line now spread (a qualitative change — the old collision radius was in raw data units); mark_raster(resolution="screen") grids scale with the panel.
  • Curves: charts already passing interpolate= step both boundary edges of banded/stacked areas under step variants, and curve along their true independent axis under Stack(value_axis="x")/CoordFlip.
  • Binning: layered charts already passing bin=True draw true bin-width bars (x2/y2 span); six formerly-silent bin/aggregate misuse patterns raise typed errors.
  • Contours: smooth=True charts derive isolines/bands from the smoothed surface (a visible shift); the peak band now exists and the colorbar reports the true maximum.
  • mark_boxen: the depth cap unifies at 12 (deeper bands render; the outlier fence tightens for n ≳ 4096), palette= samples 11 colorable slots, and the opacity ramp renormalizes per chart.
  • mark_boxplot(extent="min-max") suppresses the outlier point layer entirely.
  • Coord guards: mark_geoshape off CoordGeo and mark_arc off CoordPolar raise typed errors naming the fix, instead of a silently empty panel or a generic downstream error; fm.layer(cartesian, polar).interactive() refuses with the same error.

Changed

  • The interactive WASM bundle is rebuilt with the batch-E scene contract: polar_spans hit-testing for full-circle wedges, shared curve tessellation, and the per-batch clip escape.

Documentation

  • Batch D and E behavior is documented where users read it: the data-transforms guide (registry, groupby=, window frames, kernels), the marks-encodings guide, and dated ferrum-spec.md notes — every claim probe-verified against live renders.

0.21.0 — 2026-09-04

Four correctness campaigns land at once: the appearance-resolution batch (color/opacity/dash scales resolve end to end, one CSS color parser), the config-plumbing batch (every parsed configure_*/format/padding/legend field honored or typed-refused), the scale-variants batch (reverse= on every continuous positional scale, real d3 band/point padding+align geometry closing #67, TimeScale datetime domains and a pinned UTC contract, a wire-level scale-key gate), and the 2026-08 residuals/findings batches (total overlay chrome dedup, keyed interactive transitions, typed panel chrome slots). Silent parameter drops die loudly throughout.

Added

  • reverse=True on LinearScale, LogScale, PowScale, SqrtScale, SymlogScale, and TimeScale — domain-swap sugar applied at render time; the raw-dict scale={"type": ..., "reverse": true} spelling is honored identically. PointScale.reverse (a different mechanism, #65) is unaffected.
  • TimeScale(domain=None) constructs with an inferred domain like its continuous siblings; domain= also accepts datetime.date, datetime.datetime (naive or aware), and ISO-8601 strings, in addition to epoch-ms floats
  • Unknown raw-dict scale={...} keys refuse at the wire boundary, naming the offending key, the scale type, and the accepted list — closing the last #[serde(flatten)] silent-drop carve-out; the accepted-key table is published as ferrum._core.scale_accepted_keys(scale_type)
  • Chart.override scale paths now derive from the wire schema itself: seven wire keys gained override paths (nice, zero, stops, domainParam, paddingInner, paddingOuter, domainMid), snake_case aliases (padding_inner, padding_outer, domain_mid, domain_param) are accepted alongside the wire spellings, and five previously advertised-but-broken leaves now work; utc and quantiles (never functional as overrides) refuse with the registry's own guided error. ferrum._core.validate_scale_dict(scale) validates any raw scale dict through the same gate that enforces it.
  • scale= honored for StrokeOpacity and StrokeDash; opacity and dash scales resolve end to end with auxiliary legends
  • One full-CSS color parser — 148 named colors, rgb()/rgba(), strict boundaries; literal colors validate at mark construction (loud, sentinel-aware)
  • Discretizing color scales (Quantile/Quantize/Threshold) resolve — buckets, swatched colorbars, loud configuration; ContinuousScheme is constructible and Gradient renders under scale=
  • Heatmap appearance kwargs take real effect; inert continuous color on line and ribbon now fails loudly instead of silently flattening
  • Config wire-key gate, axis_y2, and a field-disposition manifest; format presets resolve on all five Python surfaces; format_type threads end to end (time presets, real ordinal, typed spec refusals)
  • Padding validates at every Python entry point with typed pixel-contract refusals; padding.auto is real and opt-in, and PaddingExceedsViewport tells the truth
  • Axis label culling is reachable with a real pixel-gap semantic; the legend orient/direction/values contract is real; axis config plumbing — every parsed field honored or typed-refused
  • raster_aggregate honest surface — construction refusals, raster_field threaded
  • Typed chrome-vs-content Panel slots (below_marks, chrome_above); total overlay chrome dedup — one shared plot rect, suppression gate retired (#89)
  • mark_boxen(palette=) colors the depth bands (#91); keyed interactive transitions with object constancy — enter/exit fades at any batch size (#93)
  • label_angle honored on the y axis (full transpose); theta-gated single-axis exemption for arc marks

Fixed

  • BandScale(padding=/padding_inner=/padding_outer=/align=) and PointScale(padding=) observably change bar/box/tick/heatmap-cell geometry, following d3's own layout model; categorical axis tick labels now land exactly on bar/box/tick centers for a padded scale with no explicit range= — previously the two disagreed by several pixels (#67)
  • TimeScale(utc=True)/utc=False render byte-identical SVG, and the utc wire tag survives resolution (previously silently dropped to false regardless of the source tag)
  • .override(<channel>_scale_domain=...) on a mark_bar() chart no longer includes a spurious zero-anchor — it now matches the equivalent explicit scale={"domain": [...], "zero": False} spelling (behavior change; see ferrum-spec.md §3.6's 2026-09-04 dated note)
  • BandScale(range=...) combined with an explicit Axis(values=...) tick-value override no longer panics — it now renders, landing the relabeled ticks on uniform slots
  • LayerChart gains | and & composition operators; one canonical to_polars coercion; user-facing messages name channels as the user wrote them under CoordFlip
  • encode() is a total function — five channel buckets, key honored, silent drops killed; the 17 accept-and-delete mark parameters resolved (implemented, removed, or documented); closed vocabularies enforce at construction
  • Deprecated axis x/y override spellings refuse with an accurate typed hint
  • One axis label-band quantity, gated on labels actually drawing (#97); degenerate-domain guards across continuous scales (#99, #104)
  • Non-Utf8 color columns group line and ribbon series; literal-paint layers keep their paint under inherited color channels; categorical-intent color_field columns type Nominal at the desugar
  • Phase-10 diagnostic charts (ROC/PR family) gained their legend titles; heatmap default cell borders now parse — goldens re-blessed and visually verified
  • Temporal scale domains accept numpy scalars and Decimal identically on chart-level and layer routes

Breaking changes

  • BandScale.scale() returns d3's band leading edge, which moves for padding_inner > 0: BandScale(domain=list("abcd"), range=[40, 260]).scale("a") is now 45.366, was 48.049 — correcting a placement that let the last band extend past the declared range end. bandwidth() and PointScale.scale() are unaffected. Default (unpadded) output is byte-identical.
  • Naming BandScale() explicitly now carries d3's own padding = 0.1 default (on both sides), where an auto-inferred categorical axis still constructs unpadded — a chart with scale=fm.BandScale() (or any explicit BandScale(...) with no padding= argument) renders narrower bands than before, with no padding argument anywhere in user code (four categories, mark_bar(): 112.327px auto-inferred vs. 98.629px for scale=fm.BandScale()).
  • The label-collision budget (cascade_slot_w/cascade_slot_h) now derives from the true adjacent-tick spacing (min_adjacent_gap(centers)) instead of a scale-blind quarter-slot heuristic, changing when axis labels rotate or wrap on non-default categorical scales: about 2.4% tighter (w/4 → w/4.1, more rotation/wrapping) under padding=0.1, and about 33% looser (w/4 → w/3, less) under PointScale(padding=0). Default (unpadded) categorical axes are unaffected (the change is ulp-scale only there).
  • mark_tick(band_size=) and mark_rect(band_size=) unify on full-length semantics (#85): an explicit band_size= value that previously measured a half-length extent now measures the full slot, so explicit values render up to twice their previous extent (defaults unchanged).

Changed

  • config_apply extracted from render/mod.rs — configuration-application ordering is a test-pinned API property (#143); render/mod.rs roughly halves
  • Structural refactor waves: StructuralOutput collapse, SlotRescaleCtx/PanelResolveCtx bundles, typed RangeProvenance, slot-index accessors, BatchPositionMeta (#41, #57, #61, #63, #64, #79, #86)
  • ~38 closed-choice validation sites route through one validate_choice; the five-bucket channel policy homed in encoding/_channel_policy.py (#103); inverted marks/diagnostics → plots dependency edges deleted; coord_flipped is a typed state

Documentation

  • Corrected two falsified claims below: the 0.10.0 (2026-05-20) entry claiming reverse= on continuous positional scales had shipped (it hadn't — not until this release), and the 0.20.2 (2026-07-23) entry claiming BandScale(padding_inner=) was confirmed geometrically inert on the dodge path (it no longer is, as of this release)

0.20.2 — 2026-07-23

A patch release closing out every open bug issue: annotation overlay, dodge geometry, tooltip provenance, and stacked-rendering fixes (#58, #66, #77, #78, #84). Two fixes are visibly rendering-correcting: boxplot median lines previously drew at twice their box width, and stacked histograms previously relied on paint order rather than true base-to-value segment geometry.

Added

None

Fixed

  • Labeled annotate_arrow stays a plain Chart and survives + overlay — previously the labeled form returned a VConcatChart, raising TypeError on overlay and splitting standalone rendering into two panels (#84)
  • Dodged mark widths (bar/rect/tick) clamp to their sub-band, so Dodge(padding > 0.1) can no longer render overlapping groups; BandScale(padding_inner=) was confirmed geometrically inert on the dodge path (#66)

Correction (2026-09-04, batch C): BandScale(padding_inner=) is no longer inert on the dodge path — the Unreleased batch above made scale padding real render geometry system-wide (closing #67), and Dodge composes with it: scale padding defines the drawn band, and Dodge subdivides that band and applies its own padding within it. - Boxplot median lines span exactly their box body instead of twice its width — a tick-vs-rect band_size semantics drift in the boxplot desugar, exposed by the dodge clamp; affected goldens regenerated and visually verified (#66) - Tooltip provenance is carried by an explicit promotion marker instead of re-derived from structure: a genuine chart-wide .encode(tooltip=) on a merged chart now suppresses per-layer auto-injection even with mixed per-layer tooltips, and field-based linked selections get per-layer tooltip fields (own auto fields ∪ selection fields) instead of one shared set (#78, #58) - Horizontal stacked histograms and densities render correctly — mark_histogram(orient="horizontal", multiple="stack") previously raised ValueError for every input. The stack's value axis is now carried on the wire (Stack.value_axis), mark drawers and domain widening are axis-aware, and all four bar drawers draw true base-to-value stacked segments — fixing the default vertical stacked histogram and real coord-flip stacked bars, whose segments previously overlapped and only looked stacked via opaque paint order (#77) - Labeled arrow +-overlay renders the same headless segment as every other arrow path (cross-path parity)

Other

  • Violin facet goldens regenerated for the median-width fix; lock-file version sync; docstring reference conversions and new-user docs audit fixes

0.20.1 — 2026-07-15

A patch release of interactive-rendering and annotation fixes found after v0.20.0, plus a documentation pass (#80–#83).

Added

None

Fixed

  • Interactive charts: bold text (figure title, axis titles, legend title) no longer renders blurry. The overlay @font-face now embeds the Inter variable font (font-weight:100 900) instead of a single-weight Regular face that forced the browser to synthesize faux-bold (#80)
  • Composite charts' .show() (hconcat/vconcat/concat/jointplot/clustermap/layer) displays inline in Jupyter instead of printing raw SVG markup to stdout (#81)
  • annotate_hline / annotate_vline label= now renders the label and is preserved under + overlay onto a chart, where previously it was a documented no-op (#82)

Other

  • The accepted mark-style **kwargs are now documented in a canonical "Mark style kwargs" guide section generated from the enforced allowlist, with docstring cross-references replacing vague "…, etc." boilerplate (#83)
  • API reference: the config value-classes (Configure, AxisConfig, …), resolve_format, and FerrumOverrideError are homed on a new configure page, and the Altair comparison's stale mark_geoshape "not yet implemented" rows are corrected

0.20.0 — 2026-07-12

Two secondary-axis and composite-legend feature streams (#52, #16), the dodge-by-model compare= diagnostics (#42), and Band/Point range handling (#39/#65/#40) land alongside a release-scoped bug sweep that consolidated 23 edge-case defects into eight remediating issues (#69–#76).

Added

  • chart + SecondaryY(...) secondary y-axis: per-layer independent y-scale slots, dual-side stacked axis bands, and a per-(panel, slot) interactive runtime for dual-axis charts (#52)
  • One figure-level legend for a composition: fm.Resolve(scale=, legend=), a compositor legend band for shared color/size resolve, and pairplot/jointplot rendering a single legend on hue (#16)
  • Shared color/size resolve now spans nested composites via a leaf-span union, so an outer resolve={"color": "shared"} reaches leaves inside nested concats and layered overlays (#74)
  • configure_legend(orient="none") suppresses a chart's legends and the figure-level band (#74)
  • importance_chart / shap_bar_chart / cv_scores_chart render dodge-by-model panels under compare=; dodge eligibility extended to importance/shap_bar/cv_scores/text marks (#42)
  • SecondaryY validates its mark against the primitive-mark set with a typed error (#71)
  • Axis-tick text nodes carry an explicit slot tag on the scene wire (#60, #73)

Fixed

  • Scale constructors no longer silently fabricate placeholder ranges or accept non-finite values: BandScale/PointScale/DivergingScale/SequentialScale and the continuous scales raise typed errors on short or non-finite input (closing a LinearScale(range=[5.0]) panic), and inverted band ranges yield non-negative bandwidth (#69)
  • An explicit Band/Point pixel range is re-anchored per facet panel, so marks and ticks stay within each panel instead of pinning to one absolute window (#70)
  • Independent-y conflict detection is spelling-independent — both the LayerChart(resolve={"y": "independent"}) and chart + SecondaryY forms raise the same conflict under resolve={"y": "shared"} (#71)
  • The internal column-collision rename is deterministic and never leaks a __rhs_ sentinel into axis titles or tooltips; the original column name is shown (#71)
  • An explicit tooltip on the primary layer of a layered chart no longer leaks to other layers; a scale-domain param declared on a layer reaches the wire so the secondary axis reflects its declared domain (#71, #72)
  • Interactive dual-axis charts: hit-testing finds rescaled secondary-layer marks at their displayed position, and a single-tick secondary axis relabels under a slot rescale (#73)
  • jointplot(kind="reg") and jointplot(marginal_kind="box") render instead of crashing; pairplot/jointplot accept an encoding object for hue; hist/hex + hue render one figure legend (#75)
  • compare= diagnostics: a reserved "base" key raises instead of overwriting the primary model, top_k=0 gives a legible error, infinite/NaN importances no longer corrupt the domain or ranking, and tied scores order deterministically (#76)
  • Dodge selects its band axis by resolved scale kind, fixing overlapping/desynced boxes for natively-horizontal marks (#75)
  • PointScale(reverse=) is honored at the positional resolver; categorical axis ticks sit at explicit-range band centers; a 3-element Diverging domain no longer truncates positional axes (#65, #39, #40)

Changed

  • Per-layer y-domain resolution is unified: one param-aware resolver feeds both axis ticks and mark placement, and the layer→slot mapping is computed once at prepare time (YSlotPlan) (#72)
  • The nested-resolve effective-mode gate is a single shared function across the domain-union and legend-band walks; the legacy secondary-axis silo and the dead spatial-index API were removed (#74, #52)
  • Diagnostic domain/ranking/field-name helpers were de-duplicated into shared functions across the plots builders

0.19.0 — 2026-07-05

Breaking changes

  • compose_svg_horizontal / compose_svg_vertical / compose_svg_grid removed from the public API — every composition renders through the unified Rust composite path; there is no public low-level SVG-stitching surface
  • All-empty compositions (e.g. zero-row pairplot/jointplot) raise a typed ValueError instead of rendering a blank grid
  • JointChart.share_scale() / ClusterMapChart.share_scale() raise a typed ValueError — their panels share axes by construction (#53 tracks native resolve= support)
  • LayerChart with explicit resolve={"x"/"y": "independent"} raises a typed ValueError (overlay one-panel contract; #52 tracks per-layer scales) — previously silently ignored
  • share_scale() now resolves at render time through the composite tree with transform-aware unions (box whisker reach, KDE support); it no longer injects explicit scale= dicts onto child charts

Added

  • composite spec tree types for the Rust composite render path (#45)
  • per-panel LayoutScale for ratio-fitted composite cells (#45, D4a as amended)
  • composite scale-resolution pass (#45, pass 1 of 3)
  • thread D4b resolved-domain context through the scale seam (#45, Task 5a)
  • composite render core — layout + scene passes (#45, passes 2+3)
  • PyO3 composite entries + WASM baked-geometry single source of truth (#45, Task 5c)
  • route HConcat/VConcat through the Rust composite render path (#45, Task 6)
  • ConcatChart wrap grids through the Rust composite path — compare= rides automatically (#45, Task 7)
  • per-leaf binding inputs + themed per-child panel labels (#45, Task 5d)
  • residuals compare= shares axes position-wise — the #45 headline
  • grid/wrap hole children on the composite wire (#45, Task 8a)
  • JointChart + ClusterMapChart through the Rust composite path as ratio grids (#45, Task 8b)
  • RepeatChart + LayerChart through the Rust composite path — all forms unified (#45, Task 9)
  • color/size channels in the composite resolve pass (#45)
  • Python composite-path gate drops ahead of legacy deletion (#45)
  • root chrome config + sized linear holes on the composite wire (#45)
  • delete the Python legacy composition paths (#45)
  • compose_svg_* no longer exist (#45)

Fixed

  • clear ValueError for leverage-only charts on no-hat-matrix models (#44)
  • per-class cumulative walk + facet for shap_waterfall per_class=True (#46)
  • chart-level explicit x/y scales survive composite-mark desugar (#45)
  • sanitize zero/non-finite log-domain endpoints at construction (#49)
  • split render passes at scissor boundaries — wgpu 29.0.3 workaround: interactive scenes with 3+ mark-bearing panels drew only one panel's marks (#51 tracks upstream)
  • full 72h-review findings burn-down — every logged item resolved; interactive renders now emit RenderWarnings like static output (#50)

Changed

  • share_scale unified onto resolve= — one sharing mechanism (#45 close)
  • collapse whole-change gate findings (#45)

Other

  • per-class waterfall golden + SHAP compare= shared-x hardening (#46)
  • remediation spec + plan for issues #44/#45/#46; Phase B spec, plan, and sub-decision records
  • Phase B close — composite rendering documented, W4/W5 retired
  • track Phase A design-review S2 deferrals
  • 72h full-span review close — exclusion semantics documented, findings logged
  • ruff-format the wrap_svg_with_chrome stub

0.18.2

2026-06-27

Added

  • render compare= small multiples for 4 clustering charts; refine 2 sweep-chart rejections (#35)
  • render compare= small multiples for regression charts + fix pooled-residual band (#35)
  • render compare= small multiples for 4 model-selection charts (#35)
  • render compare= small multiples for 6 explanation charts (#35)
  • add _compose_compare helper for multi-model small multiples (#35)
  • add Quantile/Threshold ScaleSpec wire variants (SPEC-04, #38)

Fixed

  • pdp compare= must use independent per-feature x, not shared (#35)
  • order-preserving ordinal scale sharing (#35)
  • positional Quantile/Threshold use data extent, not domain-as-extent (SPEC-04)
  • single-source _scale_to_dict via Rust delegation; fix Quantile/Threshold encode (SPEC-04)

Changed

  • de-duplicate compare= gate kwargs + public ComparedModelSource accessor (#35)
  • single-source the scale wire form via Rust to_scale_spec (SPEC-04)

Other

  • ferrum-spec compare= note + representative compose goldens (#35)
  • align ComparedModelSource import order in explanation.py (#35)
  • design spec + plan for compare= aggregate rendering (#35)

0.18.1

2026-06-25

Added

  • None

Fixed

  • Unify cmap-vocabulary holdouts on the canonical scheme= keyword. (#32)
  • Offset inset <svg> and data-anchored <image> raw nodes in composed interactive renders. (#34)

0.18.0

2026-06-23

This release lands the cohesion campaign: a 20-agent audit of the whole codebase surfaced 193 findings (sibling drift, duplicated logic, silent-failure seams, naming drift, dead code), and every one is now addressed across the Python declaration layer and the Rust compute/render engine. The refactors are overwhelmingly byte-identical — the full SVG/PNG golden suite is unchanged — so the bulk of the work is invisible at the output level. The user-visible changes below are correctness and no-silent-failure improvements, API-vocabulary unification (old spellings keep working as deprecated aliases), and one breaking module-path change (ferrum._diagnostics → ferrum.diagnostics).

Added

  • compare= and random_state are now uniform across the model-diagnostic figure families. roc_chart, pr_chart, prediction_error_chart, residuals_chart, and their siblings accept compare={"name": model, ...} for multi-model overlays and a random_state= for reproducible resampling, where before only one module exposed them. The 17 single-model-aggregate paths that cannot overlay raise a documented ValueError instead of silently ignoring compare=. (PLOT-01, XSIB-08)

Fixed

  • Degenerate hand-authored Bin JSON now errors instead of silently coercing (behavior change). A ChartSpec.from_json carrying a hand-built bin spec with bin_count: 0 or a non-finite / non-positive bin_width previously fell back to a self-inconsistent Sturges default; it now raises. Unreachable through the Bin / transform_bin constructors (which already validate) — only hand-authored JSON is affected. (XFORM-04)

  • A mistyped data-transform key now raises instead of being silently dropped (behavior change). The transform_* family (transform_bin, transform_aggregate, transform_window, ...) serializes to a dict that crosses into the Rust engine. Previously an unknown key on that dict — e.g. transform_bin("x", maxbin=3) with the maxbins typo, or a hand-built {"type": "data_bin", "field": "x", "maxbin": 3} — was dropped without warning, so the transform silently ran with defaults. Each per-transform spec now carries #[serde(deny_unknown_fields)], matching the strictness the theme and per-channel paths already enforce. An unrecognized key now raises a ValueError that names the bad field and lists the valid ones (e.g. unknown field `maxbin`, expected one of `field`, `as_`, `maxbins`, `step`, `nice`, `name`, `extent`). Valid transforms are unchanged and render byte-identically. (SEAM-04)

  • A mistyped encoding-channel or top-level chart key now raises instead of being silently dropped (behavior change). Completing the no-silent-drop seam, EncodingSpec and ChartSpec now carry #[serde(deny_unknown_fields)]. A hand-authored spec with a typo'd channel key (e.g. {"field": "a", "typ": "Q"} instead of "type") or a typo'd top-level key (e.g. {"marrk": "point", ...} instead of "mark") fed to ChartSpec.from_json now raises a ValueError naming the unknown field, rather than dropping it and rendering with the value silently missing. Only reachable via hand-authored JSON — ferrum's own to_json/to_spec never emits an unknown key, so every valid chart round-trips byte-identically. The one documented exception is a scale sub-dict: ScaleSpec is an internally-tagged enum whose variants flatten ContinuousScaleCommon, and serde cannot enforce deny_unknown_fields through a flattened/internally-tagged shape, so a typo'd scale key (e.g. clammp) is still tolerated and dropped. This structural constraint is documented on the ScaleSpec doc comment. (SEAM-04)
  • Bin2D (2-D histogram binning) now errors on a reversed or degenerate explicit extent instead of silently dropping every row (behavior change). A reversed extent_x=(hi, lo) (or extent_y) made the in-cell row filter exclude every in-range value, so jointplot(kind="hist") and other 2-D histograms produced an empty grid with no error or warning. Bin2D now validates each explicit extent (lo < hi, both finite) at both construction and apply, raising a ValueError that names the offending axis — exactly as the 1-D Bin already did. Fixes a pre-existing sibling-drift between the 1-D and 2-D binners. Valid extents are unchanged and render byte-identically.

Changed

  • Render-warning text is now a stable Display contract instead of the Rust enum's Debug shape (behavior change). Warnings emitted during rendering (palette overflow, out-of-domain rows, empty/collapsed panels, dropped facet panels, ignored sort specs, color-range parse failures, elided tick labels, overflowed legends) cross into Python via warnings.warn. Previously the message text was the Rust RenderWarning/LayoutWarning Debug representation (e.g. SortSpecIgnored { reason: "missing field" }), which leaked the internal variant/field shape and was not a stable contract — any field rename silently changed the string. Each variant now has an intentional Display message (e.g. sort spec could not be applied (missing field); categories fall back to insertion order), so the user-facing warning text is a deliberate, stable sentence. Code that string-matches on warning messages should match on the new wording. SVG/PNG output is unaffected — warnings are not part of the rendered document. (SEAM-07)
  • The unused typed Data* transform classes were removed from the Rust extension (internal). Every Phase-12 data transform existed twice across the Python/Rust seam: the public dict-emitting transform_* functions (the only path in ferrum.__all__) and a parallel set of typed PyO3 classes (DataAggregate, DataBin, DataCalculate, DataFilter, DataFold, DataPivot, DataStack, DataWindow) that were registered into ferrum._core and declared in the type stub but never imported, exported, or constructed anywhere. The dead typed classes are gone, leaving one transform-construction API (the transform_* functions). The transform_* public surface and behavior are unchanged. (SEAM-02)
  • Diagnostic visualizer score() now delegates to the wrapped estimator (behavior change). The FerrumVisualizer base score(X, y) previously returned a meaningless 0.0 stub for every visualizer that did not hand-override it. It now returns float(self.model.score(X, y)) whenever the wrapped model exposes a .score method, and keeps the 0.0 fallback only for genuinely no-model visualizers (rank / parallel-coordinates / class-balance / elbow, all constructed with model=None). This means model-backed visualizers that previously inherited the stub — PRVisualizer, ConfusionMatrixVisualizer, ClassificationReportVisualizer, ClassPredictionErrorVisualizer, DiscriminationThresholdVisualizer, CalibrationVisualizer, CooksDistanceVisualizer, FeatureImportancesVisualizer, PCAVarianceVisualizer, InterclusterDistanceVisualizer, SilhouetteVisualizer, ManifoldVisualizer, the SHAP visualizers, and the deprecated SHAPVisualizer — now report the estimator's own metric instead of 0.0. ROCVisualizer keeps its roc_auc_score override; the four model-selection visualizers and the two regression visualizers shed their identical copy-pasted overrides and inherit the base. The has_score class flag is replaced by a derived read-only property: viz.has_score is True exactly when score() returns a real metric (i.e. the wrapped model exposes .score), so the flag can no longer drift from the method. Two derivation gaps in that property are now closed so it holds for the non-standard subclass shapes too: (1) ROCVisualizer.has_score mirrors its own score() condition (a model with predict_proba but no .score — a valid sklearn shape — now reports has_score=True and score() returns the AUC, where before the inherited flag said False); and (2) a multi-model CalibrationVisualizer overlay (two or more positional models, or a single dict-of-models like {"a": m_a, "b": m_b}) now reports has_score=False and score() returns the documented 0.0 no-single-score fallback, instead of silently scoring only the first model (positional) or returning the stub (dict). Single-model calibration is unchanged. No SVG output changes — score() and has_score are not part of rendering.
  • annotate_text anchor/align vocabulary reconciled (additive, non-breaking). annotate_text now accepts the canonical anchor= keyword in the SVG vocabulary ("start"/"middle"/"end"), matching [annotation.text][]. The former align= keyword ("left"/"center"/"right") keeps working as a deprecated alias, mapped via {left: start, center: middle, right: end}. With neither supplied, the anchor defaults to "middle" (identical render to the old align="center" default). Supplying both anchor= and align= raises ValueError. Internally, the coordinate-coercion logic that was duplicated across annotations.py and annotation/primitives.py is consolidated into one home (annotation/coords.py), and each annotate_* now captures user-supplied style once and derives both the mark and the annotation primitive from it so they cannot drift. Render output is byte-identical (verified against the annotation golden suite).
  • Dodge position adjustment now accepts non-string grouping columns and signals an unresolvable grouping channel (behavior change). Dodge resolves its grouping channel (the by= field, else the color encoding) through the same category-coercion the rest of the renderer uses, so an integer, float, or boolean grouping column now dodges correctly. Previously only string columns worked; a non-string by/color column raised an error. The two contradictory failure policies are unified: a grouping channel that cannot yield categories — a missing/typo'd named column, or an un-categorizable dtype such as a timestamp — now emits one warning (dodge could not be applied (...); marks were not offset) and leaves the marks un-offset, instead of either hard-crashing (non-string) or silently producing an un-dodged plot (missing column). The one remaining silent no-op is a dodge requested with no grouping channel at all (no by and no color), which has nothing to group by. Existing string-column charts render byte-identically. (RSUP-05)
  • Breaking (defining-module path only): the model-diagnostics implementation package was renamed from the private ferrum._diagnostics to the public ferrum.diagnostics. The public import surface is unchanged — from ferrum import ROCVisualizer, import ferrum; ferrum.ModelSource, and every other ferrum.<Name> spelling work exactly as before. What changes is the defining module path: each diagnostic class's __module__ (and any direct submodule import such as from ferrum._diagnostics.source import ModelSource) now reads ferrum.diagnostics.* instead of ferrum._diagnostics.*. Code that imported a diagnostic class from the canonical ferrum namespace is unaffected; only code reaching into the private ferrum._diagnostics.* path needs to update to ferrum.diagnostics.*. Heavy sklearn-boundary internals moved under ferrum.diagnostics._internal, the visualizers/ submodules were underscore-prefixed to match sources/, and the visualizer surface is otherwise identical.
  • The deprecated dispatcher shims shap_chart and rank_chart are no longer in __all__ (advertised-surface reduction, non-breaking for direct imports). Both have long been deprecated dispatchers that warn and forward: shap_chart(kind=...) to shap_beeswarm_chart / shap_bar_chart / shap_waterfall_chart, and rank_chart(rank=...) to rank1d_chart / rank2d_chart. They are dropped from ferrum.__all__ and ferrum.plots.__all__ so the canonical split functions are the only advertised surface (from ferrum.plots import * and the API docs no longer list the two shims). The shims remain fully importable (from ferrum import shap_chart, rank_chart) and still warn-and-forward unchanged; their removal target is the next major release. The duplicated warn idiom shared by both shims was factored into one internal helper, leaving render output byte-identical. (PLOT-09)
  • Color-set vocabulary unified on scheme=, validated at construction (behavior change). scheme= is the canonical color-palette keyword on Color / Fill / Stroke (with cmap, continuous_palette, sequential, and diverging as deprecated aliases), and a bogus palette name now raises at construction instead of at render time. The Rust palette registry is the single source of truth: color.palette() / sequential() / diverging() return the true rendered colors for the colorous-backed palettes (viridis, plasma, magma, inferno, cividis, blues, rdbu) instead of hand-picked approximations. (ENC-06, XNAME-02, XSIB-07, ENC-11)
  • color.to_hex auto-detects byte vs. unit by value range and warns on an ambiguous overshoot (behavior change). A tuple with a component > 1 is read as byte ([0, 255]), so (1, 0, 0) → #ff0000; the previous type-based heuristic is gone. A unit color that overshoots 1.0 from float color math (e.g. (0.9, 0.9, 1.1)) is still read as byte but now emits a UserWarning pointing at scale="unit" / "byte" to disambiguate, instead of silently producing a near-black color. Pass scale= explicitly to suppress. (ENC-05)
  • apply_stack (stacking) now accepts non-string grouping columns and warns on an unresolvable channel — matching Dodge (behavior change). An integer, float, or boolean by / color grouping column now stacks correctly (was silently un-stacked), and a missing or un-categorizable grouping channel emits one warning and leaves marks un-stacked instead of silently no-op'ing. Existing string-column charts render byte-identically. (RSUP-05)
  • format_type is the canonical number/date format keyword on every channel. formatType is honored as an alias on positional channels, fixing an asymmetry where text channels dropped format_type and positional channels dropped formatType. (ENC-03)
  • mark_text now emits valid SVG for baseline="top", "bottom", and "alphabetic" (behavior change). The three text-baseline parsers were unified; those spellings previously produced an invalid dominant-baseline attribute, which adjusts the vertical placement of text marks that used them. (RSUP-04)
  • Annotations honor per-annotation z-ordering (draw above or below the marks layer), and the dead curve flag on arrow annotations was removed. (XDEAD-03)
  • Precomputed 1-D binary gain/lift curves now rank the negative class by 1 − p, consistent with the precomputed roc/pr path. (DIAG-01)
  • Interactive (WASM) click-selection uses typed field comparison, so a numeric selection co-selects 42 and 42.0, consistent with conditional highlighting. Browser-only; no static-output change. (WASM-04)
  • numpy-array figure inputs name columns col_0, col_1, … (the ferrum-wide convention) instead of f0, f1, …. (PLOT-03)

Deprecated

  • min_extent= / max_extent= → min_band= / max_band= on Axis, AxisConfig, and configure_axis (axis-band sizing). The old names warn and forward; "extent" is reserved for data-domain bounds. (XNAME-01)
  • extent= → method= (errorbar / errorband) and whisker_mult= (boxplot). The overloaded extent= keyword is split by mark; old usage warns and forwards. (XNAME-01)
  • align= → anchor= on annotate_text, cmap= / continuous_palette= → scheme=, and shap_chart / rank_chart dropped from __all__ — see the corresponding entries above. All keep working as before.

0.17.1

2026-06-20

Closes the remaining known-gap and bug issues from the v0.17.0 review and lands a large internal cohesion pass (full Python + Rust review → 13 findings, all behavior-preserving). The user-visible changes are a handful of default-behavior and channel fixes; the bulk of the release is internal refactoring that leaves render output byte-identical (verified against the golden suite). No breaking API changes.

Added

  • silhouette_chart and pca_scree_chart gained an opt-in subtitle= parameter (default None, fully backward-compatible), matching the classification/regression chart family.
  • EncodingSpec.condition is now a readable attribute (previously write-only at construction).

Fixed

  • facet(col=X) without an explicit ncols now lays panels side-by-side (a single horizontal row) instead of stacking them vertically, matching Altair/seaborn. facet(row=X), the generic facet(field=X) wrap, and any explicit ncols= are unchanged. (#24)
  • mark_line now honors the fill_opacity encoding channel (previously silently dropped). (#5)
  • The shape encoding now honors sort (alphabetical, data-aware "x"/"-x"/"y"/"-y", sort-field object, and explicit array). (#26)
  • A conditional-only color encoding (base color unset + a when(Color(...)) selection) now builds a categorical legend, so a bind="legend" toggle has entries to toggle. (#9)
  • Interactive data-label z-order no longer flips on the first zoom/pan tick — labels keep their paint order relative to annotations/axes (the placement now uses a DOM-order-preserving update). (#10)
  • Setting both color= and stroke= now emits a one-time warning that stroke is ignored (previously dropped silently).

Changed

  • Large internal cohesion refactor across the Python and Rust layers, all behavior-preserving (byte-identical output): a shared opacity resolver across the five core marks; one serde→Python getter helper and one appearance-channel honored-kwargs contract; chart.py facet machinery extracted to _facet.py with a type-safe _Facet; prepare.rs split into prepare/{mod,legend,extent}; shared figure-family annotation/facet helpers; and the symmetric concat composites deduped onto a parameterized _CompositeBase. No public API or render-output change.

Known gaps

  • ShapeKind::Square glyphs can exceed the panel clip in facets (#25, investigated as not-reproducible/cosmetic); completing the chart.py decomposition needs _NamedTransform co-relocation (#28).

0.17.0

2026-06-20

This release lands the archaeology #6/#7/#8 remediation to convergence (a multi-round review→remediate loop that ended with a 5-agent sweep finding zero in-class defects) plus two heavyweight-review cohesion refactors. The headline behavior change: faceted charts now share scales correctly across every data-driven channel, composite figure titles render, and the interactive (WASM) packed-instance path's metadata/positioning bugs are fixed. The work is predominantly behavior fixes; the new public surface is internal PyO3/transform plumbing. All output is byte-verified against the golden suite (5774 tests).

Added

  • MarkNodes node+index accumulator with a 5-channel alignment guard (tooltips, hrefs, descriptions, data_indices, keys), so every mark builder emits metadata aligned to its source rows.
  • ViolinSpec extent fields and a per-transform global_extent so faceted density/violin panels can pin a shared value-axis extent.
  • figure_title_nodes PyO3 helper backing interactive composite figure titles.

Fixed

  • Faceted shared scales. Faceted marks now match the global axis/legend across panels for every data-driven channel — positional x/y (raw fields under resolve="shared"), categorical data-aware sort, continuous and categorical color, size, opacity, and shape. Previously each panel resolved its own domain, so a mark could render with the wrong position, color, glyph, or normalization relative to the shared legend.
  • Faceted transform extents. Kde/Bin/Violin/Kde2D/Bin2D/DensityData and the extent-deriving Hex/Raster/DataBin transforms now pin a shared value-axis extent across panels when one is not given explicitly (previously KDE-only).
  • Composite figure titles (title/subtitle/caption) render in both SVG and interactive output across all composite families; LayerChart titles reach the document <title>; packed GPU marks are offset under the title band.
  • Interactive (WASM) packed path. Packed instances are offset by the per-panel (dx, dy) composition translation and the figure-title band; the tooltip string table is parsed field-by-field; conditional/crossfilter instances index from the packed-first base; and scene_load hardens its tooltip-scan and instance-count handling against malformed buffers.
  • Mark metadata alignment (bar/rect/point/segment/text/tick/rule/group/geoshape/image): tooltips, hrefs, descriptions, data_indices, and keys now align to the true source row when rows are skipped or reordered.
  • _core.pyi stub parity. Corrected EncodingSpec/TimeScale/hat_matrix_stats signature drift and added a programmatic live-vs-stub signature-parity test so the class cannot silently recur.

Changed

  • Cohesion refactors (behavior-preserving, byte-identical): collapsed the duplicated packed/scene merge tail into a _PlacedChild record + _assemble_placed_children; extracted build_auxiliary_scales to dedup the triplicated scale dispatch; deduped share_scale mode validation; consolidated figure-chrome handling into _CompositeBase; single-sourced bin extent/nice logic.
  • Packed GPU wire-format is now enforced: named stride/offset consts + a producer stride test (ferrum-core) and compile-time size_of/offset_of assertions (ferrum-wasm), so any future layout drift fails the build instead of silently corrupting the interactive render.

Packaging

  • Broader wheel matrix: manylinux2014 + aarch64 + musllinux + Intel macOS, with macOS built as universal2 on Apple Silicon.

Known gaps

  • Four pre-existing, out-of-scope gaps surfaced during the review were filed as issues rather than fixed here: #24 (facet(col=) defaults to a single column), #25 (square-shape glyphs can exceed the panel clip in facets), #26 (shape encoding ignores sort), #27 (PyO3 stub fidelity nits).

0.16.2

2026-06-15

A focused patch fixing figure-level title/caption positioning on concatenated charts and single-chart captions (#1). No new public API.

Fixed

  • Figure-level title, subtitle, and caption on concatenated charts (a | b, a & b, and concat(...)) and single-chart captions no longer render flush against the left edge. They now default to a 16 px left inset matching the single-chart title, and configure_padding(left=…, right=…) and configure_title(anchor="start"|"middle"|"end") reposition them (the anchor governs title, subtitle, and caption together). Previously the chrome was pinned to x=0 and both knobs were silently ignored at the figure level.

0.16.1

2026-06-15

This release makes several documented-but-broken features actually render. No new public API was added; methods and parameters that previously stored their values without effect now take effect, and silently-dropped inputs now fail loud.

Added

  • Chart.override(**kwargs) now applies at render. It is a fail-loud escape hatch that injects presentation-spec values (per-axis/legend config, per-channel scales, mark style, coord, width/height) and wins the cascade over configure_*/theme. Previously the overrides were stored but never read. Unknown or misspelled paths now raise FerrumOverrideError with a closest-match suggestion.
  • Per-channel axis and legend styling now renders. Every documented field on fm.Axis and fm.Legend — label/grid/domain/title colors and sizes, orient, translate, min_extent/max_extent, tick_extra/tick_min_step, grid_opacity, title_orient, zindex, label_flush, label_overlap; legend symbol_size/symbol_stroke_width, label_color, label_limit, clip_height, row_padding/column_padding, padding/title_padding, offset — now takes effect when set on an encoding, matching configure_axis/configure_legend. Previously most of these silently dropped. A misspelled per-channel key now raises.
  • configure_axis(...) and configure_legend(...) gained the same orphan styling fields, so they can be set chart-wide too.

Fixed

  • Rotated x-axis tick labels are now end-anchored (were center-anchored and overlapped the plot) with an angle-aware gap, and the x-axis title clears them.
  • configure(axis_x=…) per-axis styling is no longer clobbered by a general configure(axis=…); a per-axis/legend label_font_size now sizes the reserved layout (not just the drawn text); fm.Legend(label_color=…) applies to continuous colorbars; configure_title(subtitle_font_size=…, subtitle_color=…) styling is honored.
  • clustermap accepts the documented integer z_score/standard_scale values (0/1); they previously raised TypeError.

Changed

  • Per-channel axis/legend options are now typed structs with deny_unknown_fields (replacing an opaque pass-through map), so typos fail at render instead of silently dropping. Internal: axis style overrides were unified into one struct and the orient precedence moved to an Option sentinel.

Deprecated

  • AxisConfig.x / configure_axis(x=…, y=…) are deprecated and emit a DeprecationWarning — they never had any effect. Use Chart.axis(x=False) / Chart.axis(y=False) to show or hide an axis.

0.16.0

2026-06-04

Added

  • Chart.to_html() returns the self-contained interactive HTML page as a string, byte-identical to what save("out.html") writes. It accepts the same embed_wasm=, toolbar=, and raster= keywords as the HTML save path. This completes the to_* converter family (to_svg, to_png, to_html).

Changed

  • Renamed the output converters Chart.show_svg() → Chart.to_svg() and Chart.show_png() → Chart.to_png(), establishing a clear convention across the export surface: to_* returns an in-memory value, save(path) writes to disk, and show() displays. The old show_svg/show_png names remain as deprecated aliases that emit a DeprecationWarning and will be removed after 0.16.0.

Fixed

  • Statistical transforms now accept integer columns. mark_density (1-D and 2-D KDE), mark_qq, mark_hex, and 2-D binning previously raised column '<x>' must be Float64 on integer data (counts, ages, years, ranks); they now coerce numeric columns to floating point. Genuinely non-numeric columns still raise a clear error.
  • jointplot(kind="hist") now renders a 2-D histogram instead of raising unknown column 'bin_x_start'. The center panel is encoded against the correct Bin2D output columns (x_lo/x_hi/y_lo/y_hi/count) so the bins tile the plane instead of collapsing.
  • Removed two panic-prone internal downcasts in the 2-D binning transform; bad input now returns a normal error rather than risking a panic.

0.15.3

2026-06-03

Fixed

  • Interactive (WASM) reactive domain-rescale (focus+context brushing) no longer shears sibling panels or makes the overview line disappear during the brush. Each panel's marks now render with their own transform, so rescaling one panel leaves the others untouched.
  • Interactive box-zoom (magnifying-glass tool) on a focus+context overview now rescales the detail panel instead of making it vanish. Wheel, pan, and box-zoom operate on the focus panel; a box-zoom drawn on the overview drives the detail's domain like a brush.
  • Interactive axis lines and stroked marks are antialiased via 4× MSAA on the render pass, removing the occasional 1px axis-line seam/gap where ticks cross the baseline or adjacent facet panels meet. Silently falls back to the previous (non-MSAA) path on GPUs/browsers without 4× support — no regression there.

0.15.2

2026-06-03

Fixed

  • Interactive (WASM) line and area stroke width is now constant under reactive domain-rescale — the "ribbon"/variable-width artifact when a focus+context brush rescaled an axis non-uniformly is gone. Stroke width is applied in screen space and is invariant to the zoom/rescale transform. As part of this, interactive line joins are now beveled (the static SVG renderer is unchanged and keeps miter joins).

Known limitations

  • A few interactive-renderer issues remain tracked for a follow-up pass: the reactive-rescale brush-mode default, sibling panels shearing during a cross-panel rescale, and occasional axis-line segment breaks. These do not affect the static SVG renderer.

0.15.1

2026-06-03

A post-v0.15.0 audit (bug-hunters, seam auditors, and heavyweight cohesion reviews) found a cluster of incomplete-unification, sibling-drift, and silent-failure bugs in the flexibility-campaign surface. All are fixed here, each with a regression test.

Fixed

  • Finished the group-by-key unification: transform_window, data_stack, stat_aggregate's join/pivot/aggregate paths now accept integer/uint/bool groupby columns (they previously collapsed every row into one group). A null group key now stays distinct from a real 0/false/empty (FA-9), which also fixes a crash in summary/boxplot/violin/errorband when a groupby column contained a null
  • Cross-panel reactive rescale (focus+context brushing) now zooms the detail panel in-bounds — the rescale is reprojected through the shared data domain instead of the source panel's pixels, which previously sent the detail marks off-screen
  • Polar bars, ranged rects, and arc marks now honor the per-row opacity/stroke_width/stroke_opacity/stroke_dash/fill_opacity/angle/tooltip/href/description channels their sibling marks already supported
  • Axis(title=None) and Legend(title=None) truly suppress the title (no phantom text node), matching the channel-level fm.X(title=None)
  • add_params/add_selection raise a clear TypeError on wrong-typed arguments, and a selection colliding with a same-named parameter raises instead of silently shadowing it
  • A non-finite (Inf/NaN) value in an fm.param domain raises a legible error naming the parameter; a bind="legend" selection registered via add_params is now wired correctly; the ChartSpec type stub covers all constructor arguments
  • mark_area with an x2 channel, and mark_bar with both x2 and y2, now raise a clear error pointing to mark_rect instead of silently dropping the second extent

Known limitations

  • A single-panel reactive-rescale chart may still default to pan mode; click the box-select tool to brush (FA-17). The line "ribbon" appearance under a non-uniform rescale (FA-16) is tracked separately.

0.15.0

2026-06-02

Added

  • Reactive parameters: fm.param, fm.when, and unified selection_interval/selection_point, with bind="legend" toggles. Parameters drive scale.domain, transform_filter, and conditional encodings; they statically resolve to their initial value for SVG export and power a live WASM/JS runtime in interactive HTML (domain rescale, crossfilter, legend toggling)
  • Polar theta2/radius2 second extents with radial stacking, enabling annular wedges, coxcombs, and sunburst-style charts
  • Figure-level title/subtitle/caption on composite charts via .properties(), rendered once around the composite rather than per panel
  • Typed continuous scales (LinearScale, LogScale, etc.) auto-infer their domain from the data, matching the dict form
  • resolve= on vconcat/hconcat; pairplot shares a single color domain across panels
  • 2-D density (kde_2d / mark_contour) splits by categorical hue, drawing one contour set per group

Changed

  • Breaking: transform_window(..., frame=(preceding, following)) now follows the documented Vega/Altair convention, where a negative preceding counts rows before the current row. A trailing window is frame=(-k, 0) (the k preceding rows through the current row). The sign was previously inverted, so trailing rolling aggregates silently produced all-null or forward-looking results. Pipelines that compensated for the inverted sign must drop the workaround.

Fixed

  • Continuous color scales bound through SequentialScale/DivergingScale now honor the named scheme, domain, and clamp (every scheme rendered blue before); added reds/greens/oranges/purples; diverging midpoint placed via piecewise normalization
  • mark_bar/mark_area honor a second positional extent (y2/x2) for candlestick, floating, and diverging bars; mark_bar(zero=False) opts out of the zero-anchored y-domain
  • Integer and nominal columns render on categorical channels (integer-keyed heatmaps, nominal bar y) and stack correctly; integer storage still defaults to quantitative
  • Annotation span label_position (top/middle/bottom) is honored; unsupported stack= on non-stackable marks warns instead of silently dropping marks; empty facet partitions name the dropped key in the warning
  • Two-way faceting (.facet(row=, col=)) renders a true grid with per-partition transforms, layered marks, and independent/shared scales — the row dimension was previously dropped
  • Silent failures across the render pipeline now surface as warnings or errors instead of producing blank or wrong output
  • mark_line detail= groups by non-Utf8 columns; axis titles use the source field name rather than the internal transform column
  • mark_violin and mark_area honor color/hue instead of collapsing groups; per-layer aggregate= and bin= are no longer dropped on layered charts; transform_top_k aggregates integer columns instead of counting rows
  • fm.when numeric conditionals apply instead of silently no-op'ing; radial bars stack outward and stack= is normalized across x/y/theta/radius
  • mark_arc with nominal theta renders a Nightingale coxcomb; polar bars render equal full-circle angular bands; stat_aggregate and all stat transforms accept integer/uint/bool groupby keys; ordinal-color area legend swatches match fills; box-inner layers color-encode by hue
  • title=None and Axis(title="") truly suppress axis titles; annotations anchor to categorical/ordinal axes
  • errorbar/errorband compute per-hue extents instead of pooling across groups; unsupported mark shapes and stack offsets raise instead of silently defaulting
  • Zoomed lines and areas stay clipped within their panel in interactive exports; two-way facet row-strip labels render on the right edge

Other

  • Expanded the docs-site Showcase with composed charts unlocked by the flexibility work; flattened the Gallery/Showcase navigation

0.14.0

2026-05-31

Added

  • catplot(height=, aspect=) for per-panel facet sizing, matching displot
  • Automatic temporal scale inference from Datetime/Date dtypes (no explicit :T needed); microsecond/nanosecond timestamps normalized to milliseconds
  • Size and shape legends, with multi-legend stacking and same-field legend merging

Fixed

  • Float ordinal domains, displot facet width, and boxen sort on pandas/pyarrow inputs
  • Explicit constant stroke now beats an inherited color encoding on rule/segment marks
  • 3- and 4-digit hex colors, ~e/~s scientific-notation trimming, ranged-mark per-row color, and raster Y-axis orientation
  • Deterministic batch selection in locate_field for named transform outputs
  • Integer/float ordinal columns render correctly; per-panel facet sizing on displot
  • Channel-level axis=None hides the axis
  • Date/datetime/ISO coordinates accepted in annotations
  • Color routes to stroke on line-family marks
  • Value-sort and the full sort spec honored on axes and composite marks
  • Order-independent color-scale merge on layered charts
  • Per-channel axis label_format with the full d3-format grammar and chrono time formatting
  • Categorical color-string ranges; rect/heatmap scheme routing

Changed

  • Boxen sort moved into the Rust LetterValue transform (new sort= kwarg); Python shim removed
  • Typed ordinal scale.range wire format
  • Unified categorical-axis sort resolution; removed the dead errorbar y_sort
  • New ChannelBase.option() accessor; dropped private _kwargs reach-ins
  • Deduplicated inferred-type application; reconstruct the promoted color channel on layer merge
  • Shared fill/stroke color-resolution helpers across marks
  • Colorbar tick formatting routes through the full d3-format grammar
  • Extracted build_default_categorical_scale

Other

  • Fixed docstring parameter drift across the public API; added a docstring-drift auditor (scripts/audit_docstring_drift.py)
  • Added a capabilities showcase docs page for power-user chart designs
  • Regenerated configure goldens for corrected 3-digit hex colors

0.13.0

2026-05-30

Added

  • ferrum.Grid value class for theme-level gridline control: major/minor levels with per-level styling (major_color/minor_color, major_width/minor_width, dash, opacity) plus bare color/width/dash/opacity shorthand that sets both levels
  • Minor gridlines on continuous axes (linear, log, time, pow, sqrt, symlog); log axes place minors at the 2–9 intra-decade multiples; categorical/discretizing axes have no minors
  • Constant mark-style kwargs on composite/statistical marks — mark_density(opacity=0.4), mark_smooth(stroke_width=2), mark_boxplot(fill=...), etc. now work like simple marks, applied to every emitted layer
  • mark_hex(stroke=, stroke_width=) renders hex-cell borders
  • Native Rust diagnostic curve kernels (ROC, precision-recall, calibration, confusion matrix, threshold sweep); raw-array (y_true=/y_pred=) diagnostics are now fully scikit-learn-free
  • SceneNode::Raw rendering in the WASM interactive renderer (chrome-vs-data anchoring) and a dedicated MarkBatchKind::Label scene-graph kind

Fixed

  • Continuous-axis gridlines and ticks now coincide with the data marks they label (previously used uniform-slot placement, causing visible misalignment on continuous scales)
  • WASM colorbar gradient id collision when a colorbar chart was placed in an inset (outer and inset colorbars collapsed to one id)
  • Diagnostic kernels reject null-containing Arrow inputs instead of silently mishandling them
  • Degenerate single-class ROC matches scikit-learn's NaN convention

Changed

  • Diagnostic chart paths (precomputed and model-backed) route through the shared Rust kernels; scikit-learn is now required only when a fitted model is passed
  • Internal cohesion refactors (no API change): post-review cleanups in the scale-projection/grid code, consolidated diagnostic frame assembly into a shared _curve_frames module, and unified precision/recall cores in the PR kernel

Other

  • Documented ferrum.Grid, minor gridlines, and composite mark-style kwargs across the guides and API reference; clarified that raw-array diagnostics need no scikit-learn; regenerated guide PNGs for the gridline-coincidence rendering

0.12.0

2026-05-24

Added

  • Declarative configuration surface: configure_axis, configure_legend, configure_title, configure_grid, configure_padding, configure_color, and unified configure() methods on Chart and all composition types
  • Annotation rendering module with coordinate resolution (text, arrow, rect, line, span, bracket, callout, image)
  • Structural feature rendering: SecondaryY, BreakAxis, Inset with full composition support
  • ChartConfig domain fields wired into render pipeline
  • label_padding theme key, per-side padding support

Fixed

  • Break-axis x-label disappearance and y2 right-margin clipping
  • Inset viewBox scaling and span fill_opacity
  • Format-presets revenue chart uses nominal encoding for monthly bars
  • Break-axis remaps same-axis ticks, SecondaryY bar marks with nominal x
  • Inset recipe PNG referenced wrong image
  • ColorConfigSpec.domain accepts string and float values
  • Annotation text font-family rendering
  • 10 bug-hunt R3 bugs (26 failing tests) and 21 bug-hunt bugs across coercion, composition, figures, interactive, scale, projection, render, and layout
  • 31 bug-hunt bugs from configure field wiring

Changed

  • Major internal refactoring (no API changes):
  • chart.py split from 5,779 to 2,794 lines via StatisticalMarksMixin (15 methods) and DiagnosticMarksMixin (26 methods)
  • configure_* methods unified into ConfigureMixin, eliminating ~635 lines of duplication between Chart and _ChartLike
  • Chart._clone auto-generated from __slots__ (prevents silent data loss)
  • to_spec() decomposed into 3 focused helpers
  • Rust ThemeInputs decomposed from 42 flat fields into 9 sub-structs
  • Rust PreparedInputs legend overrides grouped into LegendPreparedOverrides sub-struct
  • Rust render_svg/render_scene_json deduplicated via shared prepare_and_layout pipeline (fixes missing secondary-Y padding in interactive renders)
  • Rust scale_resolve.rs (2,205 lines) split into 6 sub-modules
  • Rust ScaleSpec common fields factored into ContinuousScaleCommon
  • Rust Encoding::inherit_* duplication eliminated
  • Added cargo_test nox session with correct macOS DYLD paths

Other

  • Cohesion/complexity audit report and refactor plan
  • Docs: customization guide, 7 concept pages, 12 recipes, 16 golden SVGs
  • Regression tests for break-axis labels, y2 right-margin, font-family, and auditor-found bugs

0.11.2

2026-05-23

Added

  • Graduated axis label collision cascade — replaces flat→-45°→elide with wrap → font shrink → graduated rotate → tick cull → elide, keeping categorical labels legible without user intervention
  • Multi-line label wrapping: snake_case, space, and camelCase labels split at natural boundaries instead of truncating
  • Dynamic bottom margin: rotation-aware gutter estimation prevents rotated labels from clipping at the viewport boundary
  • Theme-configurable cull_threshold for tick label density reduction (Theme(cull_threshold=N))

Fixed

  • Y-axis title duplicated across all facet columns — now suppressed on non-leftmost columns (mirrors existing x-axis bottom-row suppression)
  • Panel annotations silently dropped from SVG output — now emitted after marks, matching WASM z-order

0.11.1

2026-05-22

Fixed

  • PNG export: DPR-aware canvas with pHYs DPI metadata replaces the old DPR-upscale approach, fixing gridline artifacts in composed charts (HConcat) caused by stale pixel-snap positions after canvas resize
  • PNG export: full Retina resolution via 2D offscreen canvas — wide charts clamped by GPU max texture size now export at correct @2x dimensions with proper DPI metadata
  • Canvas initialization: safe three-phase init (CSS size → GPU create → DPR-clamped resize) prevents Surface::configure crash on wide HConcat charts exceeding GPU max texture size
  • Mouse coordinate mapping uses scene dimensions instead of canvas backing store, fixing hit-test and tooltip positioning on DPR-aware canvases

0.11.0

2026-05-22

Added

  • R-tree spatial indexing (rstar crate) for O(log n) hit-testing on large point clouds
  • Interactive toolbar: Pan, Box Zoom, Box Select, Reset, Save PNG buttons (Bokeh-style)
  • Chart.interactive(toolbar=True/False) and Chart.save(toolbar=True/False) kwargs
  • Auto-tooltips: interactive renders automatically inject tooltip fields from encoded channels
  • WasmRenderer.maxTextureSize() WASM export for adaptive DPR capture
  • Keyboard shortcuts for toolbar modes (P/Z/S/R/Escape)

Fixed

  • Opacity semantics: fill_opacity used correctly for packed batches (>1000 marks), stroke_opacity applied in tessellated paths/polygons, no double-apply on strokes
  • Grid pixel-snap in WASM renderer eliminates sub-pixel aliasing
  • Mark clip region: GPU scissor rect clips zoomed marks to panel plot area (DPR-aware)
  • Tick label clipping: zoomed tick labels filtered by panel plot area
  • Save PNG: adaptive DPR clamping to GPU max texture size (prevents crash on wide charts)
  • Save PNG: ResizeObserver disconnected during capture (prevents race condition)
  • Save PNG: SVG viewBox uses actual canvas dimensions (not stale scene dimensions)
  • Annotation z-order: reference lines drawn above data marks (matching SVG renderer)
  • Reset button forwards selection state to Jupyter kernel
  • Cursor CSS targets SVG overlay in select/boxzoom modes
  • HTML title XSS: html.escape() applied to <title> tag
  • Hex color shorthand: 3-char (#ccc) and 4-char (#abcd) correctly expanded
  • Malformed hex colors now emit a warning instead of silently returning black
  • _render_scene_json collapsed into _render_scene (eliminated duplication)

Changed

  • SceneCollector accumulator replaces 8-parameter collect_nodes/emit_draw_commands
  • Uniform clip vec4 removed from shaders — GPU scissor rect handles clipping (32-byte uniforms)
  • text_json.rs extracted from lib.rs with deduplicated text serialization helpers
  • lib.rs split: tooltip formatting, conditional render, transform upload moved to focused modules
  • Partial GPU buffer update for conditional re-render (only re-uploads instance data)
  • Dead packed-batch linear fallback removed from hit-test (spatial index covers it)
  • Hand-rolled JSON replaced with serde_json in hit-test and tooltip paths
  • _auto_tooltips removed from public Chart.to_spec() signature
  • _ChartLike.save() uses explicit toolbar parameter instead of kwargs.pop
  • ResizeObserver reads CSS layout size (not backing-store size)
  • Transition RAF loop cancels stale animations on rapid scene changes

0.10.0

2026-05-20

Added

  • .labs() fluent method for post-hoc axis labels and titles
  • .xlim() / .ylim() convenience methods for axis limits
  • .to_dict() on Chart (returns parsed JSON spec as a Python dict)
  • mark_circle() / mark_square() convenience methods (aliases for mark_point(shape=...))
  • mark_line(point=True) overlays points on lines (altair parity)
  • color= and alpha= mark kwarg aliases (maps to fill and opacity)
  • linetype= mark kwarg alias with named values ("dashed", "dotted", "dashdot", "longdash", "solid")
  • Axis(label_map={"a": "Group A"}) categorical label remapping
  • annotate_abline(slope, intercept) for slope+intercept reference lines
  • PNG scale= parameter on show_png() and save() for DPI control
  • PDF export via save("chart.pdf") (zero-dependency minimal PDF writer)
  • reverse= on continuous positional scales

Correction (2026-09-04): this line was inaccurate — reverse= was never actually implemented on any continuous positional scale (LinearScale, LogScale, PowScale, SqrtScale, SymlogScale, TimeScale) at this release, or for several releases after it. It shipped only in the batch documented in the Unreleased section above (2026-09-04). PointScale.reverse — a different, unrelated mechanism — shipped separately in 0.20.0 (#65). - 5 new aggregate functions: variance, stdev, q1, q3, distinct - 4 KDE kernels: epanechnikov, tophat, cosine (plus existing gaussian) - Smooth method aliases: "linear", "quadratic", "cubic", "log", "sqrt" - "|" / "-" (vline/hline) point shapes - 148 CSS named colors in theme overrides (e.g. Theme(mark_color="steelblue")) - Altair migration guide (docs/site/comparison/altair.md) - Pandas/polars Series accepted as data input - Polars Categorical / Enum columns auto-cast to string - Polars Duration columns auto-cast to int64 nanoseconds - PyArrow Date32 / Date64 columns auto-cast to timestamp - Composite mark kwargs forwarding (errorbar, boxplot, errorband, ribbon, boxen) - Mark tick rendering for ordinal-y-only and ordinal-x-only encodings

Fixed

  • type_="Q" kwarg on channel constructors was silently dropped
  • count():Q aggregate shorthand crashed (empty field rejected by Rust)
  • Aggregate shorthand mean(val):Q missing auto-groupby from sibling channels
  • nice=True on Scale constructors silently dropped during serialization
  • mark_smooth(method="linear") documented but crashed (Rust only accepted "lm")
  • Non-Int64 integer columns failed when encoded as nominal (pyarrow/pandas users)
  • Config defaults (640x480) didn't match render defaults (was hardcoded 600x400)
  • Shorthand parser rejected hyphens, dots, and spaces in column names
  • ChannelName enum missing StrokeOpacity / FillOpacity / Angle variants (conditional encodings on extended channels were broken)
  • WASM conditional resolver missing match arms for 3 extended channels
  • mark_density(kernel=...) never forwarded kernel to Kde transform
  • _apply_label_maps broad except Exception narrowed to specific types with warning

Other

  • Plotnine/Altair migration gap audit (design-docs/superpowers/audits/)
  • 226 new regression tests across 6 test files
  • Overhaul README with hero strip, benchmarks, comparison table, and theme grid
  • Embed interactive demos in docs
  • Add plotnine to benchmarks, comparison table, and migration guides
  • 10M-row stress tests for scale ceiling validation

0.9.1

2026-05-18

Added

  • Auto-inject selection fields into tooltip for cross-panel linking
  • D3 interaction layer, SVG text rendering, and cross-panel linked selection
  • Interactive HTML export with interval selection, composition support, and adapter pattern
  • Nox docs session for docs site build verification

Fixed

  • Resolve 13 scene-pipeline audit findings across all 4 stages
  • Include tooltip field names in SVG output and escape Group attrs
  • Wire strip_text_size and strip_padding theme keys end-to-end
  • Resolve 4 PyO3 binding audit findings (B1, B2, W1, W4)
  • Bug-hunt across 5 interactive subsystems — 189 tests, 7 bugs fixed
  • Resolve 9 wiring-audit findings in interactive HTML export (B1-B5, W1, W3, W6, W8)
  • Deduplicate and harden interactive HTML export pipeline (Rust + Python)
  • Eagerly populate LAYER_NAME_CATALOG from all mark modules
  • Embed Inter font in shared CSS for Jupyter and HTML export
  • sRGB-to-linear color conversion for correct GPU rendering
  • Rebuild WASM artifacts with B4 startTransition fix

Changed

  • Rename audit skills/agents to prefix pattern (audit-*, auditor-*)
  • Docs site: add classification meta tags, update author metadata, plain display names for API nav

0.9.0

2026-05-17

Added

  • Phase 12: Spec completeness — full implementation of all remaining ferrum-spec.md features
  • Data transforms API — 17 transform constructors (FilterTransform, AggregateTransform, WindowTransform, BinTransform, CalculateTransform, FoldTransform, PivotTransform, StackTransform, FlattenTransform, SampleTransform, ImputeTransform, DensityTransform, RegressionTransform, LoessTransform, QuantileTransform, LookupTransform, TimeUnitTransform) with Rust-backed execution and expression evaluator
  • New scale types — PowScale, BandScale, PointScale, SequentialScale, DivergingScale, QuantizeScale, BinOrdinalScale
  • Power/sqrt transform — PowScale(exponent=0.5) for square-root position resolution
  • Axis and Legend value classes — full configuration objects for axis and legend customization
  • ferrum.color and ferrum.config modules — color utilities and configuration API
  • LayerChart and ConcatChart — first-class composition types for programmatic multi-view construction
  • 9 infinity domain regression tests — continuous-x bar width, infinity filtering across mark types
  • Docs: 4 recipe pages — transforms, ConcatChart, Axis/Legend, PowScale with rendered PNGs
  • Docs: API reference pages — transforms, scales, color, config, axis, legend
  • Docs: data transforms guide

Fixed

  • Infinity domain filtering — ±inf values no longer corrupt scale domain auto-computation
  • Continuous-x bar width — bars with continuous x-axis and no x2 now auto-compute width
  • Safe Rust downcasts — temporal type handling and Time bar rendering hardened
  • Python type annotations and dead code — review-lite findings addressed across Python surface

Changed

  • Design-docs reorganization — design-docs/ split into architecture/ and narrative/ subdirectories
  • Code archaeology updated — Phase 12 items marked resolved, deferred marks inventory refreshed
  • Documentation expanded — Phase 12 pages, cross-reference links, missing docstrings added

0.8.3

Added

  • pytest-xdist for parallel test execution (-n auto)
  • 132 new tests from 5-round test-sweep campaign (scale, transform, composition, facet, theme, coord, encoding dimensions)
  • Scale tests for SHAP, ICE, and PDP figure functions

Fixed

  • Multi-layer scale domain union — layers now merge domains correctly instead of using only the first layer's range
  • TickLevel infinity serde — tick-level values no longer panic on serialize/deserialize with infinity bounds
  • Coord system × position adjustment interaction (dodge offsets under CoordFlip)
  • Figure function × data shapes gap (sweep-1)
  • Missing packed_instances field in scale-stat test fixture
  • Stale docs/superpowers paths updated to design-docs/superpowers in CLAUDE.md

Changed

  • Test-sweep skill: parallel Rust test track, coding agent dispatch enforcement

0.8.2

Added

  • /test-sweep skill — iterative combinatorial test-and-fix campaign
  • python-coder and rust-coder coding agents for language-specific dispatch
  • Plotly added to scatter benchmark suite
  • Social card generation script with iris lmplot

Fixed

  • Per-instance channel rendering — opacity, stroke_width, fill_opacity, size, and angle encoding channels now affect SVG output for all 9 primitive marks (previously only mark_point had full wiring)
  • All-null data handling — charts with entirely null/NaN columns now render an empty chart gracefully instead of crashing with ValueError
  • Histogram auto-groupby — displot(hue=) and jointplot(hue=) no longer crash; the Bin transform now preserves the color-groupby column
  • RepeatPlaceholder guard — pairplot mark overrides no longer crash when encodings contain unresolved repeat placeholders
  • Chained layer column-overlap — mark_rule layering with overlapping column names resolved
  • Scale constructors — range parameter now optional on all scale constructors
  • License packaging — NOTICE file declared in license-files for sdist inclusion

Changed

  • Benchmark tables updated with Plotly results (4-library comparison)
  • Documentation expanded: 25 new-user gaps addressed, API reflinks, stale gallery PNGs regenerated

0.8.1

Fixed

  • Scale range now optional — LinearScale, LogScale, SymlogScale, TimeScale, and OrdinalScale no longer require range= in their constructors. The renderer auto-fills from the plot-area dimensions, so users can write fm.LogScale(domain=[100, 100000], base=10) without pixel math.
  • mark_rule layering with overlapping columns — layering a rule on a scatter (scatter + hline) no longer draws a line per scatter row when both DataFrames share a column name (e.g. "y").
  • Chained + layering — scatter + hline + vline + label now renders correctly. Added Identity transform and inherit_non_positional to prevent chart-level positional encoding from polluting routed layers.
  • Docs code examples — fixed CoordFlip encoding order, stroke_dash string→list, Stack Int64→Float64, to_theme_inputs_dict()→to_spec_dict(), chart.render_config()→chart.properties(render_config=), feature_importances_chart→importance_chart, ferrum[...]→ferrum-viz[...].

Added

  • 25 new documentation sections — type suffix explanation, position adjustments (Dodge/Stack/Jitter), axis customization (log scale, limits, reversed), smooth method table, legend control, palette cycling, shared scales, regplot, multi-model comparison, precomputed scores, output methods summary, DPI note, PDF note, interactive compatibility, CoordFlip recipe, annotation recipe, chart sizing recipe, category sorting recipe, time-series recipe.
  • 13 guide PNGs — visuals for every new section (position adjustments, axis customization, legend suppression, shared scales, regplot, multi-model ROC, CoordFlip, annotations, sizing, category order, time-series).
  • 12-theme visual grid — side-by-side comparison of all built-in themes on the same chart.
  • Complete 54-mark table — all mark methods listed with reflinks in marks-encodings guide.
  • Consistent API reflinks — every public symbol mentioned in prose now links to its API reference across all doc pages.
  • Identity transform — Rust pass-through transform for named-output routing in layered compositions.
  • 11 regression tests — covering scale range, rule layering, and chained layer fixes.
  • PyPI metadata — keywords, classifiers, and project URLs added to pyproject.toml.

Changed

  • README — updated install section with ferrum-viz[all], added docs link, interactive rendering feature, corrected dev commands.

0.8.0

Grammar-of-graphics core with Rust rendering engine.

Added

  • 12 built-in themes — Paper Ink (default), Slate Citrus, Arctic Signal, Observable, Minimal, Dark, Publication, Economist, FiveThirtyEight, Solarized Light, Solarized Dark, plus explicit paper_ink for derivation.
  • 3 original categorical palettes — paper_ink, slate_citrus, arctic_signal (8 colors each).
  • 9 continuous color schemes — cool_blue, warm_ochre, night_blue, electric_lime, signal_blue, ember_orange, blue_to_red, cyan_to_amber, blue_to_violet.
  • fm.hconcat() / fm.vconcat() — top-level convenience functions for multi-chart concatenation.
  • Chart.axis() — method for suppressing or restoring axis decorations.
  • Facet-before-transform — faceting now partitions data before statistical transforms run, so each panel gets its own transform subset.
  • Grouped smooth — mark_smooth supports group-by; no explicit per-group layering needed.
  • Continuous colorbar — rendered alongside heatmaps and continuous-color charts.
  • Full Theme key wiring — all ferrum-spec.md §3.13 keys plumbed end-to-end from Python through Rust renderer. Unknown keys raise ValueError at construction.
  • Model diagnostics (Phase 10) — ModelSource, ComparedModelSource, 32 visualizer classes, 31 figure-level helpers covering classification, regression, feature explanation, model selection, and clustering.
  • 9 figure-level helpers — displot, catplot, relplot, lmplot, residplot, pairplot, heatmap, clustermap, jointplot.
  • 54 mark methods — primitives, statistical, distribution, uncertainty, scale-aware, and diagnostic marks.
  • DataFrame pluralism — polars, pandas, modin, cuDF, dask, ibis, and pyarrow all accepted via Chart(data).
  • Title rendering — Chart.properties(title="...") rendered in the SVG with theme-controlled typography.
  • Grid lines — theme-controlled grid rendering with configurable color, width, dash, and opacity.
  • Legend — categorical and continuous legends with theme-controlled positioning and styling.
  • Interactive rendering (Phase 11) — Chart.interactive() switches to a GPU-backed WASM renderer with selections, zoom/pan, linked views, and tooltips. Backed by anywidget for Jupyter integration.
  • Selection API — selection_point, selection_interval, selection_single, selection_multi for declaring interactive state. Conditional encodings via sel.when(...).otherwise(...).
  • SelectionMark — configurable brush styling for interval selections.
  • InteractiveChart — anywidget-based Jupyter widget with on_selection_change callback and self-contained HTML export via .save().
  • Scene graph renderer — Rust-side render_interactive produces a SceneGraph JSON consumed by the WASM GPU renderer.
  • compose_svg_horizontal / compose_svg_vertical / compose_svg_grid — low-level Rust SVG composition helpers.
  • t-SNE and UMAP in pure Rust — ManifoldVisualizer runs both via manifolds-rs, no Python umap-learn dependency.
  • 7 new diagnostic helpers — classification_report_chart, class_balance_chart, cooks_distance_chart, prediction_error_chart, silhouette_chart, elbow_chart, manifold_chart.
  • mark_label — text labels with collision avoidance (avoid_overlap=True).
  • mark_image — image tiles from URL fields.
  • RenderConfig — per-chart auto-raster policy configuration (threshold, behavior, aggregate, colormap).
  • raster= keyword — one-off auto-raster override on .show(), .save(), .show_svg(), .show_png().
  • score() on visualizers — all Group A visualizers implement .score() for sklearn-protocol compatibility.
  • width= on mark_boxplot — API symmetry with other marks.
  • stroke, angle, fill_opacity channels — wired end-to-end to SVG attribute emission and WASM renderer.
  • Legend format= and columns= — kwargs now wired through to legend rendering.
  • Packed tooltips — field-level tooltip content sent via binary buffer for interactive performance.
  • Binary instance bridge — GPU data bypasses JSON serialization in interactive rendering.

Fixed

  • Facet encoding — facet=, facet_col=, facet_row= now correctly partition data into panels.
  • mark_tick y-rug — single-axis tick marks render correctly in both x and y orientations.
  • CoordFlip rendering — no longer drops violin paths or boxplot rects under coordinate flip.
  • Histogram multiple='stack'/'fill' — bin edges now align across groups.
  • calibration_chart rendering — layering wiring gap resolved; renders correctly via .show_svg().
  • Chart decomposition — chart.py split into rendering, encoding helpers, and composition helpers for maintainability.

Changed

  • + operator always layers — no longer ambiguous between layering and concatenation. Use |, &, fm.hconcat(), or fm.vconcat() for concatenation.
  • Default theme identity is Paper Ink — warm cream background, blue marks, warm grid. Previously was Observable-style white background.
  • Default categorical palette is paper_ink — previously okabe_ito.