This commit is contained in:
zhm-real
2020-06-24 20:33:22 -07:00
parent 6a637809f1
commit 049e5a2515
10 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ class Plotting:
plt.plot([node.parent.x, node.x], [node.parent.y, node.y], "-g")
plt.gcf().canvas.mpl_connect('key_release_event',
lambda event: [exit(0) if event.key == 'escape' else None])
if count % 5 == 0: plt.pause(0.001)
if count % 10 == 0: plt.pause(0.001)
else:
for node in nodelist:
if node.parent: