Skip to content

Commit 8f4f084

Browse files
story645chahak13
andcommitted
changed ellipse plotting method entry to add_patch
Co-authored-by: Chahak Mehta <[email protected]>
1 parent 0e3a261 commit 8f4f084

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

tutorials/introductory/animation_tutorial.py

+22-22
Original file line numberDiff line numberDiff line change
@@ -62,28 +62,28 @@
6262
# modify the data. The following table shows a few plotting methods, the artist
6363
# types they return and some methods that can be used to update them.
6464
#
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+
# ======================================== ============================= ===========================
8787
#
8888
# Covering the set methods for all types of artists is beyond the scope of this
8989
# tutorial but can be found in their respective documentations. An example of

0 commit comments

Comments
 (0)