Skip to content

changed method in animation tutorial table of methods #24841

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 7, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 22 additions & 22 deletions tutorials/introductory/animation_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,28 +62,28 @@
# modify the data. The following table shows a few plotting methods, the artist
# types they return and some methods that can be used to update them.
#
# ================= ============================= ===========================
# Plotting method Artist Set method
# ================= ============================= ===========================
# `.Axes.plot` `.lines.Line2D` `.lines.Line2D.set_data`
# `.Axes.scatter` `.collections.PathCollection` `.collections.\
# PathCollection.set_offsets`
# `.Axes.imshow` `.image.AxesImage` ``AxesImage.set_data``
# `.Axes.annotate` `.text.Annotation` `.text.Annotation.\
# update_positions`
# `.Axes.barh` `.patches.Rectangle` `.Rectangle.set_angle`,
# `.Rectangle.set_bounds`,
# `.Rectangle.set_height`,
# `.Rectangle.set_width`,
# `.Rectangle.set_x`,
# `.Rectangle.set_y`
# `.Rectangle.set_xy`
# `.Axes.fill` `.patches.Polygon` `.Polygon.set_xy`
# `.patches.Circle` `.patches.Ellipse` `.Ellipse.set_angle`,
# `.Ellipse.set_center`,
# `.Ellipse.set_height`,
# `.Ellipse.set_width`
# ================= ============================= ===========================
# ======================================== ============================= ===========================
# Plotting method Artist Set method
# ======================================== ============================= ===========================
# `.Axes.plot` `.lines.Line2D` `~.lines.Line2D.set_data`
# `.Axes.scatter` `.collections.PathCollection` `~.collections.\
# PathCollection.set_offsets`
# `.Axes.imshow` `.image.AxesImage` ``AxesImage.set_data``
# `.Axes.annotate` `.text.Annotation` `~.text.Annotation.\
# update_positions`
# `.Axes.barh` `.patches.Rectangle` `~.Rectangle.set_angle`,
# `~.Rectangle.set_bounds`,
# `~.Rectangle.set_height`,
# `~.Rectangle.set_width`,
# `~.Rectangle.set_x`,
# `~.Rectangle.set_y`,
# `~.Rectangle.set_xy`
# `.Axes.fill` `.patches.Polygon` `~.Polygon.set_xy`
# `.Axes.add_patch`\(`.patches.Ellipse`\) `.patches.Ellipse` `~.Ellipse.set_angle`,
# `~.Ellipse.set_center`,
# `~.Ellipse.set_height`,
# `~.Ellipse.set_width`
# ======================================== ============================= ===========================
#
# Covering the set methods for all types of artists is beyond the scope of this
# tutorial but can be found in their respective documentations. An example of
Expand Down