The option plot_message
allows to hide messages produced by sampling.
from lets_plot import *
LetsPlot.setup_html()
d = {
'x': [it for it in range(100)]
}
p = ggplot(d) + geom_point(aes(x='x'), sampling=sampling_random(n=10, seed=42))
p
plot_message
parameter¶p + theme(plot_message='blank')
Using the LestPlot.set_theme(...)
function messages can be suppressed for the whole notebook.
LetsPlot.set_theme(theme(plot_message='blank'))
ggplot(d) + geom_point(aes(x='x'), sampling=sampling_random(n=10, seed=42))