Spaces:
Sleeping
Sleeping
Joseph Spada
commited on
Commit
·
1883c03
1
Parent(s):
fc2c761
plot formatting
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ def plot_interest_coverage(interest_rate, cagr_revenues):
|
|
172 |
plt.ylim(0, 1.05)
|
173 |
plt.yticks(np.arange(0, 1.1, 0.1))
|
174 |
plt.xticks(range(1940,2055,4), rotation = 45)
|
175 |
-
plt.axvline(x =
|
176 |
plt.grid(True, axis = 'y', linestyle = '--', linewidth = 0.7)
|
177 |
|
178 |
# Save the plot to a file
|
@@ -189,7 +189,7 @@ interest_rate_upperbound = 15
|
|
189 |
# revenues_lower_bound = 10000
|
190 |
# revenues_upper_bound = 20000
|
191 |
|
192 |
-
cagr_revenues_lower_bound =
|
193 |
cagr_revenues_upper_bound = 8
|
194 |
|
195 |
with gr.Blocks() as interface:
|
|
|
172 |
plt.ylim(0, 1.05)
|
173 |
plt.yticks(np.arange(0, 1.1, 0.1))
|
174 |
plt.xticks(range(1940,2055,4), rotation = 45)
|
175 |
+
plt.axvline(x = 2024.5, color = "black", linestyle = '--')
|
176 |
plt.grid(True, axis = 'y', linestyle = '--', linewidth = 0.7)
|
177 |
|
178 |
# Save the plot to a file
|
|
|
189 |
# revenues_lower_bound = 10000
|
190 |
# revenues_upper_bound = 20000
|
191 |
|
192 |
+
cagr_revenues_lower_bound = 0
|
193 |
cagr_revenues_upper_bound = 8
|
194 |
|
195 |
with gr.Blocks() as interface:
|