Skip to content

Commit

Permalink
Update recipe_impact.yml to work with newer versions of pandas (#3220)
Browse files Browse the repository at this point in the history
  • Loading branch information
bouweandela authored and Javier Vegas-Regidor committed Jan 14, 2024
1 parent be504b8 commit 4985846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esmvaltool/diag_scripts/impact/bias_and_change.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def plot_htmltable(dataframe, ancestors, cfg):
.set_table_styles(styles)\
.background_gradient(cmap='RdYlGn', low=0, high=1, axis=0)\
.format("{:.2e}", na_rep="-")\
.render()
.to_html()

filename = get_diagnostic_filename('bias_vs_change', cfg, extension='html')
with open(filename, 'w') as htmloutput:
Expand Down

0 comments on commit 4985846

Please sign in to comment.