I am using Google Colab and when I try to draw a graph it comes like this
But I have to plot many graphs, so i used a for loop
I expected the graphs to be the same size as in the first image but I got all graphs in compressed form. What should I do to obtain the graphs as the same size as in first image using a for loop.
Try to play with figsize
parameter:
fig, ax = plt.subplots(no_of_feature, 1, figsize=(5, 10)) # example
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With