Add better dpi
This commit is contained in:
parent
ea3dcbb015
commit
14953b031a
|
@ -74,7 +74,7 @@ def remove_outlier_total_amount(tickets):
|
|||
|
||||
def save_file_s3(File_name, type_of_activity):
|
||||
image_buffer = io.BytesIO()
|
||||
plt.savefig(image_buffer, format='png', pad_inches=1, bbox_inches="tight")
|
||||
plt.savefig(image_buffer, format='png', pad_inches=1, bbox_inches="tight", dpi = 150)
|
||||
image_buffer.seek(0)
|
||||
FILE_PATH = f"projet-bdc2324-team1/2_Output/2_0_Descriptive_Statistics/{type_of_activity}/"
|
||||
FILE_PATH_OUT_S3 = FILE_PATH + File_name + type_of_activity + '.png'
|
||||
|
|
Loading…
Reference in New Issue
Block a user