Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d434dbd

Browse files
authored
Merge pull request #24338 from timhoffm/doc-pyplot
DOC: Group pyplot commands by category
2 parents f26219b + 095098c commit d434dbd

File tree

1 file changed

+132
-73
lines changed

1 file changed

+132
-73
lines changed

doc/api/pyplot_summary.rst

Lines changed: 132 additions & 73 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,36 @@
99
:no-undoc-members:
1010

1111

12-
Plotting commands
13-
-----------------
12+
Managing Figure and Axes
13+
------------------------
14+
15+
.. autosummary::
16+
:toctree: _as_gen
17+
:template: autosummary.rst
18+
:nosignatures:
19+
20+
axes
21+
cla
22+
clf
23+
close
24+
delaxes
25+
fignum_exists
26+
figure
27+
gca
28+
gcf
29+
get_figlabels
30+
get_fignums
31+
sca
32+
subplot
33+
subplot2grid
34+
subplot_mosaic
35+
subplots
36+
twinx
37+
twiny
38+
39+
40+
Adding data to the plot
41+
-----------------------
1442

1543
.. autosummary::
1644
:toctree: _as_gen
@@ -21,74 +49,39 @@ Plotting commands
2149
angle_spectrum
2250
annotate
2351
arrow
24-
autoscale
25-
axes
2652
axhline
2753
axhspan
28-
axis
2954
axline
3055
axvline
3156
axvspan
3257
bar
3358
bar_label
3459
barbs
3560
barh
36-
box
3761
boxplot
3862
broken_barh
39-
cla
4063
clabel
41-
clf
42-
clim
43-
close
4464
cohere
45-
colorbar
4665
contour
4766
contourf
4867
csd
49-
delaxes
50-
draw
51-
draw_if_interactive
5268
errorbar
5369
eventplot
5470
figimage
5571
figlegend
56-
fignum_exists
5772
figtext
58-
figure
5973
fill
6074
fill_between
6175
fill_betweenx
62-
findobj
63-
gca
64-
gcf
65-
gci
66-
get
67-
get_cmap
68-
get_figlabels
69-
get_fignums
70-
getp
71-
grid
7276
hexbin
7377
hist
7478
hist2d
7579
hlines
76-
imread
77-
imsave
7880
imshow
79-
install_repl_displayhook
80-
ioff
81-
ion
82-
isinteractive
8381
legend
84-
locator_params
8582
loglog
8683
magnitude_spectrum
87-
margins
8884
matshow
89-
minorticks_off
90-
minorticks_on
91-
pause
9285
pcolor
9386
pcolormesh
9487
phase_spectrum
@@ -99,53 +92,48 @@ Plotting commands
9992
psd
10093
quiver
10194
quiverkey
102-
rc
103-
rc_context
104-
rcdefaults
105-
rgrids
106-
savefig
107-
sca
10895
scatter
109-
sci
11096
semilogx
11197
semilogy
112-
set_cmap
113-
set_loglevel
114-
setp
115-
show
11698
specgram
11799
spy
118100
stackplot
119101
stairs
120102
stem
121103
step
122104
streamplot
123-
subplot
124-
subplot2grid
125-
subplot_mosaic
126-
subplot_tool
127-
subplots
128-
subplots_adjust
129105
suptitle
130-
switch_backend
131106
table
132107
text
133-
thetagrids
134-
tick_params
135-
ticklabel_format
136-
tight_layout
137108
title
138109
tricontour
139110
tricontourf
140111
tripcolor
141112
triplot
142-
twinx
143-
twiny
144-
uninstall_repl_displayhook
145113
violinplot
146114
vlines
147115
xcorr
148-
xkcd
116+
117+
118+
Axis configuration
119+
------------------
120+
121+
.. autosummary::
122+
:toctree: _as_gen
123+
:template: autosummary.rst
124+
:nosignatures:
125+
126+
autoscale
127+
axis
128+
box
129+
grid
130+
locator_params
131+
minorticks_off
132+
minorticks_on
133+
rgrids
134+
thetagrids
135+
tick_params
136+
ticklabel_format
149137
xlabel
150138
xlim
151139
xscale
@@ -156,23 +144,37 @@ Plotting commands
156144
yticks
157145

158146

159-
Other commands
160-
--------------
147+
Layout
148+
------
149+
161150
.. autosummary::
162151
:toctree: _as_gen
163152
:template: autosummary.rst
164153
:nosignatures:
165154

166-
connect
167-
disconnect
168-
get_current_fig_manager
169-
ginput
170-
new_figure_manager
171-
waitforbuttonpress
155+
margins
156+
subplots_adjust
157+
subplot_tool
158+
tight_layout
159+
172160

161+
Colormapping
162+
------------
163+
164+
.. autosummary::
165+
:toctree: _as_gen
166+
:template: autosummary.rst
167+
:nosignatures:
168+
169+
clim
170+
colorbar
171+
gci
172+
sci
173+
get_cmap
174+
set_cmap
175+
imread
176+
imsave
173177

174-
Colormaps
175-
---------
176178
Colormaps are available via the colormap registry `matplotlib.colormaps`. For
177179
convenience this registry is available in ``pyplot`` as
178180

@@ -182,5 +184,62 @@ convenience this registry is available in ``pyplot`` as
182184
Additionally, there are shortcut functions to set builtin colormaps; e.g.
183185
``plt.viridis()`` is equivalent to ``plt.set_cmap('viridis')``.
184186

187+
185188
.. autodata:: color_sequences
186189
:no-value:
190+
191+
192+
Configuration
193+
-------------
194+
195+
.. autosummary::
196+
:toctree: _as_gen
197+
:template: autosummary.rst
198+
:nosignatures:
199+
200+
rc
201+
rc_context
202+
rcdefaults
203+
204+
205+
Output
206+
------
207+
208+
.. autosummary::
209+
:toctree: _as_gen
210+
:template: autosummary.rst
211+
:nosignatures:
212+
213+
draw
214+
draw_if_interactive
215+
ioff
216+
ion
217+
install_repl_displayhook
218+
isinteractive
219+
pause
220+
savefig
221+
show
222+
switch_backend
223+
uninstall_repl_displayhook
224+
225+
226+
Other
227+
-----
228+
229+
.. autosummary::
230+
:toctree: _as_gen
231+
:template: autosummary.rst
232+
:nosignatures:
233+
234+
connect
235+
disconnect
236+
findobj
237+
get
238+
getp
239+
get_current_fig_manager
240+
ginput
241+
new_figure_manager
242+
set_loglevel
243+
setp
244+
waitforbuttonpress
245+
xkcd

0 commit comments

Comments
 (0)