У меня есть этот код:
g1 = plt.plot(centers[0],'-',label=u'Group 1',color='#1f77b4')
g1_max = plt.plot(centers[0]+max_g1,'-',color='#1f77b4',alpha=0.5)
plt.fill_between(range(len(g1)),g1,g1_max,facecolor='#1f77b4',alpha=0.5)
И я получаю следующую ошибку:
TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
Любая подсказка, почему?
Спасибо