Again, we don't know what df contains and what your desired output is. Please edit your question and provide a Minimal, Complete, and Verifiable example. You probably simply have to add a "plt.legend() plt.show()" after the loop to get your desired output.
df.select_dtypes(include=["integer"]).columns.sizecalculates your axis size.