matplotlib.artist.Artist.set_agg_filter# Artist.set_agg_filter(filter_func)[source]# 设置 agg 过滤器。 参数: filter_func可调用对象一个过滤器函数,它接受一个 (m, n, depth) 浮点数组和一个 DPI 值,并返回一个 (m, n, depth) 数组以及从图像左下角起的两个偏移量