|
62 | 62 | # modify the data. The following table shows a few plotting methods, the artist
|
63 | 63 | # types they return and some methods that can be used to update them.
|
64 | 64 | #
|
65 |
| -# ================= ============================= =========================== |
66 |
| -# Plotting method Artist Set method |
67 |
| -# ================= ============================= =========================== |
68 |
| -# `.Axes.plot` `.lines.Line2D` `.lines.Line2D.set_data` |
69 |
| -# `.Axes.scatter` `.collections.PathCollection` `.collections.\ |
70 |
| -# PathCollection.set_offsets` |
71 |
| -# `.Axes.imshow` `.image.AxesImage` ``AxesImage.set_data`` |
72 |
| -# `.Axes.annotate` `.text.Annotation` `.text.Annotation.\ |
73 |
| -# update_positions` |
74 |
| -# `.Axes.barh` `.patches.Rectangle` `.Rectangle.set_angle`, |
75 |
| -# `.Rectangle.set_bounds`, |
76 |
| -# `.Rectangle.set_height`, |
77 |
| -# `.Rectangle.set_width`, |
78 |
| -# `.Rectangle.set_x`, |
79 |
| -# `.Rectangle.set_y` |
80 |
| -# `.Rectangle.set_xy` |
81 |
| -# `.Axes.fill` `.patches.Polygon` `.Polygon.set_xy` |
82 |
| -# `.patches.Circle` `.patches.Ellipse` `.Ellipse.set_angle`, |
83 |
| -# `.Ellipse.set_center`, |
84 |
| -# `.Ellipse.set_height`, |
85 |
| -# `.Ellipse.set_width` |
86 |
| -# ================= ============================= =========================== |
| 65 | +# ======================================== ============================= =========================== |
| 66 | +# Plotting method Artist Set method |
| 67 | +# ======================================== ============================= =========================== |
| 68 | +# `.Axes.plot` `.lines.Line2D` `~.lines.Line2D.set_data` |
| 69 | +# `.Axes.scatter` `.collections.PathCollection` `~.collections.\ |
| 70 | +# PathCollection.set_offsets` |
| 71 | +# `.Axes.imshow` `.image.AxesImage` ``AxesImage.set_data`` |
| 72 | +# `.Axes.annotate` `.text.Annotation` `~.text.Annotation.\ |
| 73 | +# update_positions` |
| 74 | +# `.Axes.barh` `.patches.Rectangle` `~.Rectangle.set_angle`, |
| 75 | +# `~.Rectangle.set_bounds`, |
| 76 | +# `~.Rectangle.set_height`, |
| 77 | +# `~.Rectangle.set_width`, |
| 78 | +# `~.Rectangle.set_x`, |
| 79 | +# `~.Rectangle.set_y`, |
| 80 | +# `~.Rectangle.set_xy` |
| 81 | +# `.Axes.fill` `.patches.Polygon` `~.Polygon.set_xy` |
| 82 | +# `.Axes.add_patch`\(`.patches.Ellipse`\) `.patches.Ellipse` `~.Ellipse.set_angle`, |
| 83 | +# `~.Ellipse.set_center`, |
| 84 | +# `~.Ellipse.set_height`, |
| 85 | +# `~.Ellipse.set_width` |
| 86 | +# ======================================== ============================= =========================== |
87 | 87 | #
|
88 | 88 | # Covering the set methods for all types of artists is beyond the scope of this
|
89 | 89 | # tutorial but can be found in their respective documentations. An example of
|
|
0 commit comments