Spaces:
Runtime error
Runtime error
eaglelandsonce
commited on
Commit
•
a729ea0
1
Parent(s):
a36f294
Update app.py
Browse files
app.py
CHANGED
@@ -57,7 +57,7 @@ def draw_grid(data):
|
|
57 |
# Setting the grid size
|
58 |
nrows, ncols = data['size']['rows'], data['size']['columns']
|
59 |
ax.set_xlim(0, ncols)
|
60 |
-
ax.set_ylim(
|
61 |
ax.set_xticks(range(ncols+1))
|
62 |
ax.set_yticks(range(nrows+1))
|
63 |
ax.grid(True)
|
|
|
57 |
# Setting the grid size
|
58 |
nrows, ncols = data['size']['rows'], data['size']['columns']
|
59 |
ax.set_xlim(0, ncols)
|
60 |
+
ax.set_ylim(nrows, 0)
|
61 |
ax.set_xticks(range(ncols+1))
|
62 |
ax.set_yticks(range(nrows+1))
|
63 |
ax.grid(True)
|