在Python和Matplotlib中,很容易将绘图显示为弹出窗口或将绘图保存为PNG文件.我怎样才能将绘图保存为RGB格式的numpy数组?
python numpy matplotlib
matplotlib ×1
numpy ×1
python ×1