Skip to content

Commit

Permalink
fix for newer matplotlib
Browse files Browse the repository at this point in the history
  • Loading branch information
thearn committed Oct 1, 2014
1 parent 52e6414 commit 959995d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conway.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def conway(state, k=None):
# plot each frame
plt.figure()
img_plot = plt.imshow(A, interpolation="nearest", cmap = plt.cm.gray)
plt.show()
plt.show(block=False)
while True:
A = conway(A)
img_plot.set_data(A)
Expand Down

0 comments on commit 959995d

Please sign in to comment.