The option plotMessage
allows to hide messages produced by sampling.
%useLatestDescriptors
%use lets-plot
val d = mapOf("x" to MutableList(11) { it })
val p = letsPlot(d) + geomPoint(sampling = samplingRandom(n = 10)) { x = "x" }
p
plotMessage
parameter¶Use elementBlank()
to show no messages, or elementText()
to show sampling messages. Note that elementText()
options don't affect a message text.
p + theme(plotMessage=elementBlank())
Using the LestPlot.theme
property messages can be suppressed for the whole notebook.
LetsPlot.theme = theme(plotMessage = elementBlank())
letsPlot(d) + geomPoint(sampling = samplingRandom(n = 10)) { x = "x" }