Dec-22-2020, 09:31 PM
(This post was last modified: Dec-22-2020, 09:32 PM by MK_CodingSpace.)
plt.subplot(3,2,subplot_count) shouldn't be at line 22, it should be at line 10. You got 5 graphs because there was 5 elements in markets variable. The first subplot was empty because you set subplot_count = 1 at line 9. If you set subplot_count = 0, then the last subplot would be empty.