this is my code:
def draw_images(values):
for item in tqdm(values):
plt.xticks(item[1:6], item[1:6])
plt.bar(item[1:6], item[6:], color='red', width=0.02)
plt.savefig(f"F:\\BMIProjects\\mlm\\data\\image\\{item[0]}.jpg")
if i don’t add plt.show, the image is all wrong…
this image is use plt.show and use gui button save: