Skip to content

feat: Added tests for ggplot2 - #1441

Open
NavandarM wants to merge 8 commits into
alsieve_implementationfrom
plotters_tests
Open

feat: Added tests for ggplot2#1441
NavandarM wants to merge 8 commits into
alsieve_implementationfrom
plotters_tests

Conversation

@NavandarM

Copy link
Copy Markdown
Collaborator

feat: Added test for ggplot2

NavandarM and others added 8 commits July 26, 2026 18:14
…box_inches='tight', foced to the same font family
… tests

Plot-generating tests were leaking global rcParams (e.g. font.size set by
plotEnrichment/correlation and never restored) across the pytest session,
causing image-comparison tests like test_plotHeatmap and test_plotProfile to
fail only when run as part of the full suite, never standalone. A single
conftest.py fixture snapshots/restores rcParams around every test instead of
duplicating ad-hoc cleanup per test file.
dd79381 replaced 6 baseline images with versions saved at the
pre-centralization DPI (effectively dpi=100), while matplotlib_defaults.py
sets savefig.dpi=200. Every affected test compared against a baseline
exactly half the size in each dimension, failing on every run regardless
of test order.

Restores bamPEFragmentSize/plotCorrelation/plotCoverage/plotPCA baselines to
the correctly-sized versions from a99d649 (dpi=200), and regenerates the
plotFingerprint baseline fresh since its a99d649 version had a separate
content mismatch.
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.

2 participants