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

Fix index for clicking on observation #373

Conversation

valentin-krasontovitsch
Copy link
Contributor

@valentin-krasontovitsch valentin-krasontovitsch commented Aug 17, 2022

Closes #369

Approach
We check whether the click was right on an observation, and do a reverse lookup of the clicked x value in the response axis - the previously used clicked index for an observation point refers to the observation axis, which is potentially shorter than the response axis.

Pre review checklist

  • Added appropriate labels

@valentin-krasontovitsch valentin-krasontovitsch added the bug Something isn't working label Aug 17, 2022
@valentin-krasontovitsch
Copy link
Contributor Author

I've added a bunch of inline comments for this one, please feel free to take offense in that : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Response Correlation Viewer: x index for observations misbehaves
2 participants