Skip to content

Commit 1e20738

Browse files
alxbilgerhugtalbot
andauthored
Apply suggestions from code review
Co-authored-by: Hugo <hugo.talbot@sofa-framework.org>
1 parent 528cbaf commit 1e20738

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

examples/access_mass_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ def onAnimateEndEvent(self, event):
5555
np.savetxt('mass.csv', mass_matrix.toarray(), delimiter=',')
5656
if showImage:
5757
plt.imshow(mass_matrix.toarray(), interpolation='nearest', cmap='gist_gray')
58-
plt.show()
58+
plt.show(block=False)
5959

examples/access_stiffness_matrix.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ def onAnimateEndEvent(self, event):
5555
np.savetxt('stiffness.csv', stiffness_matrix.toarray(), delimiter=',')
5656
if showImage:
5757
plt.imshow(stiffness_matrix.toarray(), interpolation='nearest', cmap='gist_gray')
58-
plt.show()
58+
plt.show(block=False)
5959

0 commit comments

Comments
 (0)