plotnine.composition.plot_layout
plot_layout(*, nrow=None, ncol=None, byrow=None, widths=None, heights=None)Customise the layout of plots in a composition
Parameter Attributes
nrow: int | None = None-
Number of rows
ncol: int | None = None-
Number of columns
byrow: bool | None = None-
How to place plots into the grid. If None or True, they are placed row by row, left to right. If False, they are placed column by column, top to bottom.
widths: Sequence[float] | None = None-
Relative widths of each column
heights: Sequence[float] | None = None-
Relative heights of each column
Methods
| Name | Description |
|---|---|
| update | Update this layout with the contents of other |
update
update(other)Update this layout with the contents of other