LeonceNsh commited on
Commit
95e341b
·
verified ·
1 Parent(s): bccf85c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -57,9 +57,9 @@ def plot_health_metric(metric):
57
  """
58
  Plots the geographical distribution of a selected health metric.
59
  """
60
- print(metric_full_name)
61
  metric_full_name = metric_mapping[metric]
62
- print(metric_full_name)
63
  fig, ax = plt.subplots(1, 1, figsize=(12, 8))
64
  gdf_health.plot(
65
  column=metric_full_name,
@@ -177,7 +177,6 @@ with gr.Blocks(title="US Population Health Dashboard") as demo:
177
 
178
  with gr.Tab("Health Metrics Correlation"):
179
  gr.Markdown("### Correlation Matrix of Health Metrics")
180
- print(simplified_metrics)
181
  correlation_metrics = gr.CheckboxGroup(label="Select Health Metrics", choices=simplified_metrics, value=simplified_metrics[:5])
182
  correlation_plot = gr.Plot()
183
  correlation_metrics.change(correlation_interface, inputs=correlation_metrics, outputs=correlation_plot)
 
57
  """
58
  Plots the geographical distribution of a selected health metric.
59
  """
60
+
61
  metric_full_name = metric_mapping[metric]
62
+
63
  fig, ax = plt.subplots(1, 1, figsize=(12, 8))
64
  gdf_health.plot(
65
  column=metric_full_name,
 
177
 
178
  with gr.Tab("Health Metrics Correlation"):
179
  gr.Markdown("### Correlation Matrix of Health Metrics")
 
180
  correlation_metrics = gr.CheckboxGroup(label="Select Health Metrics", choices=simplified_metrics, value=simplified_metrics[:5])
181
  correlation_plot = gr.Plot()
182
  correlation_metrics.change(correlation_interface, inputs=correlation_metrics, outputs=correlation_plot)