diff --git a/plot.py b/plot.py index 906462f..f2ac2be 100644 --- a/plot.py +++ b/plot.py @@ -635,9 +635,9 @@ def plot_vaccination_rate(): archive_plot_filename = '{}/vaccination_rate'.format(archive_folder) latest_plot_filename = '{}/vaccination_rate'.format(site_folder) - #if os.path.isfile(archive_plot_filename + '.pdf'): - #print('Plot {} already exists'.format(archive_plot_filename)) - #return + if os.path.isfile(archive_plot_filename + '.pdf'): + print('Plot {} already exists'.format(archive_plot_filename)) + return fig, ax = plt.subplots(1)