Browse Source

Fix up 2D grid example.

master
Pete Shadbolt 8 years ago
parent
commit
8666631dc0
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      examples/visualization/grid_2d.py

+ 3
- 2
examples/visualization/grid_2d.py View File

@@ -1,4 +1,4 @@
from abp.fancy import GraphState
from abp import GraphState, VizClient
from abp.util import xyz
import itertools

@@ -19,5 +19,6 @@ def grid_2d(width, height):

if __name__ == '__main__':
psi = grid_2d(5, 5)
psi.update()
v = VizClient()
v.update(psi)


Loading…
Cancel
Save