ISEPOS-2373 Fix: name 'svg_path' is not defined
This commit is contained in:
parent
8f1ab5518a
commit
22fc9f7c07
@ -505,7 +505,8 @@ verbose: {verbose}")
|
||||
|
||||
# Save the figure
|
||||
fig.canvas.draw()
|
||||
plt.savefig("overlay_" + str(j) + ".svg", bbox_inches="tight", pad_inches=0, transparent=True)
|
||||
svg_path = f"overlay_{j}.svg"
|
||||
plt.savefig(svg_path, bbox_inches="tight", pad_inches=0, transparent=True)
|
||||
plt.close(fig)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user