QApplication需要在创建任何QWidgets之前进行初始化 new_plot skimage.viewer.utils.new_plot(parent=None,subplot_kw=None
vmin=0,vmax=None,cmap=None,bitspersample=None,photometric='rgb',interpolation=None,dpi=96,figure=None,subplot
importmatplotlib.pyplotasplt>>>fromskimage.viewer.canvastoolsimportPaintTool>>>importnumpyasnp >>>img=camera() >>>ax=plt.subplot