Skip to content

Refactor tidyplot 64 65#220

Merged
HorridTom merged 7 commits intomasterfrom
refactor-tidyplot-64-65
Jan 20, 2026
Merged

Refactor tidyplot 64 65#220
HorridTom merged 7 commits intomasterfrom
refactor-tidyplot-64-65

Conversation

@HorridTom
Copy link
Copy Markdown
Owner

This PR refactors the visualisation code to use long data instead of wide. This in conjunction with use of the package ggnewscale enables moving away from using the alpha aesthetic of ggplot2 in delineating period types, in favour of the colour aesthetic. In turn this enables removal of the use of warning suppression.

Furthermore, this enables a slight simplification of the linetype tests.

Closes #64, closes #65

Floating medians and linetype tests still need fixing (failing tests)
Remove warning suppression from plotting
- modularise x-axis formatting
- additional comments
- indentation
@HorridTom HorridTom self-assigned this Jan 19, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Jan 19, 2026

Codecov Report

❌ Patch coverage is 93.00000% with 14 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
R/visualisation.R 89.85% 14 Missing ⚠️

📢 Thoughts on this report? Let us know!

@HorridTom HorridTom merged commit 584e7af into master Jan 20, 2026
11 checks passed
@HorridTom HorridTom deleted the refactor-tidyplot-64-65 branch January 20, 2026 08:52
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.

Sort out linetype tests Fix hack suppressing alpha warning

1 participant