From 1e45d4306ca6c3311c280c9b41d9805482b70c64 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Sun, 23 May 2021 15:22:25 +0200 Subject: [PATCH] Small markup fixes in api docs. - Remove extra indent of bullet list; remove trailing spaces. - Link using module references. --- doc/api/index.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/index.rst b/doc/api/index.rst index d8356718a076..3b04bc31b390 100644 --- a/doc/api/index.rst +++ b/doc/api/index.rst @@ -9,16 +9,16 @@ API For recent changes, see :doc:`api_changes`. When using the library you will typically create -:doc:`Figure ` and :doc:`Axes ` objects and +:doc:`Figure ` and :doc:`Axes ` objects and call their methods to add content and modify the appearance. - - :doc:`figure_api`: axes creation, figure-level content - - :doc:`axes_api`: most plotting methods, Axes labels, access to - axis styling, etc. +- :mod:`matplotlib.figure`: axes creation, figure-level content +- :mod:`matplotlib.axes`: most plotting methods, Axes labels, access to axis + styling, etc. Example: We create a Figure ``fig`` and Axes ``ax``. Then we call methods on them to plot data, add axis labels and a figure title. - + .. plot:: :include-source: :align: center