matplotlib.artist.allow_rasterization #

matplotlib.artist。allow_rasterization ( draw ) [来源] #

Artist.draw 方法的装饰器。提供在绘图调用之前和之后运行的例程。before 和 after 函数对于更改与艺术家相关的渲染器属性或进行其他设置函数调用很有用,例如启动和刷新混合模式渲染器。