✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Write_image scale=X - does not change resolution for png

I have tried changing the scale from 1.0, 2.0, 3.0 and the image resolution does not change from 72 dpi. What am I doing wrong? I want to improve the resolution?

mra_24_fig.write_image(mytablefile, format=‘png’, scale=1.2, width=2450, height=1067)