in plot-api/src/commonMain/kotlin/org/jetbrains/letsPlot/facet/facet_grid.kt [45:71]
fun facetGrid(
x: String? = null,
y: String? = null,
scales: String? = null,
xOrder: Int = 1,
yOrder: Int = 1,
xFormat: String? = null,
yFormat: String? = null,
xLabWidth: Int? = null,
yLabWidth: Int? = null,
): OptionsMap {
return OptionsMap(
Option.Plot.FACET,
Option.Facet.NAME_GRID,
mapOf(
Option.Facet.X to x,
Option.Facet.Y to y,
Option.Facet.SCALES to scales,
Option.Facet.X_ORDER to xOrder,
Option.Facet.Y_ORDER to yOrder,
Option.Facet.X_FORMAT to xFormat,
Option.Facet.Y_FORMAT to yFormat,
Option.Facet.X_LABWIDTH to xLabWidth,
Option.Facet.Y_LABWIDTH to yLabWidth,
).filterNonNullValues()
)
}