forked from CKrawczyk/GZ3D_production
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mpl_style.py
52 lines (43 loc) · 1.09 KB
/
mpl_style.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# see http://matplotlib.org/users/customizing.html for all options
style1 = {
# Line styles
'lines.linewidth': 1.5,
'lines.antialiased': True,
# Font
'font.size': 16.0,
# Axes
'axes.linewidth': 1.5,
'axes.titlesize': 'large',
'axes.labelsize': 'large',
# Ticks
'xtick.major.size': 6,
'xtick.minor.size': 4,
'xtick.major.width': 1.5,
'xtick.minor.width': 1.5,
'xtick.major.pad': 6,
'xtick.minor.pad': 6,
'xtick.labelsize': 'medium',
'xtick.direction': 'in',
'ytick.major.size': 6,
'ytick.minor.size': 4,
'ytick.major.width': 1.5,
'ytick.minor.width': 1.5,
'ytick.major.pad': 6,
'ytick.minor.pad': 6,
'ytick.labelsize': 'medium',
'ytick.direction': 'in',
# Legend
'legend.fancybox': True,
'legend.fontsize': 'small',
'legend.scatterpoints': 5,
'legend.loc': 'best',
# Figure
'figure.figsize': [8, 6],
'figure.titlesize': 'large',
# Images
'image.cmap': 'magma',
'image.origin': 'upper',
# Saving
'savefig.bbox': 'tight',
'savefig.format': 'png',
}