Column#

Import

from scenet import Column

Defined in

scenet.ir (source)

Install

pip install scenet

Since

0.10

Stability

Public: follows semantic versioning. Below 1.0, a minor release may change it, and the CHANGELOG says how.

class scenet.ir.Column[source]#

Bases: Strict

Panels stacked top to bottom, beside the other columns of a tier.

Example

>>> from scenet import Column
>>> column = Column(width=1, panels=[{"use": "top"}, {"use": "bottom"}])
>>> [panel.use for panel in column.panels]
['top', 'bottom']

See also

StackedPanel, one panel in it.

width: float#

The column’s share of its tier’s width, relative to the other columns.

panels: tuple[StackedPanel, ...]#

The panels in the column, read top to bottom.