图片马赛克 关注公众号“轻松学编程”了解更多。 导包 import numpy as np import matplotlib.pyplot as plt %matplotlib inline 读取图片 dog = plt.imread('./img/金毛.jpg') plt.imshow