Skip to content

Commit b34a7d9

Browse files
Change Figure.show()
Change fig.show() to plt.show() Note that this will block; figure needs to be closed for rest of code to continue. In regular usage, I presume Figure.save() to be more used.
1 parent ee63eec commit b34a7d9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyNN/utility/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def save(self, filename):
213213
self.fig.savefig(filename)
214214

215215
def show(self):
216-
self.fig.show()
216+
plt.show()
217217

218218

219219
class Panel(object):

0 commit comments

Comments
 (0)