commonMain.org.jetbrains.letsPlot.intern.figure.SubPlotsLayoutSpec.kt Maven / Gradle / Ivy
The newest version!
/*
* Copyright (c) 2023. JetBrains s.r.o.
* Use of this source code is governed by the MIT license that can be found in the LICENSE file.
*/
package org.jetbrains.letsPlot.intern.figure
import org.jetbrains.letsPlot.core.spec.Option.SubPlots
class SubPlotsLayoutSpec(
private val name: String,
private val options: Map
) {
fun toSpec(): Map {
return mapOf(
SubPlots.Layout.NAME to name,
) + options
}
}