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