René's URL Explorer Experiment


Title: Deprecate \stackrel. by anntzer · Pull Request #12150 · matplotlib/matplotlib · GitHub

Open Graph Title: Deprecate \stackrel. by anntzer · Pull Request #12150 · matplotlib/matplotlib

X Title: Deprecate \stackrel. by anntzer · Pull Request #12150 · matplotlib/matplotlib

Description: Mathtext's \stackrel{a}{b} behaves subtly differently from latex's \stackrel{a}{b}: mathtext makes a and b equal-sized whereas latex makes a smaller than b (a is an "annotation" over b). Given that we can already stack expressions using the (admittedly less practical, but standard) \genfrac, just deprecate \stackrel instead of maintaining our own latex-like dialect. Also undeprecate passing obj_type to the cbook.deprecated decorator(!), given that this PR has a good reason to use it... and while we're at it, reorder the kwargs docs for cbook.deprecated and cbook.warn_deprecated to match the order in the signature. Again related to #12108 / #12128 (:mathmpl: still exists because mathtext is subtly different from latex). PR Summary PR Checklist Has Pytest style unit tests Code is Flake 8 compliant New features are documented, with examples if plot related Documentation is sphinx and numpydoc compliant Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there) Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

Open Graph Description: Mathtext's \stackrel{a}{b} behaves subtly differently from latex's \stackrel{a}{b}: mathtext makes a and b equal-sized whereas latex makes a smaller than b (a is an "annotation" o...

X Description: Mathtext's \stackrel{a}{b} behaves subtly differently from latex's \stackrel{a}{b}: mathtext makes a and b equal-sized whereas latex makes a smaller than b (a is an "annota...

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5f62b8e3-a316-f765-d3a9-d23fef7af19e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC5A0:304189:658D:8722:6A55851B
html-safe-nonceff49b93a27b3a305f92e17ef0b876cfa72661eb24205ef64e14655e695f45d19
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNUEwOjMwNDE4OTo2NThEOjg3MjI6NkE1NTg1MUIiLCJ2aXNpdG9yX2lkIjoiNTczMTgxOTAwMTQ1MTIxODIwMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmace2304624d089db73840d91c14ff8e2aa27d74b8027f8a28526f77760960fe14d
hovercard-subject-tagpull_request:216238485
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/12150/files
twitter:imagehttps://avatars.githubusercontent.com/u/1322974?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/1322974?s=400&v=4
og:image:altMathtext's \stackrel{a}{b} behaves subtly differently from latex's \stackrel{a}{b}: mathtext makes a and b equal-sized whereas latex makes a smaller than b (a is an "annotation" o...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3215163789b3dc58dba97bd78a30c20c949f477f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/matplotlib/matplotlib/pull/12150/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F12150%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
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%2F12150%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/12150/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/12150/files
Reloadhttps://github.com/matplotlib/matplotlib/pull/12150/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/12150/files
matplotlib https://github.com/matplotlib
matplotlibhttps://github.com/matplotlib/matplotlib
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/12150/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 409 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
jklymakhttps://github.com/jklymak
matplotlib:masterhttps://github.com/matplotlib/matplotlib/tree/master
anntzer:stackrelhttps://github.com/anntzer/matplotlib/tree/stackrel
Conversation 5 https://github.com/matplotlib/matplotlib/pull/12150
Commits 1 https://github.com/matplotlib/matplotlib/pull/12150/commits
Checks 0 https://github.com/matplotlib/matplotlib/pull/12150/checks
Files changed https://github.com/matplotlib/matplotlib/pull/12150/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/12150/files
Deprecate \stackrel. https://github.com/matplotlib/matplotlib/pull/12150/files#top
Show all changes 1 commit https://github.com/matplotlib/matplotlib/pull/12150/files
df56b7e Deprecate \stackrel. anntzer Sep 18, 2018 https://github.com/matplotlib/matplotlib/pull/12150/commits/df56b7edcf25e1ae55f858092638ee42e90598f8
Clear filters https://github.com/matplotlib/matplotlib/pull/12150/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/12150/files
Please reload this pagehttps://github.com/matplotlib/matplotlib/pull/12150/files
2018-08-19-AL-deprecations.rst https://github.com/matplotlib/matplotlib/pull/12150/files#diff-5aec99f584c599eed8877a1324eeb860fe2df60cd2e3560bf72798f19fbc6d99
mathtext_examples.py https://github.com/matplotlib/matplotlib/pull/12150/files#diff-5f970d77a842168fc6704ad89c29c5c45c7cc0c9f949e3639f10641ecf70fe04
deprecation.py https://github.com/matplotlib/matplotlib/pull/12150/files#diff-f8ef71dad9dfcad69ebcf375b55fde7056e8988c3d18157d75bdc2d9c1705de3
mathtext.py https://github.com/matplotlib/matplotlib/pull/12150/files#diff-1576a5f502008fa76ebeab602a6814b8d8e79f5fbc374f9134157daa66dd5a87
mathtext.py https://github.com/matplotlib/matplotlib/pull/12150/files#diff-9d1b2ab4b8a5e77dc635425c7e7ec00af5667d684d0809e46a973185e8f9918f
doc/api/next_api_changes/2018-08-19-AL-deprecations.rsthttps://github.com/matplotlib/matplotlib/pull/12150/files#diff-5aec99f584c599eed8877a1324eeb860fe2df60cd2e3560bf72798f19fbc6d99
View file https://github.com/anntzer/matplotlib/blob/df56b7edcf25e1ae55f858092638ee42e90598f8/doc/api/next_api_changes/2018-08-19-AL-deprecations.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/12150/{{ revealButtonHref }}
examples/text_labels_and_annotations/mathtext_examples.pyhttps://github.com/matplotlib/matplotlib/pull/12150/files#diff-5f970d77a842168fc6704ad89c29c5c45c7cc0c9f949e3639f10641ecf70fe04
View file https://github.com/anntzer/matplotlib/blob/df56b7edcf25e1ae55f858092638ee42e90598f8/examples/text_labels_and_annotations/mathtext_examples.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/12150/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-5f970d77a842168fc6704ad89c29c5c45c7cc0c9f949e3639f10641ecf70fe04
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-5f970d77a842168fc6704ad89c29c5c45c7cc0c9f949e3639f10641ecf70fe04
lib/matplotlib/cbook/deprecation.pyhttps://github.com/matplotlib/matplotlib/pull/12150/files#diff-f8ef71dad9dfcad69ebcf375b55fde7056e8988c3d18157d75bdc2d9c1705de3
View file https://github.com/anntzer/matplotlib/blob/df56b7edcf25e1ae55f858092638ee42e90598f8/lib/matplotlib/cbook/deprecation.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/12150/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-f8ef71dad9dfcad69ebcf375b55fde7056e8988c3d18157d75bdc2d9c1705de3
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-f8ef71dad9dfcad69ebcf375b55fde7056e8988c3d18157d75bdc2d9c1705de3
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-f8ef71dad9dfcad69ebcf375b55fde7056e8988c3d18157d75bdc2d9c1705de3
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-f8ef71dad9dfcad69ebcf375b55fde7056e8988c3d18157d75bdc2d9c1705de3
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-f8ef71dad9dfcad69ebcf375b55fde7056e8988c3d18157d75bdc2d9c1705de3
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-f8ef71dad9dfcad69ebcf375b55fde7056e8988c3d18157d75bdc2d9c1705de3
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-f8ef71dad9dfcad69ebcf375b55fde7056e8988c3d18157d75bdc2d9c1705de3
lib/matplotlib/mathtext.pyhttps://github.com/matplotlib/matplotlib/pull/12150/files#diff-1576a5f502008fa76ebeab602a6814b8d8e79f5fbc374f9134157daa66dd5a87
View file https://github.com/anntzer/matplotlib/blob/df56b7edcf25e1ae55f858092638ee42e90598f8/lib/matplotlib/mathtext.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/12150/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-1576a5f502008fa76ebeab602a6814b8d8e79f5fbc374f9134157daa66dd5a87
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-1576a5f502008fa76ebeab602a6814b8d8e79f5fbc374f9134157daa66dd5a87
tutorials/text/mathtext.pyhttps://github.com/matplotlib/matplotlib/pull/12150/files#diff-9d1b2ab4b8a5e77dc635425c7e7ec00af5667d684d0809e46a973185e8f9918f
View file https://github.com/anntzer/matplotlib/blob/df56b7edcf25e1ae55f858092638ee42e90598f8/tutorials/text/mathtext.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/matplotlib/matplotlib/pull/12150/{{ revealButtonHref }}
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-9d1b2ab4b8a5e77dc635425c7e7ec00af5667d684d0809e46a973185e8f9918f
https://github.com/matplotlib/matplotlib/pull/12150/files#diff-9d1b2ab4b8a5e77dc635425c7e7ec00af5667d684d0809e46a973185e8f9918f
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.