From fe5744eea83b868e982c0d772fd6cf267b5f7d71 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 25 Mar 2024 21:05:44 -0400 Subject: [PATCH] Backport PR #27975: DOC: Fix typo in ```ax.transData.inversed()``` --- galleries/users_explain/artists/transforms_tutorial.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/galleries/users_explain/artists/transforms_tutorial.py b/galleries/users_explain/artists/transforms_tutorial.py index c6e71ad111d7..2d63b548a606 100644 --- a/galleries/users_explain/artists/transforms_tutorial.py +++ b/galleries/users_explain/artists/transforms_tutorial.py @@ -86,7 +86,7 @@ `.Transform.inverted`) to generate a transform from output coordinate system back to the input coordinate system. For example, ``ax.transData`` converts values in data coordinates to display coordinates and -``ax.transData.inversed()`` is a :class:`matplotlib.transforms.Transform` that +``ax.transData.inverted()`` is a :class:`matplotlib.transforms.Transform` that goes from display coordinates to data coordinates. This is particularly useful when processing events from the user interface, which typically occur in display space, and you want to know where the mouse click or key-press occurred