| fig.legend(loc="lower right") | fig.legend(loc="lower right") | ||||
| plt.savefig("{}{}_plot.pdf".format(args.save, csv.replace(".csv", ""))) | |||||
| plt.savefig("{}{}_plot.pdf".format(args.save, csv.replace(".csv", "")), bbox_inches="tight") | |||||
| # except Exception as e: | # except Exception as e: | ||||
| # print("Error processing file: {}".format(csv)) | # print("Error processing file: {}".format(csv)) | ||||
| # print(str(e)) | # print(str(e)) |