瀏覽代碼

Fix up 2D grid example.

master
Pete Shadbolt 8 年之前
父節點
當前提交
8666631dc0
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      examples/visualization/grid_2d.py

+ 3
- 2
examples/visualization/grid_2d.py 查看文件

@@ -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…
取消
儲存