diff --git a/bluepyefe/cell.py b/bluepyefe/cell.py index 0d212c6..3df5ac6 100644 --- a/bluepyefe/cell.py +++ b/bluepyefe/cell.py @@ -270,7 +270,7 @@ def plot_recordings(self, protocol_name, output_dir=None, show=False): plt.margins(0, 0) if show: - plt.show() + fig.show() if output_dir is not None: filename = f"{self.name}_{protocol_name}_recordings_page_{page + 1}.pdf"