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 Vega plots disappearing #4673

Merged
merged 2 commits into from
Sep 18, 2023
Merged

Fix Vega plots disappearing #4673

merged 2 commits into from
Sep 18, 2023

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Sep 16, 2023

Closes #4671

I chased this one around for a few hours. Initially, I thought the problem was with smooth plots but I could recreate with a confusion matrix as well. In the end, the problem seemed to be setting the <PlotsContainer>'s children to null when the section was collapsed.

Demo

Screen.Recording.2023-09-16.at.9.46.26.pm.mov

@mattseddon mattseddon added the bug Something isn't working label Sep 16, 2023
@mattseddon mattseddon self-assigned this Sep 16, 2023
@mattseddon mattseddon marked this pull request as ready for review September 16, 2023 11:54
@mattseddon
Copy link
Member Author

FWIW I believe the error is related to this: vega/vega#2125

@mattseddon mattseddon enabled auto-merge (squash) September 18, 2023 19:21
@codeclimate
Copy link

codeclimate bot commented Sep 18, 2023

Code Climate has analyzed commit 205990a and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.0% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit 887b2df into main Sep 18, 2023
3 checks passed
@mattseddon mattseddon deleted the fix-disappearing branch September 18, 2023 19:41
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.

[BUG] Plot disappearing : zooming , smoothing & minimizing Data Series Section
2 participants