plot-api / jetbrains.letsPlot.scale / scale_shape

scale_shape

fun scale_shape(solid: Boolean? = null, name: String? = null, breaks: List<Any>? = null, labels: List<String>? = null, limits: List<Any>? = null, naValue: Any? = null, guide: Any? = null): Scale

Scale for shapes

Parameters

solid - boolean Are the shapes solid (default) True, or hollow (False)?

name - string The name of the scale - used as the axis label or the legend title. If None, the default, the name of the scale is taken from the first mapping used for that aesthetic.

breaks - list of numbers A numeric vector of positions (of ticks)

labels - : list of strings A vector of labels (on ticks)

limits - list Continuous scale: a numeric vector of length two providing limits of the scale. Discrete scale: a vector specifying the data range for the scale. and the default order of their display in guides.

naValue - an aesthetic value which is used when data in not available.

guide - A result returned by guide_legend() function or "none" to hide the guide.