Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Parameter Fs initialization missing in Axes.specgram() #9100

Closed
Labels
Good first issueOpen a pull request against these issues if there are no active ones!
@andreh7

Description

@andreh7

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueOpen a pull request against these issues if there are no active ones!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp