Пример #1
0
def update_plot_world_ts_recovered_daily(scale_world_ts_recovered_daily):
    plot_world_ts_recovered_daily = plot_ts(
        df=df_ts_world,
        y_var="recovered_daily",
        y_scale=scale_world_ts_recovered_daily,
        type_color=recovered_color)
    return (plot_world_ts_recovered_daily)
Пример #2
0
def update_plot_country_ts_cases_daily(chosen_country,
                                       scale_country_ts_cases_daily):
    df_ts_country = prepare_dataset(covid19data=covid19data,
                                    dataset_type="time_series_country",
                                    chosen_country=chosen_country)
    plot_country_ts_cases_daily = plot_ts(df=df_ts_country,
                                          y_var="cases_daily",
                                          y_scale=scale_country_ts_cases_daily,
                                          type_color=cases_color)
    return (plot_country_ts_cases_daily)
Пример #3
0
def update_plot_country_ts_deaths_cum(chosen_country,
                                      scale_country_ts_deaths_cum):
    df_ts_country = prepare_dataset(covid19data=covid19data,
                                    dataset_type="time_series_country",
                                    chosen_country=chosen_country)
    plot_country_ts_deaths_cum = plot_ts(df=df_ts_country,
                                         y_var="deaths_cum",
                                         y_scale=scale_country_ts_deaths_cum,
                                         type_color=deaths_color)
    return (plot_country_ts_deaths_cum)
Пример #4
0
def update_plot_world_ts_deaths_daily(scale_world_ts_deaths_daily):
    plot_world_ts_deaths_daily = plot_ts(df=df_ts_world,
                                         y_var="deaths_daily",
                                         y_scale=scale_world_ts_deaths_daily,
                                         type_color=deaths_color)
    return (plot_world_ts_deaths_daily)
Пример #5
0
def update_plot_world_ts_recovered_cum(scale_world_ts_recovered_cum):
    plot_world_ts_recovered_cum = plot_ts(df=df_ts_world,
                                          y_var="recovered_cum",
                                          y_scale=scale_world_ts_recovered_cum,
                                          type_color=recovered_color)
    return (plot_world_ts_recovered_cum)
Пример #6
0
def update_plot_world_ts_deaths_cum(scale_world_ts_deaths_cum):
    plot_world_ts_deaths_cum = plot_ts(df=df_ts_world,
                                       y_var="deaths_cum",
                                       y_scale=scale_world_ts_deaths_cum,
                                       type_color=deaths_color)
    return (plot_world_ts_deaths_cum)