1
+ # -*- coding: utf-8 -*-
2
+ """
3
+ Created on Tue Nov 3 14:14:09 2020
4
+ @author: user
5
+ """
6
+ from cycler import cycler
7
+ # box style
8
+ paper_style = {
9
+ # Colour cycle
10
+ 'axes.prop_cycle' : cycler (color = ['#377eb8' , '#ff7f00' , '#984ea3' ,
11
+ '#4daf4a' , '#a65628' , '#f781bf' ,
12
+ '#999999' , '#e41a1c' , '#dede00' ]),
13
+
14
+ # Line styles
15
+ 'lines.linewidth' : 1.3 ,
16
+ 'lines.antialiased' : True ,
17
+
18
+ # Error bars
19
+ 'errorbar.capsize' : 3 , # length of end cap on error bars in pixels
20
+
21
+ # Font
22
+ 'font.size' : 18.0 ,
23
+
24
+ # Axes
25
+ 'axes.linewidth' : 1.5 ,
26
+ 'axes.titlesize' : 'x-large' ,
27
+ 'axes.labelsize' : 'large' ,
28
+ 'axes.spines.top' : True ,
29
+ 'axes.spines.right' : True ,
30
+
31
+ # Ticks
32
+ 'xtick.major.size' : 6 ,
33
+ 'xtick.minor.size' : 4 ,
34
+ 'xtick.major.width' : 1.5 ,
35
+ 'xtick.minor.width' : 1.5 ,
36
+ 'xtick.major.pad' : 6 ,
37
+ 'xtick.minor.pad' : 6 ,
38
+ 'xtick.labelsize' : 'medium' ,
39
+ 'xtick.direction' : 'in' ,
40
+ 'xtick.top' : False ,
41
+
42
+ 'ytick.major.size' : 6 ,
43
+ 'ytick.minor.size' : 4 ,
44
+ 'ytick.major.width' : 1.5 ,
45
+ 'ytick.minor.width' : 1.5 ,
46
+ 'ytick.major.pad' : 6 ,
47
+ 'ytick.minor.pad' : 6 ,
48
+ 'ytick.labelsize' : 'medium' ,
49
+ 'ytick.direction' : 'in' ,
50
+ 'ytick.right' : False ,
51
+
52
+ # Legend
53
+ 'legend.fancybox' : True ,
54
+ 'legend.fontsize' : 'large' ,
55
+ 'legend.scatterpoints' : 5 ,
56
+ 'legend.loc' : 'best' ,
57
+
58
+ # Figure
59
+ 'figure.figsize' : [8 , 5.2 ],
60
+ 'figure.titlesize' : 'large' ,
61
+
62
+ # Images
63
+ 'image.cmap' : 'magma' ,
64
+ 'image.origin' : 'lower' ,
65
+
66
+ # Saving
67
+ 'savefig.bbox' : 'tight' ,
68
+ 'savefig.format' : 'png' ,
69
+ }
0 commit comments