Interface: MakeSubplotsOptions
Options for makeSubplots. Names follow Python's make_subplots in camelCase.
Properties
| Property | Type | Description |
|---|---|---|
cols? | number | Number of columns (default 1). |
columnWidths? | readonly number[] | Relative column widths, one per column (default equal). |
horizontalSpacing? | number | Space between columns, as a plot-area fraction (default 0.2 / cols). |
rowHeights? | readonly number[] | Relative row heights, one per row (default equal); row 1 first. |
rows? | number | Number of rows (default 1). |
sharedX? | SharedAxes | Share x axes (default false). |
sharedY? | SharedAxes | Share y axes (default false). |
specs? | readonly readonly (SubplotSpec | null | undefined)[][] | Per-cell specs, rows × cols (default: an 'xy' subplot in every cell). |
startCell? | "top-left" | "bottom-left" | Where row 1, column 1 is: 'top-left' (default) or 'bottom-left'. |
subplotTitles? | readonly (string | null | undefined)[] | Titles of the subplots in row-major order (row 1 first), skipping empty and spanned cells; '' or null leaves a subplot untitled. They are paper annotations named SUBPLOT_TITLE_NAME, drawn at 4/3 of layout.font.size (plotly.py: 16 px over a 12 px base, fixed). |
verticalSpacing? | number | Space between rows, as a plot-area fraction (default 0.3 / rows). |