Skip to content

Commit

Permalink
Final final updates to figures, I think?
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaitlin Naughten authored and Kaitlin Naughten committed May 25, 2021
1 parent 15b2afd commit dd90b23
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions projects/pace.py
Original file line number Diff line number Diff line change
Expand Up @@ -3604,6 +3604,11 @@ def ensemble_trend (trends):
ax.set_ylim([z_deep, 0])
ax.set_yticks(z_ticks)
ax.set_yticklabels([])
# Remove any trailing zeros in tick labels so axis isn't too crowded
labels = []
for tick in ax.get_xticks():
labels.append(round_to_decimals(tick,2))
ax.set_xticklabels(labels)
if r==0:
x0 = 0.5
y0 = 0.975
Expand Down

0 comments on commit dd90b23

Please sign in to comment.