jeffrey1963 commited on
Commit
db27045
·
verified ·
1 Parent(s): 85bd566

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
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