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