Making the numbers match topic numbers

This commit is contained in:
Danny Staple
2022-12-28 18:44:53 +00:00
parent 6e8606fbeb
commit 6ebb615044
81 changed files with 0 additions and 0 deletions
@@ -0,0 +1,15 @@
from matplotlib import pyplot as plt
import arena
for line in arena.boundary_lines:
plt.plot([line[0][0], line[1][0]], [line[0][1], line[1][1]], color="black")
overscan_size = arena.overscan * arena.grid_cell_size
plt.imshow(
arena.distance_grid.T,
extent = [-overscan_size, arena.width + overscan_size, -overscan_size, arena.height + overscan_size],
origin="lower",
cmap="gray"
)
plt.show()