ajflorez commited on
Commit
996e98c
·
verified ·
1 Parent(s): f910dbc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -61,8 +61,10 @@ def load_plan_vi(mapa_seleccionado, uploaded_file):
61
 
62
  plan_im = Image.open(buf)
63
 
64
- tick_positions = np.linspace(0, 256, 10)
65
- tick_labels = np.linspace(0, 20, 10, dtype=int)
 
 
66
 
67
  buf = BytesIO()
68
  plt.imshow(plan_n)
 
61
 
62
  plan_im = Image.open(buf)
63
 
64
+ tick_positions = np.linspace(0, 256, 11)
65
+ tick_labels = ["0", "2", "4", "6", "8", "10", "12", "14", "16", "18", "20"]
66
+
67
+ plt.xticks(tick_positions, tick_labels)
68
 
69
  buf = BytesIO()
70
  plt.imshow(plan_n)