def main():
    parser = argparse.ArgumentParser()
    parser.add_argument('--csv_file_path')
    args = parser.parse_args()
    if (args.csv_file_path is None):
        return
    st = TokyoCovid19Stat(args.csv_file_path)
    cases_by_area = melt(st.cases_by_area, value_columns=st.area_list, var_name='Area')
    sma_by_area = melt(sma(st.cases_by_area), value_columns=st.area_list, var_name='Area')
    title = '[TEST] Tokyo Covid-19 New Cases 7-day Moving Average By Area'
    fig = px.line(sma_by_area, x='Date', y='Cases', color='Area', title=title)
    fig.add_bar(x=st.cases.index, y=st.cases['Cases'], name='Raw Total', marker=dict(color='#dddddd'))
    py.plot(fig, filename=title, auto_open=False)
def main():
    parser = argparse.ArgumentParser()
    parser.add_argument('--csv_file_path')
    args = parser.parse_args()
    if (args.csv_file_path is None):
        return
    st = TokyoCovid19Stat(args.csv_file_path)
    cases_by_area = melt(st.cases_by_area, value_columns=st.area_list, var_name='Area')
    sma_by_area = melt(sma(st.cases_by_area), value_columns=st.area_list, var_name='Area')
    title = '[TEST] Tokyo Covid-19 New Cases 7-day Moving Average By Area'
    fig = px.line(sma_by_area, x='Date', y='Cases', color='Area', title=title)
    fig.add_bar(x=st.cases.index, y=st.cases['Cases'], name='Raw Total', marker=dict(color='#dddddd'))
    py.plot(fig, filename=title, auto_open=False)