Nipun Claude commited on
Commit
1984e65
·
1 Parent(s): 84112ce

Make matplotlib style absolutely awesome with modern design

Browse files

PROFESSIONAL STYLING UPGRADE:
- Modern typography: Inter/SF Pro Display font stack
- Tailwind-inspired color palette with 10 vibrant, accessible colors
- Clean grid system with subtle gray tones
- Professional legend styling with proper spacing
- Optimized for both screen and print (300 DPI)
- Rounded line caps and proper anti-aliasing

DESIGN IMPROVEMENTS:
- Better hierarchy: 16pt titles, 14pt axes, 13pt base font
- Modern spacing and padding throughout
- Clean axes with no top/right spines
- Publication-ready output settings
- Consistent visual language across all plots

Air quality visualizations will now look absolutely stunning\! 🎨

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>

Files changed (1) hide show
  1. vayuchat.mplstyle +85 -14
vayuchat.mplstyle CHANGED
@@ -1,21 +1,92 @@
1
- # VayuChat Professional Style
2
- font.size: 12
3
- figure.dpi: 400
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  figure.facecolor: white
 
 
 
 
 
 
 
 
5
  axes.facecolor: white
6
- axes.edgecolor: #e2e8f0
7
- axes.linewidth: 1.2
8
- axes.labelcolor: #374151
9
- axes.spines.top: False
10
- axes.spines.right: False
11
  axes.spines.left: True
12
  axes.spines.bottom: True
 
 
 
 
13
  axes.grid: True
14
- grid.color: #f1f5f9
15
  grid.linewidth: 0.8
16
  grid.alpha: 0.7
17
- xtick.color: #6b7280
18
- ytick.color: #6b7280
19
- text.color: #374151
20
- figure.figsize: 12, 6
21
- axes.prop_cycle: cycler('color', ['3b82f6', 'ef4444', '10b981', 'f59e0b', '8b5cf6', '06b6d4'])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # VayuChat - Modern Professional Style
2
+ # Inspired by modern data visualization best practices
3
+
4
+ # Typography & Layout
5
+ font.size: 13
6
+ font.family: sans-serif
7
+ font.sans-serif: Inter, SF Pro Display, Segoe UI, system-ui, Arial
8
+ figure.titlesize: 16
9
+ axes.titlesize: 14
10
+ axes.labelsize: 12
11
+ xtick.labelsize: 11
12
+ ytick.labelsize: 11
13
+ legend.fontsize: 11
14
+
15
+ # Figure & DPI
16
+ figure.dpi: 300
17
  figure.facecolor: white
18
+ figure.edgecolor: none
19
+ figure.figsize: 12, 7
20
+ figure.autolayout: True
21
+
22
+ # Modern Color Palette (inspired by Tailwind/GitHub)
23
+ axes.prop_cycle: cycler('color', ['2563eb', 'dc2626', '059669', 'ea580c', '7c3aed', '0891b2', 'be123c', '16a34a', 'c2410c', '9333ea'])
24
+
25
+ # Axes Styling
26
  axes.facecolor: white
27
+ axes.edgecolor: e5e7eb
28
+ axes.linewidth: 1
29
+ axes.labelcolor: 374151
30
+ axes.axisbelow: True
 
31
  axes.spines.left: True
32
  axes.spines.bottom: True
33
+ axes.spines.top: False
34
+ axes.spines.right: False
35
+
36
+ # Grid (subtle and clean)
37
  axes.grid: True
38
+ grid.color: f3f4f6
39
  grid.linewidth: 0.8
40
  grid.alpha: 0.7
41
+ axes.grid.axis: both
42
+
43
+ # Ticks
44
+ xtick.direction: out
45
+ ytick.direction: out
46
+ xtick.major.size: 4
47
+ ytick.major.size: 4
48
+ xtick.minor.size: 2
49
+ ytick.minor.size: 2
50
+ xtick.color: 6b7280
51
+ ytick.color: 6b7280
52
+ xtick.major.pad: 7
53
+ ytick.major.pad: 7
54
+
55
+ # Legend
56
+ legend.frameon: True
57
+ legend.fancybox: True
58
+ legend.shadow: False
59
+ legend.framealpha: 0.95
60
+ legend.facecolor: white
61
+ legend.edgecolor: e5e7eb
62
+ legend.borderpad: 0.8
63
+ legend.columnspacing: 2
64
+ legend.handlelength: 1.5
65
+ legend.handletextpad: 0.8
66
+
67
+ # Lines & Markers
68
+ lines.linewidth: 2.5
69
+ lines.markersize: 7
70
+ lines.solid_capstyle: round
71
+ patch.linewidth: 0.5
72
+ patch.facecolor: 3b82f6
73
+ patch.edgecolor: none
74
+ patch.antialiased: True
75
+
76
+ # Scatter plots
77
+ scatter.marker: o
78
+ scatter.edgecolors: white
79
+
80
+ # Bars
81
+ patch.force_edgecolor: False
82
+
83
+ # Text & Annotations
84
+ text.color: 1f2937
85
+ text.antialiased: True
86
+
87
+ # Savefig
88
+ savefig.dpi: 300
89
+ savefig.facecolor: white
90
+ savefig.edgecolor: none
91
+ savefig.bbox: tight
92
+ savefig.pad_inches: 0.2