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 issue where scattergl traces disappear while zooming or panning #7018

Merged

Conversation

eiriklv
Copy link
Contributor

@eiriklv eiriklv commented Jun 6, 2024

Fixes #6814.

The existing code overwrites the converted range so that you end up passing a string into the scene update when using xaxis.type: 'date'. This PR makes sure that the range limiting happens before the conversion/mapping and scene update.

Before:

2024-06-06 16 14 47

After:

2024-06-06 16 13 23

@eiriklv eiriklv changed the title Fix issue where scattergl traces disappears while zooming or panning Fix issue where scattergl traces disappear while zooming or panning Jun 6, 2024
Copy link

@absqueued absqueued left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

@archmoj archmoj added bug something broken community community contribution status: reviewable regression this used to work labels Jun 6, 2024
draftlogs/7018_fix.md Outdated Show resolved Hide resolved
@archmoj
Copy link
Contributor

archmoj commented Jun 6, 2024

Thanks very much for the fix.
💃

@archmoj archmoj merged commit f749a4a into plotly:master Jun 6, 2024
1 check failed
@eiriklv
Copy link
Contributor Author

eiriklv commented Jun 6, 2024

Thanks very much for the fix. 💃

No problem - thanks for the work you're doing as a maintainer! And thanks for merging it so quickly 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken community community contribution regression this used to work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scattergl: categorical data is not drawn while zooming or panning
3 participants