-
-
Notifications
You must be signed in to change notification settings - Fork 394
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
After deep zoom in Holoview difference between hover values is changing unexpectedly #6165
Comments
Ticket related to #6156 |
Thank for the report. I can't run the code as provided. Can you try making a minimal, reproducible example (MRE)? In general, a complete script with only the essential code can be copied/pasted and immediately run as-is with no modifications and no need to download data files. You are running pretty old versions of the packages. Try upgrading to the latest version in a new environment and see if that works. If it doesn't, update the example to work with the latest packages. Adding a video showing the problem would be helpful, for me to understand the problem. Lastly, data sharing and the hover tool make no promises; the result of a datashaded object is a way to represent how the data looks, not the data itself. |
Hoxbro, thank you for your quick respond. I am not sure if I can change my test to run it without file having data. It is the simplest csv file with a title and 10 records. I understand that you prefer copied /pasted code to run immediately. I hope you can spend an extra effort to save the file in a directory and reference it. If you just save the file and provide directory where it is located, I can update Python code. "Lastly, data sharing and the hover tool make no promises; the result of a datashaded object is a way to represent how the data looks, not the data itself." I see that "object represents the way how data looks like", but it would be nice to know why hover values have so "strange" precision with the last two digits = 0 and click values spread unequally. Please let me know if I can provide more info and we can move forward with this ticket. |
Just create the dataframe in the file. For what it is worth, your data have the same timestamp.
I did 🙂, but I couldn't get the code to run on the latest versions. But as this is OSS, I can't fix your code to the latest versions.
I can't give you more information because I was vague because your problem is vague to me; I can't run the code and have no visual feedback on the problem.
Getting your example to work on the latest packages. I can't do anything until I have a MRE that works with the latest packages. |
Hoxbro, |
Have you updated the code to work with the lastest packages? |
Packages updated. No difference. |
Thanks for contacting us! Please read and follow these instructions carefully, then delete this introductory text to keep your issue easy to read. Note that the issue tracker is NOT the place for usage questions and technical assistance; post those at Discourse instead. Issues without the required information below may be closed immediately.
ALL software version info
(this library, plus any other relevant software, e.g. bokeh, python, notebook, OS, browser, etc)
pandas=1.1.3=py38ha925a31_0
numpy=1.21.2=py38hfca59bb_0
holoviews=1.14.7=pyhd8ed1ab_0
bokeh=2.4.2=py38haa244fe_0
panel=0.12.6=pyhd8ed1ab_0
datashader=0.13.0=pyh6c4a22f_0
Description of expected behavior and the observed behavior
After deep zoom in Holoview difference between hover values is changing unexpectedly
7 to 8 zoom in steps may be required to see detailed picture.
File “ZyuzinTestCleared - Jupyter Notebook” includes 2 cells:
Code in the first cell generates the chart provided in "Test results" file.
Code in the second cell
df2
Displaying target nanosecond and a_price_1 value
Here are test results:
Main part in seconds 1538685910
Nanoseconds:
Hover value Hover value difference Click value Click value difference
861211100 300 861211136 256
861211400 200 861211392 256
861211600 400 861211648 256
861212000 200 861211904 256
861212200 200 861212160 256
861212400 300 861212416 256
861212700 300 861212672 256
861213000 400 861212928 512
861213400 300 861213440 256
861213700 861213696
Target value 861211796
The first problem is that hover values have last two digits = 0.
The second problem is that difference between click values not always the same (256 and 512).
Complete, minimal, self-contained example code that reproduces the issue
The text was updated successfully, but these errors were encountered: