You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Light render (plot-light.png): The Manhattan plot displays a warm off-white background (#FAF8F1) with the title "manhattan-gwas · pygal · anyplot.ai" in dark text at the top. The y-axis is labeled "-log₁₀(p-value)" with tick marks visible from 0–16. The x-axis shows chromosome labels (1-22) centered below their genomic regions. The plot exhibits the characteristic Manhattan plot structure: a dense band of points near the baseline (non-significant variants), with prominent peaks rising above two horizontal threshold lines (dashed, at ~7.3 and ~5). The data points use alternating colors—green (#009E73, the brand color, representing odd chromosomes) and orange (#D55E00, representing even chromosomes)—creating clear visual separation. A third series ("Significant (p<5×10⁻⁸)") marks the tallest peaks. All text is clearly readable against the light background with no contrast issues.
Dark render (plot-dark.png): The dark render uses a warm near-black background (#1A1A17) with light text throughout. The title, axis labels, and tick marks are all rendered in light colors (#F0EFE8 for primary text) and remain fully readable against the dark surface. The data colors are identical to the light render—green and orange points maintain perfect visual consistency, confirming that only the chrome (background, text, grid) has adapted to the theme while data identity is preserved. The two threshold lines are clearly visible as dashed lines. No "dark-on-dark" failures are present; all elements have sufficient contrast. The plot structure and data representation are identical to the light version, proving successful theme adaptation.
Score: 89/100
Category
Score
Max
Visual Quality
30
30
Design Excellence
13
20
Spec Compliance
15
15
Data Quality
14
15
Code Quality
10
10
Library Mastery
7
10
Total
89
100
Visual Quality (30/30)
VQ-01: Text Legibility (8/8) - All text sizes explicitly set (title=28px, labels=22px, ticks=18px). Fully readable in both themes.
VQ-02: No Overlap (6/6) - Point density expected at lower y-values. Readable regions have no text collisions.
VQ-03: Element Visibility (6/6) - Marker size (dots_size=4) appropriate for 11,000-point dataset.
VQ-04: Color Accessibility (2/2) - Okabe-Ito palette is colorblind-safe.
Light render (plot-light.png): The manhattan plot displays GWAS results on a warm off-white background (#FAF8F1) with excellent readability. The title "manhattan-gwas · pygal · anyplot.ai" is clearly visible at the top in dark text. The y-axis label "-log₁₀(p-value)" with subscript is readable, and the x-axis shows chromosome numbers (1-22) centered at their region midpoints. Data points are colored with alternating teal/green (#009E73 - Okabe-Ito position 1) and orange (#D55E00 - position 2) for odd and even chromosomes respectively, creating clear visual distinction. Two dashed threshold lines are visible at y≈5 (suggestive) and y≈7.3 (genome-wide significance). Significant peaks are highlighted in blue. The legend at the bottom clearly lists all series. All text, gridlines, and data elements are distinctly readable against the light background with no contrast issues.
Dark render (plot-dark.png): The same plot rendered on a warm near-black background (#1A1A17) maintains perfect readability with light text for title and axis labels. The data colors are identical to the light render—the same greens and oranges, confirming proper theme-adaptive chrome. Secondary text uses the muted light tone, providing appropriate contrast. The threshold lines remain clearly visible. No "dark-on-dark" failures are present; all text is readable against the dark surface. The grid lines are subtle in both renders. Critically, the Okabe-Ito data colors remain constant between themes, with only chrome (background, text, grid) adapting appropriately.
Score: 89/100
Category
Score
Max
Visual Quality
30
30
Design Excellence
13
20
Spec Compliance
15
15
Data Quality
15
15
Code Quality
10
10
Library Mastery
6
10
Total
89
100
Visual Quality (30/30)
VQ-01: Text Legibility (8/8) — All text elements clearly readable at full size in both themes
VQ-02: No Overlap (6/6) — Chromosome labels centered without collisions, legend positioned cleanly
VQ-03: Element Visibility (6/6) — All markers visible even in dense regions, significant peaks stand out clearly
VQ-04: Color Accessibility (2/2) — Okabe-Ito palette (colorblind-safe), no red-green as sole signal
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implementation:
manhattan-gwas- python/pygalImplements the python/pygal version of
manhattan-gwas.File:
plots/manhattan-gwas/implementations/python/pygal.pyParent Issue: #2925
🤖 impl-generate workflow