Normalizes the subplots config into a 2D panel grid in row-major
visual reading order.
A flat array is chunked into rows of columns panels (a single row when
columns is omitted). A 2D array is validated and returned as-is —
ragged rows are allowed, empty rows and empty grids are not (the core
navigation model cannot represent them).
Normalizes the
subplotsconfig into a 2D panel grid in row-major visual reading order.A flat array is chunked into rows of
columnspanels (a single row whencolumnsis omitted). A 2D array is validated and returned as-is — ragged rows are allowed, empty rows and empty grids are not (the core navigation model cannot represent them).