Skip to content

Commit

Permalink
filename fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blleng committed Sep 11, 2024
1 parent 2d1decd commit e5b25fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/convert_emd/drawing.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def convert_emd(file_name, data, output_type, scale_bar, sb_color, sb_x_start, s
plt.margins = (0, 0)
plt.axis("off")
if scale_bar == True:
plt.savefig(output_name + title + "_" + str(split_frame[i])[:5] + split_unit + "_" + sb_text + output_type)
plt.savefig(output_name + title + "_" + str(split_frame[i])[:5] + split_unit + sb_text + output_type)
else:
plt.savefig(output_name + title + "_" + str(split_frame[i])[:5] + split_unit + output_type)
plt.close()
Expand Down

0 comments on commit e5b25fd

Please sign in to comment.