发现问题过程 在画函数图时,出现报错 only size-1 arrays can be converted to Python scalars 原代码 plt.xticks([-4,-2,0,2,4]) plt.yticks([0.0<