Skip to content

Commit

Permalink
fix the ann harmonic test again
Browse files Browse the repository at this point in the history
  • Loading branch information
pinarda committed Jun 1, 2021
1 parent 908fd46 commit 2ef23ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ldcpy/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,8 +766,7 @@ def get_calc_label(self, calc, data):
p = lm.Datasetcalcs((data), ['time'], weighted=self._weighted).get_single_calc(
'annual_harmonic_relative_ratio_pct_sig'
)
d = p.data.compute()
calc_name = f'{calc}: % sig = {d:.2f}'
calc_name = f'{calc}: % sig = {p:.2f}'
elif self._plot_type == 'spatial':
if self._weighted:
a1_data = (
Expand Down

0 comments on commit 2ef23ae

Please sign in to comment.