matplotlib.axes.Axes.add_collection#

Axes.add_collection(collection, autolim=True)[源代码]#

Collection 添加到 Axes;返回集合。

使用 matplotlib.axes.Axes.add_collection 的示例#

事件集合演示

EventCollection Demo

多色线条

Multicolored lines

使用 PatchCollection 从误差条创建框

Create boxes from error bars using PatchCollection

带有自动缩放的线、多边形和正多边形集合

Line, Poly and RegularPoly Collection with autoscaling

椭圆集合

Ellipse Collection

使用 LineCollection 绘制多条线

Plot multiple lines using a LineCollection

圆、楔形和多边形

Circles, Wedges and Polygons

Lasso 演示

Lasso Demo

艺术家测试

Artist tests

自动缩放轴

Autoscaling Axis