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

Skip to content

fix typo in rst markup #9506

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
Oct 22, 2017
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
46 changes: 25 additions & 21 deletions tutorials/advanced/transforms_tutorial.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,31 @@
``ax`` is a :class:`~matplotlib.axes.Axes` instance, and ``fig`` is a
:class:`~matplotlib.figure.Figure` instance.

=========== ============================= =====================================
Coordinates Transformation object Description
=========== ============================= =====================================
"data" ``ax.transData```` The coordinate system for the data,
controlled by xlim and ylim.
"axes" ``ax.transAxes`` The coordinate system of the
`~.Axes`; (0, 0) is bottom left of
the axes, and (1, 1) is top right of
the axes.
"figure" ``fig.transFigure`` The coordinate system of the
`~.Figure`; (0, 0) is bottom left of
the figure, and (1, 1) is top right
of the figure.
"display" ``None``, or The pixel coordinate system of the
``IdentityTransform()`` display; (0, 0) is bottom left of the
display, and (width, height) is top
right of the display in pixels.
"xaxis", ``ax.get_xaxis_transform()``, Blended coordinate systems; use data
"yaxis" ``ax.get_yaxis_transform()`` coordinates on one of the axis and
axes coordinates on the other.
=========== ============================= =====================================
+-----------+-----------------------------+-----------------------------------+
|Coordinates|Transformation object |Description |
+-----------+-----------------------------+-----------------------------------+
|"data" |``ax.transData`` |The coordinate system for the data,|
| | |controlled by xlim and ylim. |
+-----------+-----------------------------+-----------------------------------+
|"axes" |``ax.transAxes`` |The coordinate system of the |
| | |`~.Axes`; (0, 0) is bottom left of |
| | |the axes, and (1, 1) is top right |
| | |of the axes. |
+-----------+-----------------------------+-----------------------------------+
|"figure" |``fig.transFigure`` |The coordinate system of the |
| | |`~.Figure`; (0, 0) is bottom left |
| | |of the figure, and (1, 1) is top |
| | |right of the figure. |
+-----------+-----------------------------+-----------------------------------+
|"display" |``None``, or |The pixel coordinate system of the |
| |``IdentityTransform()`` |display; (0, 0) is bottom left of |
| | |the display, and (width, height) is|
| | |top right of the display in pixels.|
+-----------+-----------------------------+-----------------------------------+
|"xaxis", |``ax.get_xaxis_transform()``,|Blended coordinate systems; use |
|"yaxis" |``ax.get_yaxis_transform()`` |data coordinates on one of the axis|
| | |and axes coordinates on the other. |
+-----------+-----------------------------+-----------------------------------+

All of the transformation objects in the table above take inputs in
their coordinate system, and transform the input to the `display`
Expand Down