-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconstants.py
35 lines (26 loc) · 900 Bytes
/
constants.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
from matplotlib.lines import Line2D
shots_markers_dict = {
"LeftFoot" : "<",
"RightFoot": ">",
"Head": "^",
"Other": "s"
}
shots_colors_dict = {
"Goal": "lime",
"Saved": "yellow",
"Post": "cyan",
"OffT": "red",
"Blocked": "orange",
"Wayward": "black"
}
shots_tuple_legend = tuple([Line2D(range(1), range(1), color="white", marker='o', markerfacecolor=shots_colors_dict[i],
markeredgecolor="black") for i in shots_colors_dict.keys()] + \
[Line2D(range(1), range(1), color="white", marker=shots_markers_dict[j], markerfacecolor="white",
markeredgecolor="black") for j in shots_markers_dict.keys()])
shots_tuple_labels = tuple(list(shots_colors_dict.keys()) + list(shots_markers_dict.keys()))
passes_markers_dict = {
"High": "d",
"Low": "o"
}
passes_colors_dict = {
}