David Chuan-En Lin commited on
Commit
9b7fe1b
·
1 Parent(s): 344a906

Second iteration

Browse files
Files changed (2) hide show
  1. .DS_Store +0 -0
  2. foodnet.py +1 -1
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
foodnet.py CHANGED
@@ -240,7 +240,7 @@ def plot_results(names, probs, n=5):
240
  ax.xaxis.labelpad = 10
241
  ax.set_title(f'FoodNet Top {n} Predictions = {st.session_state.leftovers}')
242
  # mpld3.show()
243
- # plt.xticks(rotation=45, ha='right')
244
  fig = plt.gcf()
245
 
246
  return fig
 
240
  ax.xaxis.labelpad = 10
241
  ax.set_title(f'FoodNet Top {n} Predictions = {st.session_state.leftovers}')
242
  # mpld3.show()
243
+ plt.xticks(rotation=45, ha='right')
244
  fig = plt.gcf()
245
 
246
  return fig