From 5214b642f93d0f2d57546e30bf63ff8a091802b9 Mon Sep 17 00:00:00 2001 From: Ruth Comer <10599679+rcomer@users.noreply.github.com> Date: Wed, 20 Sep 2023 16:58:26 +0100 Subject: [PATCH] Backport PR #26843: DOC: Use ax.xaxis rather ax.get_xaxis() --- doc/users/faq.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/users/faq.rst b/doc/users/faq.rst index 46084ec4c6c6..c4e133d56d73 100644 --- a/doc/users/faq.rst +++ b/doc/users/faq.rst @@ -123,7 +123,7 @@ The default formatter will use an offset to reduce the length of the ticklabels. To turn this feature off on a per-axis basis:: - ax.get_xaxis().get_major_formatter().set_useOffset(False) + ax.xaxis.get_major_formatter().set_useOffset(False) set :rc:`axes.formatter.useoffset`, or use a different formatter. See :mod:`~matplotlib.ticker` for details. pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy