Skip to content

Commit 2d27f03

Browse files
authored
Merge pull request matplotlib#27110 from timhoffm/doc-figure-sections
DOC: Move figure member sections one level down
2 parents 627b564 + 44a2010 commit 2d27f03

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

doc/api/figure_api.rst

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@
88
:no-members:
99
:no-undoc-members:
1010

11-
The Figure class
12-
================
11+
Figure
12+
======
13+
14+
Figure class
15+
------------
1316
.. autosummary::
1417
:toctree: _as_gen
1518
:template: autosummary_class_only.rst
@@ -19,7 +22,7 @@ The Figure class
1922

2023

2124
Adding Axes and SubFigures
22-
==========================
25+
--------------------------
2326

2427
.. autosummary::
2528
:toctree: _as_gen
@@ -38,7 +41,7 @@ Adding Axes and SubFigures
3841
Figure.add_subfigure
3942

4043
Saving
41-
======
44+
------
4245

4346
.. autosummary::
4447
:toctree: _as_gen
@@ -49,7 +52,7 @@ Saving
4952

5053

5154
Annotating
52-
==========
55+
----------
5356

5457
.. autosummary::
5558
:toctree: _as_gen
@@ -72,7 +75,7 @@ Annotating
7275

7376

7477
Figure geometry
75-
===============
78+
---------------
7679

7780
.. autosummary::
7881
:toctree: _as_gen
@@ -90,7 +93,7 @@ Figure geometry
9093
Figure.set_dpi
9194

9295
Subplot layout
93-
==============
96+
--------------
9497

9598
.. autosummary::
9699
:toctree: _as_gen
@@ -102,7 +105,7 @@ Subplot layout
102105
Figure.get_layout_engine
103106

104107
Discouraged or deprecated
105-
-------------------------
108+
^^^^^^^^^^^^^^^^^^^^^^^^^
106109

107110
.. autosummary::
108111
:toctree: _as_gen
@@ -118,7 +121,7 @@ Discouraged or deprecated
118121
Figure.get_constrained_layout_pads
119122

120123
Interactive
121-
===========
124+
-----------
122125

123126
.. seealso::
124127

@@ -135,7 +138,7 @@ Interactive
135138
Figure.pick
136139

137140
Modifying appearance
138-
====================
141+
--------------------
139142

140143
.. autosummary::
141144
:toctree: _as_gen
@@ -152,7 +155,7 @@ Modifying appearance
152155
Figure.get_edgecolor
153156

154157
Adding and getting Artists
155-
==========================
158+
--------------------------
156159

157160
.. autosummary::
158161
:toctree: _as_gen
@@ -164,7 +167,7 @@ Adding and getting Artists
164167
Figure.figimage
165168

166169
Getting and modifying state
167-
===========================
170+
---------------------------
168171

169172
.. seealso::
170173

0 commit comments

Comments
 (0)