Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to suppress "sampling_* ... was applied to ... layer" message/warning #863

Closed
OSuwaidi opened this issue Aug 30, 2023 · 1 comment
Closed
Assignees
Milestone

Comments

@OSuwaidi
Copy link

In my Jupyter Notebook, I use lets_plot to create the visualizations and deploy them as an interactive web app using Voila.

However, my data is huge (> 1 million rows), and for almost every plot generated, the message/warning sampling_* ... was applied to ... layer accompanies the plot, even though I am the one assigning the sampling process to each of the plots.

How can I suppress/hide this message to make my web app cleaner?

@alshan alshan added this to the 2023Q3 milestone Sep 6, 2023
@alshan
Copy link
Collaborator

alshan commented Sep 13, 2023

Hi, in v4.0.1 there is new option "plot_message" in theme() allowing to suppress plot messages either for the entire notebook or per individual plots. Please check out this demo:
https://nbviewer.org/github/JetBrains/lets-plot/blob/master/docs/f-23d/theme_plot_message.ipynb

@alshan alshan closed this as completed Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants