matplotlib.artist.Artist.draw#

Artist.draw(renderer)[source]#

使用给定的渲染器绘制 Artist(及其子对象)。

如果artist不可见(Artist.get_visible返回False),则此操作无效。

参数:
rendererRendererBase 子类。

备注

此方法在 Artist 子类中被覆盖。

使用matplotlib.artist.Artist.draw的示例#

艺术家内部的艺术家

艺术家内部的艺术家