11# PyPlots.ai Default Style Guide
22
3- Minimal style requirements for consistent visualizations.
3+ Style requirements for consistent visualizations at ** 4800 × 2700 px ** .
44
5- ## Color Palette
5+ ## Important: Large Canvas Size
66
7- Use colors in this order for data series:
7+ pyplots renders at ** 4800 × 2700 px ** (much larger than standard plots). All element sizes must be scaled for visibility!
88
9- | # | Name | Hex |
10- | ----| ---------------| -----------|
11- | 1 | Python Blue | #306998 |
12- | 2 | Python Yellow | #FFD43B |
13- | 3 | Signal Red | #DC2626 |
14- | 4 | Teal Green | #059669 |
15- | 5 | Violet | #8B5CF6 |
16- | 6 | Orange | #F97316 |
9+ ** Common Mistake:** Using default/standard sizes results in tiny, hard-to-see elements.
10+
11+ ---
1712
1813## Dimensions
1914
@@ -22,27 +17,59 @@ Use colors in this order for data series:
2217| Image Size | 4800 × 2700 px |
2318| Aspect Ratio | 16:9 |
2419
25- ## Typography & Lines (Recommended)
20+ ---
21+
22+ ## Color Palette
23+
24+ Primary colors (always use these first):
25+
26+ | # | Name | Hex |
27+ | ----| ---------------| -----------|
28+ | 1 | Python Blue | #306998 |
29+ | 2 | Python Yellow | #FFD43B |
30+
31+ For additional colors: AI chooses appropriate, colorblind-safe colors.
32+
33+ ---
34+
35+ ## Visual Sizing Principles
36+
37+ Since we render at 4800 × 2700 px, elements must be ** visually prominent** :
38+
39+ ### Text
40+ - ** Title** : Large and clearly readable
41+ - ** Axis labels** : Prominent, not tiny
42+ - ** Tick labels** : Readable at full image size
43+ - ** Legend** : Easy to read
44+
45+ ### Data Elements
46+ - ** Points/Markers** : Clearly visible, not tiny dots
47+ - ** Lines** : Thick enough to see clearly
48+ - ** Bars** : With subtle edges for definition
49+
50+ ### General Rules
51+ - Elements should be ** ~ 3-4x larger** than standard defaults
52+ - When in doubt, make it bigger
53+ - Test: Would this be readable on a 4K monitor?
54+
55+ ---
56+
57+ ## Grid
2658
27- These values typically work well at 4800 × 2700 px:
59+ - Subtle, not dominant
60+ - Low opacity (around 30%)
61+ - Should enhance readability, not distract
2862
29- | Element | Size |
30- | ------------------| --------|
31- | Title | 20pt |
32- | Axis Labels | 20pt |
33- | Tick Labels | 16pt |
34- | Legend | 16pt |
35- | Annotations | 14pt |
36- | Line Width | 2 px |
37- | Marker Size | 4 px |
63+ ---
3864
3965## AI Discretion
4066
41- The following are left to AI judgment based on the specific visualization:
67+ The AI decides based on the specific library and visualization:
4268
69+ - Exact sizes and parameters (library-specific)
4370- Font family
44- - Grid style and visibility
45- - Tick configuration
46- - Legend placement and styling
71+ - Grid style (on/off, dashed/solid)
72+ - Legend placement
73+ - Additional colors beyond the primary two
4774
48- Focus on ** clarity and readability** for the specific plot type .
75+ ** Priority: ** Clarity and readability at 4800 × 2700 px .
0 commit comments