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

Error in Mutations page when zoomed in #130

Open
savitakartik opened this issue Feb 29, 2024 · 3 comments
Open

Error in Mutations page when zoomed in #130

savitakartik opened this issue Feb 29, 2024 · 3 comments

Comments

@savitakartik
Copy link
Collaborator

When we zoom in to the main mutations panel so that no points remain on screen, an error similar to the following is raised in the terminal log:
ValueError: conflicting sizes for dimension 'position': length 375 on the data but length 400 on coordinate 'position'.

Sometimes resetting the plot works (as shown in the video), sometimes it resets to a plot view like the attached screenshot and sometimes the Python process gets killed. I haven't been able to reproduce the last case.

mutations_error_on_zooming.mp4

image

@jeromekelleher
Copy link
Member

Is this reproducible if you disable the linked histograms?

Is there a way to limit the zoom level?

@savitakartik
Copy link
Collaborator Author

savitakartik commented Feb 29, 2024

The ValueError is raised even when the linked tree histograms or axis histograms are disabled.
I tried setting limits on x and y ranges to restrict the zoom level, but still get the error. Still haven't explored options thoroughly though. Maybe I could use a plot hook to set the axis limits.

@savitakartik
Copy link
Collaborator Author

Last case isn't reproducible when histograms are disabled, but I'll watch out for this.

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

2 participants