diff --git a/pyleoclim/core/coherences.py b/pyleoclim/core/coherences.py index 7f4e74e6..516deb69 100644 --- a/pyleoclim/core/coherences.py +++ b/pyleoclim/core/coherences.py @@ -410,7 +410,7 @@ def plot(self, var='wtc', xlabel=None, ylabel=None, title='auto', figsize=[10, 8 plotting.savefig(fig, settings=savefig_settings) if title is not None and title != 'auto': fig.suptitle(title) - elif title == 'auto' and lbl1 is not None and lbl1 is not None: + elif title == 'auto' and lbl1 is not None and lbl2 is not None: title = 'Wavelet coherency ('+self.wave_method.upper() +') between '+ lbl1 + ' and ' + lbl2 fig.suptitle(title) return fig, ax