Skip to content

Commit

Permalink
Avoid frozen interactive plots (matplotlib/matplotlib#2134)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Keraudren committed Mar 16, 2016
1 parent ce048d2 commit cfa6df1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chanvese.py
Expand Up @@ -139,6 +139,8 @@ def show_curve_and_phi(fig, I, phi, color):
fig.axes[1].imshow(phi)
fig.axes[1].set_axis_off()
plt.draw()

plt.pause(0.001)


def im2double(a):
Expand Down

0 comments on commit cfa6df1

Please sign in to comment.