I want to save my plot in python with size 1920* 1080 pixel. The way that I am doing now is
plt.subplots(figsize=(10, 12))
Could you please help me with that? Thank you so much.
I tried to change the dpi and etc. However, it does not work for me.
I want to save my plot in python with size 1920* 1080 pixel. The way that I am doing now is
plt.subplots(figsize=(10, 12))
Could you please help me with that? Thank you so much.
I tried to change the dpi and etc. However, it does not work for me.
You can use fig.set_size_inches(19.20, 10.80) to make your plots 1920*1080 pixels at 100 dpi.
There are a lot of resources that shows how to change fig size;
A stackoverflow thread- How do I change the size of figures drawn with Matplotlib?