-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.py
40 lines (27 loc) · 1.36 KB
/
config.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
# Dashboard configurations
title = 'Bicycle Counter Dashboard'
# Set color codes for traffic directions
color_both_direction = 'rgb(80, 123, 0)' # "#507B00" # green
color_in = 'rgb(99, 110, 250)' # blue
color_out = 'rgb(230, 180, 0)' # yellow
color = {'bi_direction': 'rgb(80, 123, 0)', # "#507B00" # green
'in': 'rgb(99, 110, 250)', # blue
'out': 'rgb(230, 180, 0)' # yellow
}
# Set plotly template
template = 'plotly_white'
# Set font style for all figures
figure_font = dict(family='Roboto',
size=16,
color='black')
# A list of week day names starting at Monday
weekday_list = ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
# A list of time of day labels in AM/PM format
# time_of_day_labels = ['12 AM', '1AM', '2 AM', '3 AM', '4 AM', '5 AM', '6 AM', '7 AM', '8 AM', '9 AM', '10 AM', '11 AM',
# 'noon', '1PM', '2 PM', '3 PM', '4 PM', '5 PM', '6 PM', '7 PM', '8 PM', '9 PM', '10 PM', '11 PM',
# '12 AM']
time_of_day_labels = ['12 AM', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11',
'12 PM', '1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11',
'12 AM']
# A list of icons to be removed from Plotly chart mode bar
modebar_remove = ['zoom', 'pan', 'select','lasso2d', 'zoomIn', 'zoomOut', 'autoScale']