matplotlib.artist.Artist.draw#
- Artist.draw(renderer)[source]#
使用给定的渲染器绘制 Artist(及其子对象)。
如果artist不可见(
Artist.get_visible
返回False),则此操作无效。- 参数:
- renderer
RendererBase
子类。
- renderer
备注
此方法在 Artist 子类中被覆盖。
使用给定的渲染器绘制 Artist(及其子对象)。
如果artist不可见(Artist.get_visible
返回False),则此操作无效。
RendererBase
子类。备注
此方法在 Artist 子类中被覆盖。
matplotlib.artist.Artist.draw
的示例#