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 shaded rendering for msd plot #331

Merged
merged 2 commits into from
Jul 16, 2024
Merged

Fix shaded rendering for msd plot #331

merged 2 commits into from
Jul 16, 2024

Conversation

stefsmeets
Copy link
Contributor

@stefsmeets stefsmeets commented Jul 16, 2024

This PR fixes the rendering of the shaded area for the msd plot. The issue was that the old way rendered bars which were tuned with a specific thickness/width to show nice shading for the sample data set of 5000 points. This meant that the opacity was a function of the number of spots on the x axis. I have changed the implementation to a fill between lines, which should avoid this issue.

The autocorrelation plot had the same issue and was been updated.

Closes #329

Todo

  • autocorrelation

@stefsmeets stefsmeets marked this pull request as ready for review July 16, 2024 08:37
@stefsmeets stefsmeets merged commit 5f415c0 into main Jul 16, 2024
6 checks passed
@stefsmeets stefsmeets deleted the fix-shaded branch July 16, 2024 08:44
This pull request was closed.
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

Successfully merging this pull request may close these issues.

MSD plot
1 participant