From 175b148d9dbdda077909d97f34ccefd456c403bb Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Mon, 16 Dec 2024 10:39:07 -0500 Subject: [PATCH] Backport PR #29323: DOC: Don't put quotes around coordinate system names --- .../users_explain/artists/transforms_tutorial.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/galleries/users_explain/artists/transforms_tutorial.py b/galleries/users_explain/artists/transforms_tutorial.py index 0be5fa3c2e21..f8a3e98e8077 100644 --- a/galleries/users_explain/artists/transforms_tutorial.py +++ b/galleries/users_explain/artists/transforms_tutorial.py @@ -28,37 +28,37 @@ |Coordinate |Description |Transformation object | |system | |from system to display | +================+===================================+=============================+ -|"data" |The coordinate system of the data |``ax.transData`` | +|*data* |The coordinate system of the data |``ax.transData`` | | |in the Axes. | | +----------------+-----------------------------------+-----------------------------+ -|"axes" |The coordinate system of the |``ax.transAxes`` | +|*axes* |The coordinate system of the |``ax.transAxes`` | | |`~matplotlib.axes.Axes`; (0, 0) | | | |is bottom left of the Axes, and | | | |(1, 1) is top right of the Axes. | | +----------------+-----------------------------------+-----------------------------+ -|"subfigure" |The coordinate system of the |``subfigure.transSubfigure`` | +|*subfigure* |The coordinate system of the |``subfigure.transSubfigure`` | | |`.SubFigure`; (0, 0) is bottom left| | | |of the subfigure, and (1, 1) is top| | | |right of the subfigure. If a | | | |figure has no subfigures, this is | | | |the same as ``transFigure``. | | +----------------+-----------------------------------+-----------------------------+ -|"figure" |The coordinate system of the |``fig.transFigure`` | +|*figure* |The coordinate system of the |``fig.transFigure`` | | |`.Figure`; (0, 0) is bottom left | | | |of the figure, and (1, 1) is top | | | |right of the figure. | | +----------------+-----------------------------------+-----------------------------+ -|"figure-inches" |The coordinate system of the |``fig.dpi_scale_trans`` | +|*figure-inches* |The coordinate system of the |``fig.dpi_scale_trans`` | | |`.Figure` in inches; (0, 0) is | | | |bottom left of the figure, and | | | |(width, height) is the top right | | | |of the figure in inches. | | +----------------+-----------------------------------+-----------------------------+ -|"xaxis", |Blended coordinate systems, using |``ax.get_xaxis_transform()``,| -|"yaxis" |data coordinates on one direction |``ax.get_yaxis_transform()`` | +|*xaxis*, |Blended coordinate systems, using |``ax.get_xaxis_transform()``,| +|*yaxis* |data coordinates on one direction |``ax.get_yaxis_transform()`` | | |and axes coordinates on the other. | | +----------------+-----------------------------------+-----------------------------+ -|"display" |The native coordinate system of the|`None`, or | +|*display* |The native coordinate system of the|`None`, or | | |output ; (0, 0) is the bottom left |`.IdentityTransform()` | | |of the window, and (width, height) | | | |is top right of the output in | |