Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1b56e95

Browse files
authored
Merge pull request #9506 from anntzer/doc-typo
DOC: fix typo in rst markup
2 parents bd38f40 + 6ed4a48 commit 1b56e95

File tree

1 file changed

+25
-21
lines changed

1 file changed

+25
-21
lines changed

tutorials/advanced/transforms_tutorial.py

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,31 @@
1818
``ax`` is a :class:`~matplotlib.axes.Axes` instance, and ``fig`` is a
1919
:class:`~matplotlib.figure.Figure` instance.
2020
21-
=========== ============================= =====================================
22-
Coordinates Transformation object Description
23-
=========== ============================= =====================================
24-
"data" ``ax.transData```` The coordinate system for the data,
25-
controlled by xlim and ylim.
26-
"axes" ``ax.transAxes`` The coordinate system of the
27-
`~.Axes`; (0, 0) is bottom left of
28-
the axes, and (1, 1) is top right of
29-
the axes.
30-
"figure" ``fig.transFigure`` The coordinate system of the
31-
`~.Figure`; (0, 0) is bottom left of
32-
the figure, and (1, 1) is top right
33-
of the figure.
34-
"display" ``None``, or The pixel coordinate system of the
35-
``IdentityTransform()`` display; (0, 0) is bottom left of the
36-
display, and (width, height) is top
37-
right of the display in pixels.
38-
"xaxis", ``ax.get_xaxis_transform()``, Blended coordinate systems; use data
39-
"yaxis" ``ax.get_yaxis_transform()`` coordinates on one of the axis and
40-
axes coordinates on the other.
41-
=========== ============================= =====================================
21+
+-----------+-----------------------------+-----------------------------------+
22+
|Coordinates|Transformation object |Description |
23+
+-----------+-----------------------------+-----------------------------------+
24+
|"data" |``ax.transData`` |The coordinate system for the data,|
25+
| | |controlled by xlim and ylim. |
26+
+-----------+-----------------------------+-----------------------------------+
27+
|"axes" |``ax.transAxes`` |The coordinate system of the |
28+
| | |`~.Axes`; (0, 0) is bottom left of |
29+
| | |the axes, and (1, 1) is top right |
30+
| | |of the axes. |
31+
+-----------+-----------------------------+-----------------------------------+
32+
|"figure" |``fig.transFigure`` |The coordinate system of the |
33+
| | |`~.Figure`; (0, 0) is bottom left |
34+
| | |of the figure, and (1, 1) is top |
35+
| | |right of the figure. |
36+
+-----------+-----------------------------+-----------------------------------+
37+
|"display" |``None``, or |The pixel coordinate system of the |
38+
| |``IdentityTransform()`` |display; (0, 0) is bottom left of |
39+
| | |the display, and (width, height) is|
40+
| | |top right of the display in pixels.|
41+
+-----------+-----------------------------+-----------------------------------+
42+
|"xaxis", |``ax.get_xaxis_transform()``,|Blended coordinate systems; use |
43+
|"yaxis" |``ax.get_yaxis_transform()`` |data coordinates on one of the axis|
44+
| | |and axes coordinates on the other. |
45+
+-----------+-----------------------------+-----------------------------------+
4246
4347
All of the transformation objects in the table above take inputs in
4448
their coordinate system, and transform the input to the `display`

0 commit comments

Comments
 (0)