Title: Parameter Fs initialization missing in Axes.specgram() · Issue #9100 · matplotlib/matplotlib · GitHub
Open Graph Title: Parameter Fs initialization missing in Axes.specgram() · Issue #9100 · matplotlib/matplotlib
X Title: Parameter Fs initialization missing in Axes.specgram() · Issue #9100 · matplotlib/matplotlib
Description: Bug report Bug summary the docstring of parameter Fs of matplotlib.pyplot.specgram() says that the default value is 2 but the default value in the function signature is None. Code for reproduction point your browser to https://matplotlib...
Open Graph Description: Bug report Bug summary the docstring of parameter Fs of matplotlib.pyplot.specgram() says that the default value is 2 but the default value in the function signature is None. Code for reproduction ...
X Description: Bug report Bug summary the docstring of parameter Fs of matplotlib.pyplot.specgram() says that the default value is 2 but the default value in the function signature is None. Code for reproduction ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/9100
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Parameter Fs initialization missing in Axes.specgram()","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n**Bug summary**\r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\n\r\nthe docstring of parameter `Fs` of `matplotlib.pyplot.specgram()` says that the default value is `2` but the default value in the function signature is `None`.\r\n\r\n**Code for reproduction**\r\n\r\n\u003c!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--\u003e\r\n\r\npoint your browser to https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.specgram.html or do:\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\nhelp(plt.specgram)\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\u003c!--The output produced by the above code, which may be a screenshot, console output, etc.--\u003e\r\n\r\n```\r\nspecgram(x, NFFT=None, Fs=None, Fc=None, ...\r\n...\r\nFs : scalar\r\n The sampling frequency (samples per time unit). It is used\r\n to calculate the Fourier frequencies, freqs, in cycles per time\r\n unit. The default value is 2.\r\n```\r\n\r\n**Expected outcome**\r\n\r\nEither write `None` in the docstring or make change the default value of Fs to 2.\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating System: OSX 10.11.6\r\n * Matplotlib Version: 2.0.2\r\n * Python Version: 3.5.4\r\n * Jupyter Version (if applicable): notebook server 5.0.0, IPython 6.1.0\r\n * Other Libraries: N/A\r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\nInstalled with pip in a conda environment.\r\n","author":{"url":"https://github.com/andreh7","@type":"Person","name":"andreh7"},"datePublished":"2017-08-26T15:08:41.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/9100/matplotlib/issues/9100"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:aae5a610-ee16-7268-eea2-8c29a6e83353 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BE8A:269503:4F38B4:689629:6A52D731 |
| html-safe-nonce | fc719f1766ef7af1c36b7aacff4848fb9c190d46b4ac6d0135ef7e06581ff988 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRThBOjI2OTUwMzo0RjM4QjQ6Njg5NjI5OjZBNTJENzMxIiwidmlzaXRvcl9pZCI6IjE3OTAxMjU5NzY4NjY0NDUxMDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 34565836b693c24d7819fadf920223fd2b1d81a9629910452236d9fce6922778 |
| hovercard-subject-tag | issue:253099787 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/9100/issue_layout |
| twitter:image | https://opengraph.githubassets.com/79da942256b51d85f8191abe067baa3241d6ba5475f936ab207d2c4b0c170072/matplotlib/matplotlib/issues/9100 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/79da942256b51d85f8191abe067baa3241d6ba5475f936ab207d2c4b0c170072/matplotlib/matplotlib/issues/9100 |
| og:image:alt | Bug report Bug summary the docstring of parameter Fs of matplotlib.pyplot.specgram() says that the default value is 2 but the default value in the function signature is None. Code for reproduction ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreh7 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width