From 69f0083fc07c23d466325e119651b6eb9f85a305 Mon Sep 17 00:00:00 2001 From: Martino Ferrari Date: Wed, 4 Nov 2026 01:13:29 +0100 Subject: [PATCH] figure: note same-axis-kind assumption in row y fit --- src/plot/figure.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plot/figure.cpp b/src/plot/figure.cpp index 81518ff..71fd5d3 100644 --- a/src/plot/figure.cpp +++ b/src/plot/figure.cpp @@ -495,6 +495,7 @@ void Figure::sync_row_y() { bounds = any ? Range{std::min(bounds.min, b.min), std::max(bounds.max, b.max)} : b; any = true; } + // The first cell stands in for the row: all cells are assumed to share one y axis kind/padding (the host builds them identically). if (any && plots_[first].fit_y_bounds(0u, bounds)) target = plots_[first].y_axis(0u).range; // else: nothing to fit -- keep the range the group had }