diff --git a/src/seismic_hazard_forecasting.py b/src/seismic_hazard_forecasting.py index 5dad4cc..b1efe81 100644 --- a/src/seismic_hazard_forecasting.py +++ b/src/seismic_hazard_forecasting.py @@ -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)