Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -65,6 +65,9 @@ def plot_nonmarket_wtp():
|
|
| 65 |
ax.set_title("Non-Market WTP: Fish Diversity")
|
| 66 |
ax.set_xlabel("Quality Level")
|
| 67 |
ax.set_ylabel("WTP ($)")
|
|
|
|
|
|
|
|
|
|
| 68 |
ax.legend()
|
| 69 |
plt.tight_layout()
|
| 70 |
return fig
|
|
|
|
| 65 |
ax.set_title("Non-Market WTP: Fish Diversity")
|
| 66 |
ax.set_xlabel("Quality Level")
|
| 67 |
ax.set_ylabel("WTP ($)")
|
| 68 |
+
# Force axes to start at zero
|
| 69 |
+
ax.set_xlim(left=0)
|
| 70 |
+
ax.set_ylim(bottom=0)
|
| 71 |
ax.legend()
|
| 72 |
plt.tight_layout()
|
| 73 |
return fig
|