Plot all pandas dataframe columns separately
Pandas subplots=True will arange the axes in a single column. import numpy as np import matplotlib.pyplot as plt import pandas as pd df = pd.DataFrame(np.random.rand(7,20)) df.plot(subplots=True) plt.tight_layout() plt.show() Here, tight_layout isn’t applied, because the figure is too small to arange the axes nicely. One can use a bigger figure (figsize=(…)) though. In order to have … Read more