+selection
This commit is contained in:
parent
8e3962db65
commit
abf820fe08
@ -27,11 +27,14 @@ interval_options = [
|
||||
{'label': '10 minutes', 'value': 10},
|
||||
{'label': '30 minutes', 'value': 30},
|
||||
{'label': '60 minutes', 'value': 60},
|
||||
{'label': '⅓ day', 'value': 480},
|
||||
{'label': '6 hours(1/4 day)', 'value': 360},
|
||||
{'label': '8 hours(1/3 day)', 'value': 480},
|
||||
{'label': '12 hours(1/2 day)', 'value': 720},
|
||||
{'label': '1 day', 'value': 1440}
|
||||
]
|
||||
days_options = [
|
||||
{'label': '7 days', 'value': 7},
|
||||
{'label': '14 days', 'value': 14},
|
||||
{'label': '30 days', 'value': 30},
|
||||
{'label': '90 days', 'value': 90},
|
||||
{'label': '120 days', 'value': 120},
|
||||
|
@ -142,5 +142,5 @@ def render_tab_content(tab, selected_dates, interval, time_zones, days_to_displa
|
||||
yaxis=dict(autorange='reversed') if tab == 'one_day_heatmap' else None
|
||||
)
|
||||
|
||||
summary = f"Total tweets for selected dates: {int(tweet_count_total)}Total tweets: {get_tweets_since_last_friday()}"
|
||||
summary = f"Total tweets: {get_tweets_since_last_friday()}"
|
||||
return dcc.Graph(figure=fig), warning, summary
|
Loading…
x
Reference in New Issue
Block a user