ISEPOS-2364 replaced png file extensions with svg

This commit is contained in:
asia 2025-04-19 13:34:26 +02:00
parent 0551f1f056
commit e436dec713

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)