pandas subplots in a loop

前端 未结 3 507
后悔当初
后悔当初 2020-12-21 06:10

I have this code which plots well my plots in a 1 row and 6 columns I tried unsuccessfully to plot it in a 2x3 or 3x2 Is there something I\'m missing in the .plot() implemen

3条回答
  •  遥遥无期
    2020-12-21 06:55

    Similarly you can also do:

    for i, ax in enumerate(axes.reshape(-1)):
         df[spfvL[i]].plot(ax=ax)
    

提交回复
热议问题