feature/ISEPOS-2364-new-application-seismic-hazard-forecasting #1

Merged
asia merged 4 commits from feature/ISEPOS-2364-new-application-seismic-hazard-forecasting into master 2025-04-30 09:35:32 +02:00
Showing only changes of commit e436dec713 - Show all commits

View File

@ -495,7 +495,7 @@ verbose: {verbose}")
# Save the figure
fig.canvas.draw()
plt.savefig("overlay_" + str(j) + ".png", bbox_inches="tight", pad_inches=0, transparent=True)
plt.savefig("overlay_" + str(j) + ".svg", bbox_inches="tight", pad_inches=0, transparent=True)
plt.close(fig)
# Make the color bar
@ -518,5 +518,5 @@ verbose: {verbose}")
ax.set_yticklabels([f"{tick:.2f}" for tick in tick_positions]) # format tick labels
ax.set_title(imt, pad=15)
fig.subplots_adjust(left=0.25, right=0.75, bottom=0.05, top=0.95) # Adjust Layout
fig.savefig("colorbar_" + str(j) + ".png", bbox_inches='tight')
fig.savefig("colorbar_" + str(j) + ".svg", bbox_inches='tight')
plt.close(fig)