Sto cercando di utilizzare sottotrame simile a ciò che viene mostrato qui:plot.subplot ---> 'figura' non ha alcun attributo 'plot'
http://matplotlib.org/examples/pylab_examples/subplots_demo.html
axarr = plt.subplots(len(column_list), sharex=True)
subp_num = 0
for j in column_list:
axarr[subp_num].plot(df.values[2:,j])
subp_num = subp_num + 1
tanto sono presente errore:
axarr[subp_num].plot(df.values[2:,j])
AttributeError: 'Figure' object has no attribute 'plot'
Qualche suggerimento su cosa sto facendo di sbagliato? Grazie
Grazie mille jonrsharp, ha funzionato solo aggiungendo "f". – user2564259