Problem with plotting graphs in 1 row using plot method from pandas
问题 Suppose I want to plot 3 graphs in 1 row: dependencies cnt from other 3 features. Code: fig, axes = plt.subplots(nrows=1, ncols=3, figsize=(15, 10)) for idx, feature in enumerate(min_regressors): df_shuffled.plot(feature, "cnt", subplots=True, kind="scatter", ax= axes[0, idx]) plt.show() Error message: IndexErrorTraceback (most recent call last) <ipython-input-697-e15bcbeccfad> in <module>() 2 fig, axes = plt.subplots(nrows=1, ncols=3, figsize=(15, 10)) 3 for idx, feature in enumerate(min