-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
hvplot Explorer is giving nuisance Line plot when using over 10,000 points #1406
Comments
Digging in the hvplot code I found in \site-packages\hvplot\ui.py |
To clarify, nuisance in this sense means that it's not showing over 10k lines? I suppose to improve this, we can add a editable slider widget to max out number of lines. |
@ahuang11 - it is not 10k lines. The lines starting to act strange when the total amount of points is over 10,000. for example if you got 10 lines of 999 points there will be no problem, but if each line will be 1001 points you will get this strange thing. Good
Bad
|
Okay here's the logic. I don't think it's supposed to sample if it's a line plot.
|
@ahuang11 - I don't know what is the cost for such a change, but using |
In the PR, I just used .head() |
@hagaishalevaei feel free to directly review #1408 :) |
ALL software version info
(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc)
Windows 11,
Python=3.11.9,
Jupyterlab 4.2.5,
hvplot 0.10.0
pandas 2.2.2
Description of expected behavior and the observed behavior
Using Python hvplot Explorer is giving nuisance Line plot when using over 10,000 points. Is that a bug? can I configure the threshold value?
Complete, minimal, self-contained example code that reproduces the issue
Stack traceback and/or browser JavaScript console output
https://stackoverflow.com/questions/78950183/python-hvplot-explorer-limit-of-10-000-point
Screenshots or screencasts of the bug in action
The text was updated successfully, but these errors were encountered: