-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.jl
107 lines (102 loc) · 2.57 KB
/
settings.jl
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
Base.@kwdef struct TuePlotsSetting
width::Any
width_half::Any
base_fontsize::Any
font::Any
end
"""
Dict of available TuePlots settings.
Use with [`MakieCore.Theme`](@ref) or [`get_plotsjl_theme_kwargs`](@ref).
"""
SETTINGS = Dict(
:ICML => TuePlotsSetting( # 2024
width = 6.75,
width_half = 3.25,
base_fontsize = 9,
font = "Times",
),
:AISTATS => TuePlotsSetting( # 2023
width = 6.75,
width_half = 3.25,
base_fontsize = 10,
font = "Times",
),
:NEURIPS => TuePlotsSetting( # 2024
width = 5.5,
width_half = nothing,
base_fontsize = 10,
font = "Times New Roman",
),
:JMLR => TuePlotsSetting(
width = 6,
width_half = nothing,
base_fontsize = 10.95,
font = "TeX Computer Modern",
),
:CVPR => TuePlotsSetting( # 2024
width = 6.875,
width_half = 3.25,
base_fontsize = 9,
font = "Times New Roman",
),
:ICLR => TuePlotsSetting( # 2024
width = 5.5,
width_half = nothing,
base_fontsize = 10,
font = "Times New Roman",
),
:UAI => TuePlotsSetting( # 2023
width = 6.75,
width_half = 3.25,
base_fontsize = 10,
font = "Times",
),
:AAAI => TuePlotsSetting( # 2024
width = 6.975,
width_half = 3.3,
base_fontsize = 10,
font = "TeX Computer Modern",
),
:TMLR => TuePlotsSetting(
width = 6.5,
width_half = 3.25,
base_fontsize = 10,
font = "Times",
),
:ECCV => TuePlotsSetting( # 2024
width = 4.8,
width_half = nothing,
base_fontsize = 9,
font = "TeX Computer Modern",
),
:JCAP => TuePlotsSetting(
width = 6.08948,
width_half = nothing,
base_fontsize = 11,
font = "TeX Computer Modern",
),
:JHEP => TuePlotsSetting(
width = 5.95393,
width_half = nothing,
base_fontsize = 11,
font = "TeX Computer Modern",
),
:PRL => TuePlotsSetting(
width = 7.05826,
width_half = 3.40457,
base_fontsize = 10,
font = "TeX Computer Modern",
),
:ProbNum25 => TuePlotsSetting( # 2025
width = 6.9444,
width_half = 3.333,
base_fontsize = 10,
font = "TeX Computer Modern",
),
)
"""
get_available_settings()
Return a list of settings available in TuePlots.jl.
Effectively this function just returns the keys of [`SETTINGS`](@ref).
"""
get_available_settings() = keys(SETTINGS) |> collect |> sort