ISEPOS-2364 replaced png file extensions with svg
This commit is contained in:
parent
0551f1f056
commit
e436dec713
@ -495,7 +495,7 @@ verbose: {verbose}")
|
|||||||
|
|
||||||
# Save the figure
|
# Save the figure
|
||||||
fig.canvas.draw()
|
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)
|
plt.close(fig)
|
||||||
|
|
||||||
# Make the color bar
|
# 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_yticklabels([f"{tick:.2f}" for tick in tick_positions]) # format tick labels
|
||||||
ax.set_title(imt, pad=15)
|
ax.set_title(imt, pad=15)
|
||||||
fig.subplots_adjust(left=0.25, right=0.75, bottom=0.05, top=0.95) # Adjust Layout
|
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)
|
plt.close(fig)
|
||||||
|
Loading…
Reference in New Issue
Block a user