From 337129e27450bf22cc8c8c4cb2c787024c207ae1 Mon Sep 17 00:00:00 2001 From: Oscar Gustafsson Date: Mon, 26 Sep 2022 18:15:16 +0200 Subject: [PATCH] Backport PR #24003: Fix wording and links lifecycle tutorial Manual backport due to conflict from one-line change in this file at #23974. Co-authored-by: hannah Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> --- tutorials/introductory/lifecycle.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tutorials/introductory/lifecycle.py b/tutorials/introductory/lifecycle.py index b0181b4df7b7..da976a39de3e 100644 --- a/tutorials/introductory/lifecycle.py +++ b/tutorials/introductory/lifecycle.py @@ -26,7 +26,7 @@ In the explicit object-oriented (OO) interface we directly utilize instances of :class:`axes.Axes` to build up the visualization in an instance of :class:`figure.Figure`. In the implicit interface, inspired by and modeled on -MATLAB, uses an global state-based interface which is is encapsulated in the +MATLAB, we use a global state-based interface which is encapsulated in the :mod:`.pyplot` module to plot to the "current Axes". See the :doc:`pyplot tutorials ` for a more in-depth look at the pyplot interface. @@ -34,16 +34,16 @@ Most of the terms are straightforward but the main thing to remember is that: -* The Figure is the final image that may contain 1 or more Axes. -* The Axes represent an individual plot (don't confuse this with the word - "axis", which refers to the x/y axis of a plot). +* The `.Figure` is the final image, and may contain one or more `~.axes.Axes`. +* The `~.axes.Axes` represents an individual plot (not to be confused with + `~.axis.Axis`, which refers to the x/y axis of a plot). We call methods that do the plotting directly from the Axes, which gives us much more flexibility and power in customizing our plot. .. note:: - In general prefer the explicit interface over the implicit pyplot interface + In general, use the explicit interface over the implicit pyplot interface for plotting. Our data 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