class geom_contourf : PolygonAesthetics, ContourStatAesthetics, ContourStatParameters, LayerBase
Fill contours of a 3d surface in 2d.
data
- dictionary or pandas DataFrame, optional.
The data to be displayed in this layer. If None, the default, the data
is inherited from the plot data as specified in the call to lets_plot.
stat
- string, optional.
The statistical transformation to use on the data for this layer, as a string. Supported transformations:
"identity" (leaves the data unchanged), "count" (counts number of points with same x-axis coordinate),
"bin" (counts number of points with x-axis coordinate in the same bin), "smooth" (performs smoothing -
linear default)
position
- string, optional.
Position adjustment, either as a string ("identity", "stack", "dodge", ...), or the result of a call to a
position adjustment function.
tooltips
- result of the call to the layer_tooltips() function.
Specifies appearance, style and content.
bins
- int, optional.
Number of levels.
binWidth
- double, optional.
Distance between levels.
x
- x-axis coordinates of the center of rectangles, forming a tessellation.
y
- y-axis coordinates of the center of rectangles, forming a tessellation.
alpha
- transparency level of a layer.
Understands numbers between 0 and 1.
fill
- color of a geometry areas.
Can be continuous or discrete. For continuous value this will be a color gradient between two colors.
mapping
- set of aesthetic mappings.
Aesthetic mappings describe the way that variables in the data are
mapped to plot "aesthetics".
<init> |
Fill contours of a 3d surface in 2d. geom_contourf(data: Map<*, *>? = null, stat: StatOptions = Stat.contourf(), position: PosOptions = Pos.identity, showLegend: Boolean = true, sampling: SamplingOptions? = null, tooltips: TooltipOptions? = null, x: Double? = null, y: Double? = null, z: Double? = null, size: Number? = null, linetype: Any? = null, color: Any? = null, fill: Any? = null, alpha: Number? = null, bins: Int? = null, binWidth: Number? = null, mapping: ContourfMapping.() -> Unit = {}) |
alpha |
transparency level of a layer. Understands numbers between 0 and 1. val alpha: Number? |
bins |
int, optional. Number of levels. val bins: Int? |
binWidth |
double, optional. Distance between levels. val binWidth: Number? |
color |
val color: Any? |
fill |
color of a geometry areas. Can be continuous or discrete. For continuous value this will be a color gradient between two colors. val fill: Any? |
linetype |
val linetype: Any? |
size |
val size: Number? |
x |
x-axis coordinates of the center of rectangles, forming a tessellation. val x: Double? |
y |
y-axis coordinates of the center of rectangles, forming a tessellation. val y: Double? |
z |
val z: Double? |
seal |
fun seal(): Options
|
toSpec |
fun Layer.toSpec(): MutableMap<String, Any> |