Repeat¶
Repeat for faceted repeat patterns.
Ferrum — a statistical visualization library with a Rust core.
Repeat ¶
Namespace for typed RepeatChart template sentinels.
Access the three sentinels via class attributes — do not instantiate
Repeat directly:
Attributes:
| Name | Type | Description |
|---|---|---|
column |
_RepeatPlaceholder
|
Sentinel that resolves to the column-axis field for each panel. |
row |
_RepeatPlaceholder
|
Sentinel that resolves to the row-axis field for each panel. |
layer |
_RepeatPlaceholder
|
Sentinel that resolves to the layer-axis field for each panel. |
Examples:
>>> import ferrum as fm
>>> base = (
... fm.Chart(df)
... .encode(x=fm.Repeat.column, y=fm.Repeat.row)
... .mark_point()
... )
>>> grid = fm.RepeatChart(base, row=["mpg", "hp"], column=["mpg", "hp"])