Skip to content

Interface: SubplotSpec ​

One cell of specs: the subplot in that cell (null for an empty cell).

Properties ​

PropertyTypeDescription
b?number-
colspan?numberNumber of columns the subplot spans to the right (default 1).
l?numberPadding inside the cell, as plot-area fractions (default 0): left, right, top, bottom.
r?number-
rowspan?numberNumber of rows the subplot spans, away from the start cell (default 1).
secondaryY?booleanAdd a secondary y axis on the right, overlaying the cell's y axis ('xy' only).
t?number-
type?SubplotTypeSubplot type (default 'xy'): cartesian axes, or a domain area for pie-like traces.

Released under the MIT License.