Update src/seismic_hazard_forecasting.py
This commit is contained in:
parent
3c71ab7ab7
commit
f90fce6f67
@ -535,7 +535,7 @@ verbose: {verbose}")
|
||||
tick_positions = np.linspace(vmin, vmax, num_ticks)
|
||||
ax.set_yticks(tick_positions)
|
||||
ax.set_yticklabels([f"{tick:.2f}" for tick in tick_positions]) # format tick labels
|
||||
ax.set_title(imt, pad=15)
|
||||
ax.set_title(products[j], pad=15)
|
||||
fig.subplots_adjust(left=0.25, right=0.75, bottom=0.05, top=0.95) # Adjust Layout
|
||||
fig.savefig("colorbar_" + str(j) + ".svg", bbox_inches='tight')
|
||||
plt.close(fig)
|
||||
|
Loading…
Reference in New Issue
Block a user