Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4308782

Browse filesBrowse files
committed
Added documentation for parameters vmin and vmax inside specgram function.
1 parent cb487f3 commit 4308782
Copy full SHA for 4308782

File tree

Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+7
-0
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8136,6 +8136,13 @@ def specgram(self, x, NFFT=None, Fs=None, Fc=None, detrend=None,
81368136
data : indexable object, optional
81378137
DATA_PARAMETER_PLACEHOLDER
81388138
8139+
vmin, vmax : float, optional
8140+
vmin and vmax define the data range that the colormap covers.
8141+
By default, the colormap covers the complete value range of the
8142+
data. It is an error to use vmin/vmax when a norm instance is
8143+
given (but using a str norm name together with vmin/vmax is
8144+
acceptable). This parameter is ignored if X is RGB(A).
8145+
81398146
**kwargs
81408147
Additional keyword arguments are passed on to `~.axes.Axes.imshow`
81418148
which makes the specgram image. The origin keyword argument

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.