Ich möchte einen Durchschnitt von 24 Arrays plotten, hatte aber eine Fehlermeldung '' Liste 'Objekt hat kein Attribut' Form ''. Wo ist der Fehler?Plotten einen Durchschnitt
empty_array=numpy.zeros[2,30,100]
for x in range (1,25):
array = array[x,:,:,:]
empty_array += array
average = map(lambda x:x/24,empty_array)
plt.figure(1)
plt.pcolor(average)
plt.colorbar(orientation='horizontal')
'shape' ist ein Attribut von' numpy.array' nicht 'list'. In welcher Zeile ist ein Fehler aufgetreten? –
@RahulKP in Zeile 'plt.color (Durchschnitt)' –