Skip to content

Commit

Permalink
Fix diagnostic mpqb (#3918)
Browse files Browse the repository at this point in the history
  • Loading branch information
sloosvel authored Feb 19, 2025
1 parent 592bb54 commit 95a9571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion esmvaltool/diag_scripts/mpqb/mpqb_lineplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def main(cfg):

h1, l1 = ax1.get_legend_handles_labels()
leg = lax.legend(h1, l1, borderaxespad=0, ncol=4, loc='center')
for legobj in leg.legendHandles:
for legobj in leg.legend_handles:
legobj.set_linewidth(2.0)
lax.axis("off")

Expand Down
2 changes: 1 addition & 1 deletion esmvaltool/diag_scripts/mpqb/mpqb_lineplot_growthrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def main(cfg):

h1, l1 = ax1.get_legend_handles_labels()
leg = lax.legend(h1, l1, borderaxespad=0, ncol=4, loc='center')
for legobj in leg.legendHandles:
for legobj in leg.legend_handles:
legobj.set_linewidth(2.0)
lax.axis("off")

Expand Down

0 comments on commit 95a9571

Please sign in to comment.