我创建了一个matplotlib图形(服务器上的matplotlib),并用mpld3.draw_figure (客户端的nodejs)显示它只给出了模糊的图像,类似于下面的图像: How to 'turn off' blurry effect of imshow() in matplotlib? mpld3.draw_figure(`chartBox-${round}`,chart,false,true) 插值设置'nearest','none',没有改变任何东西: plt.imshow(G,interpola