9
9
:no-undoc-members:
10
10
11
11
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
+ -----------------------
14
42
15
43
.. autosummary ::
16
44
:toctree: _as_gen
@@ -21,74 +49,39 @@ Plotting commands
21
49
angle_spectrum
22
50
annotate
23
51
arrow
24
- autoscale
25
- axes
26
52
axhline
27
53
axhspan
28
- axis
29
54
axline
30
55
axvline
31
56
axvspan
32
57
bar
33
58
bar_label
34
59
barbs
35
60
barh
36
- box
37
61
boxplot
38
62
broken_barh
39
- cla
40
63
clabel
41
- clf
42
- clim
43
- close
44
64
cohere
45
- colorbar
46
65
contour
47
66
contourf
48
67
csd
49
- delaxes
50
- draw
51
- draw_if_interactive
52
68
errorbar
53
69
eventplot
54
70
figimage
55
71
figlegend
56
- fignum_exists
57
72
figtext
58
- figure
59
73
fill
60
74
fill_between
61
75
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
72
76
hexbin
73
77
hist
74
78
hist2d
75
79
hlines
76
- imread
77
- imsave
78
80
imshow
79
- install_repl_displayhook
80
- ioff
81
- ion
82
- isinteractive
83
81
legend
84
- locator_params
85
82
loglog
86
83
magnitude_spectrum
87
- margins
88
84
matshow
89
- minorticks_off
90
- minorticks_on
91
- pause
92
85
pcolor
93
86
pcolormesh
94
87
phase_spectrum
@@ -99,53 +92,48 @@ Plotting commands
99
92
psd
100
93
quiver
101
94
quiverkey
102
- rc
103
- rc_context
104
- rcdefaults
105
- rgrids
106
- savefig
107
- sca
108
95
scatter
109
- sci
110
96
semilogx
111
97
semilogy
112
- set_cmap
113
- set_loglevel
114
- setp
115
- show
116
98
specgram
117
99
spy
118
100
stackplot
119
101
stairs
120
102
stem
121
103
step
122
104
streamplot
123
- subplot
124
- subplot2grid
125
- subplot_mosaic
126
- subplot_tool
127
- subplots
128
- subplots_adjust
129
105
suptitle
130
- switch_backend
131
106
table
132
107
text
133
- thetagrids
134
- tick_params
135
- ticklabel_format
136
- tight_layout
137
108
title
138
109
tricontour
139
110
tricontourf
140
111
tripcolor
141
112
triplot
142
- twinx
143
- twiny
144
- uninstall_repl_displayhook
145
113
violinplot
146
114
vlines
147
115
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
149
137
xlabel
150
138
xlim
151
139
xscale
@@ -156,23 +144,37 @@ Plotting commands
156
144
yticks
157
145
158
146
159
- Other commands
160
- --------------
147
+ Layout
148
+ ------
149
+
161
150
.. autosummary ::
162
151
:toctree: _as_gen
163
152
:template: autosummary.rst
164
153
:nosignatures:
165
154
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
+
172
160
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
173
177
174
- Colormaps
175
- ---------
176
178
Colormaps are available via the colormap registry `matplotlib.colormaps `. For
177
179
convenience this registry is available in ``pyplot `` as
178
180
@@ -182,5 +184,62 @@ convenience this registry is available in ``pyplot`` as
182
184
Additionally, there are shortcut functions to set builtin colormaps; e.g.
183
185
``plt.viridis() `` is equivalent to ``plt.set_cmap('viridis') ``.
184
186
187
+
185
188
.. autodata :: color_sequences
186
189
: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