Skip to content

Fix issue where scattergl traces disappear while zooming or panning - #7018

Merged
archmoj merged 3 commits into
plotly:masterfrom
eiriklv:eiriklv/fix-gl-traces-disappering-when-zoom-pan
Jun 6, 2024
Merged

archmoj merged 3 commits into
plotly:masterfrom
eiriklv:eiriklv/fix-gl-traces-disappering-when-zoom-pan

Conversation

@eiriklv

@eiriklv eiriklv commented Jun 6, 2024 •

Copy link
Copy Markdown
Contributor

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

@nxame nxame left a comment

Copy link
Copy Markdown

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
Comment thread draftlogs/7018_fix.md Resolved
@archmoj

archmoj commented Jun 6, 2024

Copy link
Copy Markdown
Contributor

Thanks very much for the fix.
💃

@archmoj
archmoj merged commit f749a4a into plotly:master Jun 6, 2024
@eiriklv

eiriklv commented Jun 6, 2024

Copy link
Copy Markdown
Contributor Author

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