Spaces:
Sleeping
Sleeping
Joseph Spada
commited on
Commit
·
fc2c761
1
Parent(s):
1df9bbe
plot formatting
Browse files
app.py
CHANGED
@@ -110,12 +110,12 @@ def plot_interest_coverage(interest_rate, cagr_revenues):
|
|
110 |
else:
|
111 |
plt.plot(
|
112 |
data.index,
|
113 |
-
data["Average Rate on Federal Debt
|
114 |
color = "Green",
|
115 |
label = "Average Rate on Federal Debt (Projected)",
|
116 |
linestyle = "--"
|
117 |
)
|
118 |
-
|
119 |
# plot interest / revenues (baseline)
|
120 |
plt.plot(
|
121 |
data.index,
|
@@ -211,7 +211,7 @@ with gr.Blocks() as interface:
|
|
211 |
cagr_revenues_upper_bound,
|
212 |
step = 0.01,
|
213 |
value = baseline_cagr_revenues,
|
214 |
-
label = "
|
215 |
)
|
216 |
|
217 |
gr.Markdown('<p style="font-size:11px;">Source: CBO June 2024 An Update to the Budget and Economic Outlook: 2024 to 2034, '
|
|
|
110 |
else:
|
111 |
plt.plot(
|
112 |
data.index,
|
113 |
+
data["Average Rate on Federal Debt"],
|
114 |
color = "Green",
|
115 |
label = "Average Rate on Federal Debt (Projected)",
|
116 |
linestyle = "--"
|
117 |
)
|
118 |
+
|
119 |
# plot interest / revenues (baseline)
|
120 |
plt.plot(
|
121 |
data.index,
|
|
|
211 |
cagr_revenues_upper_bound,
|
212 |
step = 0.01,
|
213 |
value = baseline_cagr_revenues,
|
214 |
+
label = "Compound Annual Growth Rate of Revenues through 2054"
|
215 |
)
|
216 |
|
217 |
gr.Markdown('<p style="font-size:11px;">Source: CBO June 2024 An Update to the Budget and Economic Outlook: 2024 to 2034, '
|