Skip to content

Commit 73b60f7

Browse files
committed
contribution to strint issue in artist.py
1 parent 773096e commit 73b60f7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

galleries/tutorials/artists.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ class in the Matplotlib API, and the one you will be working with most
156156
# (the standard white box with black edges in the typical Matplotlib
157157
# plot, has a ``Rectangle`` instance that determines the color,
158158
# transparency, and other properties of the Axes. These instances are
159-
# stored as member variables :attr:`Figure.patch
160-
# <matplotlib.figure.Figure.patch>` and :attr:`Axes.patch
159+
# stored as member variables :attr:`!Figure.patch
160+
# <matplotlib.figure.Figure.patch>` and :attr:`!Axes.patch
161161
# <matplotlib.axes.Axes.patch>` ("Patch" is a name inherited from
162162
# MATLAB, and is a 2D "patch" of color on the figure, e.g., rectangles,
163163
# circles and polygons). Every Matplotlib ``Artist`` has the following
@@ -331,7 +331,7 @@ class in the Matplotlib API, and the one you will be working with most
331331
#
332332
# As with all ``Artist``\s, you can control this coordinate system by setting
333333
# the transform property. You can explicitly use "figure coordinates" by
334-
# setting the ``Artist`` transform to :attr:`fig.transFigure
334+
# setting the ``Artist`` transform to :attr:`!fig.transFigure
335335
# <matplotlib.figure.Figure.transFigure>`:
336336

337337
import matplotlib.lines as lines
@@ -408,7 +408,7 @@ class in the Matplotlib API, and the one you will be working with most
408408
#
409409
# Similarly, methods that create patches, like
410410
# :meth:`~matplotlib.axes.Axes.bar` creates a list of rectangles, will
411-
# add the patches to the :attr:`Axes.patches
411+
# add the patches to the :attr:`!Axes.patches
412412
# <matplotlib.axes.Axes.patches>` list:
413413
#
414414
# .. sourcecode:: ipython
@@ -556,8 +556,8 @@ class in the Matplotlib API, and the one you will be working with most
556556
# important ``Artist`` containers: the :class:`~matplotlib.axis.XAxis`
557557
# and :class:`~matplotlib.axis.YAxis`, which handle the drawing of the
558558
# ticks and labels. These are stored as instance variables
559-
# :attr:`~matplotlib.axes.Axes.xaxis` and
560-
# :attr:`~matplotlib.axes.Axes.yaxis`. The ``XAxis`` and ``YAxis``
559+
# :attr:`!~matplotlib.axes.Axes.xaxis` and
560+
# :attr:`!~matplotlib.axes.Axes.yaxis`. The ``XAxis`` and ``YAxis``
561561
# containers will be detailed below, but note that the ``Axes`` contains
562562
# many helper methods which forward calls on to the
563563
# :class:`~matplotlib.axis.Axis` instances, so you often do not need to

0 commit comments

Comments
 (0)