Spaces:
Runtime error
Runtime error
eaglelandsonce
commited on
Commit
•
0565b67
1
Parent(s):
a729ea0
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(0, nrows)
|
61 |
ax.set_xticks(range(ncols+1))
|
62 |
ax.set_yticks(range(nrows+1))
|
63 |
ax.grid(True)
|