@@ -322,17 +322,17 @@ class in the Matplotlib API, and the one you will be working with most
322
322
# ax.grid(True)
323
323
#
324
324
#
325
- # The figure also has its own text, lines, patches and images, which you
326
- # can use to add primitives directly. The default coordinate system for
327
- # the ``Figure`` will simply be in pixels (which is not usually what you
328
- # want) but you can control this by setting the transform property of
329
- # the ``Artist`` you are adding to the figure.
330
- #
331
- # .. TODO: Is that still true?
332
- #
333
- # More useful is "figure coordinates" where (0, 0) is the bottom-left of
334
- # the figure and (1, 1) is the top-right of the figure which you can
335
- # obtain by setting the ``Artist`` transform to :attr:`fig.transFigure
325
+ # The figure also has its own ``images``, `` lines``, `` patches`` and ``text``
326
+ # attributes, which you can use to add primitives directly. When doing so, the
327
+ # default coordinate system for the ``Figure`` will simply be in pixels (which
328
+ # is not usually what you want). If you instead use Figure-level methods to add
329<
6E28
/code>
+ # Artists (e.g., using `.Figure.text` to add text), then the default coordinate
330
+ # system will be "figure coordinates" where (0, 0) is the bottom-left of the
331
+ # figure and (1, 1) is the top-right of the figure.
332
+ #
333
+ # As with all ``Artist``\s, you can control this coordinate system by setting
334
+ # the transform property. You can explicitly use " figure coordinates" by
335
+ # setting the ``Artist`` transform to :attr:`fig.transFigure
336
336
# <matplotlib.figure.Figure.transFigure>`:
337
337
338
338
import matplotlib .lines as lines
0 commit comments