ساختار ورودی/خروجی
I/O Plugin Infrastructure
skimage/io/_plugins/mpl.py
skimage/io/_plugins/mpl.ini[mpl] <-- name of the plugin, may be anything
description = Matplotlib image I/O plugin
provides = imshow <-- a comma-separated list, one or more of
imshow, imsave, imread, _app_show# This is mpl.py
import matplotlib.pyplot as plt
def imshow(img):
plt.imshow(img)[mpl]
provides = imshow, _app_show# This is mpl.py
import matplotlib.pyplot as plt
def imshow(img):
plt.imshow(img)
def _app_show():
plt.show()Last updated