Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Description
Bug report
Bug summary
the docstring of parameterFs
ofmatplotlib.pyplot.specgram()
says that the default value is2
but the default value in the function signature isNone
.
Code for reproduction
point your browser tohttps://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.specgram.html or do:
importmatplotlib.pyplotasplthelp(plt.specgram)
Actual outcome
specgram(x, NFFT=None, Fs=None, Fc=None, ......Fs : scalar The sampling frequency (samples per time unit). It is used to calculate the Fourier frequencies, freqs, in cycles per time unit. The default value is 2.
Expected outcome
Either writeNone
in the docstring or make change the default value of Fs to 2.
Matplotlib version
- Operating System: OSX 10.11.6
- Matplotlib Version: 2.0.2
- Python Version: 3.5.4
- Jupyter Version (if applicable): notebook server 5.0.0, IPython 6.1.0
- Other Libraries: N/A
Installed with pip in a conda environment.