René's URL Explorer Experiment


Title: bugfix: scaling of windows with negative coefficients by lucasisonline · Pull Request #22828 · matplotlib/matplotlib · GitHub

Open Graph Title: bugfix: scaling of windows with negative coefficients by lucasisonline · Pull Request #22828 · matplotlib/matplotlib

X Title: bugfix: scaling of windows with negative coefficients by lucasisonline · Pull Request #22828 · matplotlib/matplotlib

Description: PR Summary The magnitude scaling is incorrect for windows with negative coefficients. For proper scaling of the magnitude a division by the sum of all window elements is needed. To be able to handle complex window coefficients an abs() was introduced in 76c4d84 which falsifies the scaling for windows with negative coefficients. Most prominently the flattop window. A proper type check is introduced to handle both cases correctly. PR Checklist Tests and Styling Has pytest style unit tests (and pytest passes). Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all). Documentation New features are documented, with examples if plot related. New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there). API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there). Documentation is sphinx and numpydoc compliant (the docs should build without error).

Open Graph Description: PR Summary The magnitude scaling is incorrect for windows with negative coefficients. For proper scaling of the magnitude a division by the sum of all window elements is needed. To be able to handl...

X Description: PR Summary The magnitude scaling is incorrect for windows with negative coefficients. For proper scaling of the magnitude a division by the sum of all window elements is needed. To be able to handl...

Opengraph URL: https://github.com/matplotlib/matplotlib/pull/22828

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:1eae3b2d-80d5-401b-94a9-7ff91d54ee81
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD352:13BA54:AE2A814:B1856A1:6A50B836
html-safe-nonce17eca63e26b6394b8375b021ca0a0edb9c989a5e5fd9974a978418e104c3c2f8
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzUyOjEzQkE1NDpBRTJBODE0OkIxODU2QTE6NkE1MEI4MzYiLCJ2aXNpdG9yX2lkIjoiNzA1NjIzMDQ5MjgyODM4MzI4NiIsInJlZ2lvbl9lZGdlIjoic2VhIiwicmVnaW9uX3JlbmRlciI6InNlYSJ9
visitor-hmac459330453578fa4df81fca5dd7b7bb07d27ec5b89374344bea65ac8eedb5cce3
hovercard-subject-tagpull_request:906461645
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/22828/files
twitter:imagehttps://avatars.githubusercontent.com/u/79363158?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/79363158?s=400&v=4
og:image:altPR Summary The magnitude scaling is incorrect for windows with negative coefficients. For proper scaling of the magnitude a division by the sum of all window elements is needed. To be able to handl...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None63772747707af4093f0d5fc7aa1bb3bb55f412a9865207c4f421aa34c64cc404
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git
octolytics-dimension-user_id215947
octolytics-dimension-user_loginmatplotlib
octolytics-dimension-repository_id1385122
octolytics-dimension-repository_nwomatplotlib/matplotlib
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1385122
octolytics-dimension-repository_network_root_nwomatplotlib/matplotlib
turbo-body-classeslogged-out env-production page-responsive
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseded53fe94e3ff1bb4dbf8cc77e285396c92580fb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/22828/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F22828%2Ffiles
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F22828%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=matplotlib%2Fmatplotlib
Reloadhttps://github.com/matplotlib/matplotlib/pull/22828/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/22828/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/22828/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/22828/files
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/22828/files
Notifications https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Fork 8.4k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Star 23k https://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib
Code https://github.com/matplotlib/matplotlib
Issues 1.1k https://github.com/matplotlib/matplotlib/issues
Pull requests 411 https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality 0 https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Code https://github.com/matplotlib/matplotlib
Issues https://github.com/matplotlib/matplotlib/issues
Pull requests https://github.com/matplotlib/matplotlib/pulls
Actions https://github.com/matplotlib/matplotlib/actions
Projects https://github.com/matplotlib/matplotlib/projects
Wiki https://github.com/matplotlib/matplotlib/wiki
Security and quality https://github.com/matplotlib/matplotlib/security
Insights https://github.com/matplotlib/matplotlib/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fmatplotlib%2Fmatplotlib%2Fissues%2Fnew%2Fchoose
lucasisonlinehttps://github.com/lucasisonline
matplotlib:mainhttps://github.com/matplotlib/matplotlib/tree/main
lucasisonline:fix-mag-scaling-for-neg-coeff-windowshttps://github.com/lucasisonline/matplotlib/tree/fix-mag-scaling-for-neg-coeff-windows
Conversation 15 https://github.com/matplotlib/matplotlib/pull/22828
Commits 1 https://github.com/matplotlib/matplotlib/pull/22828/commits
Checks 4 https://github.com/matplotlib/matplotlib/pull/22828/checks
Files changed https://github.com/matplotlib/matplotlib/pull/22828/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/22828/files
bugfix: scaling of windows with negative coefficients https://github.com/matplotlib/matplotlib/pull/22828/files#top
Show all changes 1 commit https://github.com/matplotlib/matplotlib/pull/22828/files
7b2d4af bugfix: scaling of windows with negative coefficients Apr 11, 2022 https://github.com/matplotlib/matplotlib/pull/22828/commits/7b2d4aff01358f9eeca6ac541dcb4b39f15bd706
Clear filters https://github.com/matplotlib/matplotlib/pull/22828/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/22828/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/22828/files
lib/matplotlib/mlab.pyhttps://github.com/matplotlib/matplotlib/pull/22828/files#diff-bab90d97b5026a31306a66c40f0d7815191125e42cd2095a691ebcda2277b454
View file https://github.com/matplotlib/matplotlib/blob/7b2d4aff01358f9eeca6ac541dcb4b39f15bd706/lib/matplotlib/mlab.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/22828/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/22828/files#diff-bab90d97b5026a31306a66c40f0d7815191125e42cd2095a691ebcda2277b454
jklymakhttps://github.com/jklymak
Jan 31, 2023https://github.com/matplotlib/matplotlib/pull/22828/files#r1092081885
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/22828/files
https://github.com/matplotlib/matplotlib/pull/22828/files#diff-bab90d97b5026a31306a66c40f0d7815191125e42cd2095a691ebcda2277b454
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.