alidenewade commited on
Commit
3a47198
·
verified ·
1 Parent(s): b7daf02

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -81,7 +81,7 @@ def create_choropleth_map(metric, start_date, end_date):
81
  cmap='viridis',
82
  legend_kwds={'label': f"Total {metric.replace('_', ' ').title()}",
83
  'orientation': "horizontal"})
84
- ax.set_title(f'Spatial Distribution of {metric.replace("_', ' ').title()}', fontsize=15)
85
  ax.set_axis_off()
86
  plt.tight_layout()
87
  return fig
@@ -258,4 +258,4 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
258
  )
259
 
260
  if __name__ == "__main__":
261
- demo.launch()
 
81
  cmap='viridis',
82
  legend_kwds={'label': f"Total {metric.replace('_', ' ').title()}",
83
  'orientation': "horizontal"})
84
+ ax.set_title(f'Spatial Distribution of {metric.replace("_", " ").title()}', fontsize=15)
85
  ax.set_axis_off()
86
  plt.tight_layout()
87
  return fig
 
258
  )
259
 
260
  if __name__ == "__main__":
261
+ demo.launch()