We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15b2afd commit dd90b23Copy full SHA for dd90b23
projects/pace.py
@@ -3604,6 +3604,11 @@ def ensemble_trend (trends):
3604
ax.set_ylim([z_deep, 0])
3605
ax.set_yticks(z_ticks)
3606
ax.set_yticklabels([])
3607
+ # Remove any trailing zeros in tick labels so axis isn't too crowded
3608
+ labels = []
3609
+ for tick in ax.get_xticks():
3610
+ labels.append(round_to_decimals(tick,2))
3611
+ ax.set_xticklabels(labels)
3612
if r==0:
3613
x0 = 0.5
3614
y0 = 0.975
0 commit comments