Skip to content

Commit

Permalink
fix typo in if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkjames committed Jul 19, 2024
1 parent 59f30c5 commit 9fa280f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyleoclim/core/coherences.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9fa280f

Please sign in to comment.