Skip to content

Commit 9d56cd9

Browse files
story645meeseeksmachine
authored andcommitted
Backport PR #27036: updated artist_intro.rst
1 parent b40f27c commit 9d56cd9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

galleries/users_explain/artists/artist_intro.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ and :doc:`Axes <../axes/index>` are Artists, and generally contain
1010

1111

1212
Creating Artists
13-
~~~~~~~~~~~~~~~~
13+
^^^^^^^^^^^^^^^^
1414

1515
Usually we do not instantiate Artists directly, but rather use a plotting
1616
method on `~.axes.Axes`. Some examples of plotting methods and the Artist
@@ -58,7 +58,7 @@ Artist via `~.Axes.get_lines()`:
5858
Line2D(example)
5959

6060
Changing Artist properties
61-
~~~~~~~~~~~~~~~~~~~~~~~~~~
61+
^^^^^^^^^^^^^^^^^^^^^^^^^^
6262

6363
Getting the ``lines`` object gives us access to all the properties of the
6464
Line2D object. So if we want to change the *linewidth* after the fact, we can do so using `.Artist.set`.
@@ -132,7 +132,7 @@ Note most Artists also have a distinct list of setters; e.g.
132132
`.Line2D.set_color` or `.Line2D.set_linewidth`.
133133

134134
Changing Artist data
135-
~~~~~~~~~~~~~~~~~~~~
135+
^^^^^^^^^^^^^^^^^^^^
136136

137137
In addition to styling properties like *color* and *linewidth*, the Line2D
138138
object has a *data* property. You can set the data after the line has been
@@ -149,7 +149,7 @@ same line is shown evolving over time (see :doc:`../animations/index`)
149149
lines[0].set_data([x, np.cos(x)])
150150

151151
Manually adding Artists
152-
~~~~~~~~~~~~~~~~~~~~~~~
152+
^^^^^^^^^^^^^^^^^^^^^^^
153153

154154
Not all Artists have helper methods, or you may want to use a low-level method
155155
for some reason. For example the `.patches.Circle` Artist does not have a
@@ -178,7 +178,7 @@ be clipped, as is the case above for the ``clipped_circle`` patch.
178178
See :ref:`artist_reference` for other patches.
179179

180180
Removing Artists
181-
~~~~~~~~~~~~~~~~
181+
^^^^^^^^^^^^^^^^
182182

183183
Sometimes we want to remove an Artist from a figure without re-specifying the
184184
whole figure from scratch. Most Artists have a usable *remove* method that

0 commit comments

Comments
 (0)