Skip to content

Commit 739f951

Browse files
authored
Merge pull request MIT-LCP#172 from MIT-LCP/144
Unnecessary argument in plt.show(). Fixes MIT-LCP#144
2 parents cc8c9e9 + 7be3a57 commit 739f951

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wfdb/plot/plot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ def plot_items(signal=None, ann_samp=None, ann_sym=None, fs=None,
117117
label_figure(axes, n_subplots, time_units, sig_name, sig_units, ylabel,
118118
title)
119119

120-
plt.show(fig)
121-
122120
if return_fig:
123121
return fig
124122

123+
plt.show()
124+
125125
def get_plot_dims(signal, ann_samp):
126126
"Figure out the number of plot channels"
127127
if signal is not None:

0 commit comments

Comments
 (0)