Update app.py
Browse files
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,
|
| 65 |
-
tick_labels =
|
|
|
|
|
|
|
| 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)
|