| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:a826e1c0-4a37-d2ae-9b76-b6bafd608b1c |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B5A0:14F3B3:E67D50:139ED78:6A521B35 |
| html-safe-nonce | d9fd45372e2fbd6354ce95aefd3af617a421be2f5791b4cc6bc21f63c7759cb4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUEwOjE0RjNCMzpFNjdENTA6MTM5RUQ3ODo2QTUyMUIzNSIsInZpc2l0b3JfaWQiOiIzMTY4NTMwOTgzODg1NjA5NzgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5139153be23dff56c0e2ac1aa3732a1b44e70da6a738c10f149cc12b98386aac |
| hovercard-subject-tag | pull_request:2661792726 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/matplotlib/matplotlib/30302/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/909eede2f91a28395f272499ed0d133dba7fdb63fc4f393766aef4155af6b6bc/matplotlib/matplotlib/pull/30302 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/909eede2f91a28395f272499ed0d133dba7fdb63fc4f393766aef4155af6b6bc/matplotlib/matplotlib/pull/30302 |
| og:image:alt | This PR addresses part of #30257 by improving type safety and IDE support for set_loglevel.
Changes in this PR:
Introduced LogLevel as a TypeAlias in matplotlib.typing, using Literal to restrict a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nrnavaneet |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/30302#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F30302 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://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%2F30302 |
|
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=matplotlib%2Fmatplotlib |
| Reload | https://github.com/matplotlib/matplotlib/pull/30302 |
| Reload | https://github.com/matplotlib/matplotlib/pull/30302 |
| Reload | https://github.com/matplotlib/matplotlib/pull/30302 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
|
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 |
| dstansby | https://github.com/dstansby |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| nrnavaneet:fix/literal-typing-setloglevel | https://github.com/nrnavaneet/matplotlib/tree/fix/literal-typing-setloglevel |
| Conversation | https://github.com/matplotlib/matplotlib/pull/30302 |
| Commits1 (1) | https://github.com/matplotlib/matplotlib/pull/30302/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/30302/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/30302/files |
| [MNT] Typing: Use Literal for set_loglevel | https://github.com/matplotlib/matplotlib/pull/30302#top |
| dstansby | https://github.com/dstansby |
| matplotlib:main | https://github.com/matplotlib/matplotlib/tree/main |
| nrnavaneet:fix/literal-typing-setloglevel | https://github.com/nrnavaneet/matplotlib/tree/fix/literal-typing-setloglevel |
|
| https://github.com/nrnavaneet |
| nrnavaneet | https://github.com/nrnavaneet |
| Jul 12, 2025 | https://github.com/matplotlib/matplotlib/pull/30302#issue-3225916099 |
| #30257 | https://github.com/matplotlib/matplotlib/issues/30257 |
| @ZPyrolink | https://github.com/ZPyrolink |
| #30261 | https://github.com/matplotlib/matplotlib/pull/30261 |
| @ZPyrolink | https://github.com/ZPyrolink |
| #30275 | https://github.com/matplotlib/matplotlib/pull/30275 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
|
| https://github.com/nrnavaneet |
| Add Literal-based LogLevel type alias and use it in set_loglevel for … | https://github.com/matplotlib/matplotlib/pull/30302/commits/0555206d4793a6210ce0ef83ef98ce055a65f234 |
| 0555206 | https://github.com/matplotlib/matplotlib/pull/30302/commits/0555206d4793a6210ce0ef83ef98ce055a65f234 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
|
topic: pyplot API
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20pyplot%20API%22 |
| Jul 12, 2025 | https://github.com/matplotlib/matplotlib/pull/30302#event-18602578838 |
| https://github.com/nrnavaneet |
| nrnavaneet | https://github.com/nrnavaneet |
|
Jul 12, 2025
| https://github.com/matplotlib/matplotlib/pull/30302#ref-pullrequest-3202833778 |
|
[MNT] Use Literal for level parameter in set_loglevel (#30257)
#30260
| https://github.com/matplotlib/matplotlib/pull/30260 |
| https://github.com/nrnavaneet |
| nrnavaneet | https://github.com/nrnavaneet |
| Jul 12, 2025 | https://github.com/matplotlib/matplotlib/pull/30302#issuecomment-3066250511 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
| https://github.com/ZPyrolink |
| ZPyrolink | https://github.com/ZPyrolink |
|
Jul 4, 2025
| https://github.com/matplotlib/matplotlib/pull/30302#ref-issue-3200585245 |
|
[MNT] [TYPING]: Use of Literal
#30257
| https://github.com/matplotlib/matplotlib/issues/30257 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
| Jul 14, 2025 | https://github.com/matplotlib/matplotlib/pull/30302#issuecomment-3068604973 |
| https://private-user-images.githubusercontent.com/2836374/465933909-71050e65-ead8-4125-80d2-8bc1faee0c3a.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODM3NjYxMTMsIm5iZiI6MTc4Mzc2NTgxMywicGF0aCI6Ii8yODM2Mzc0LzQ2NTkzMzkwOS03MTA1MGU2NS1lYWQ4LTQxMjUtODBkMi04YmMxZmFlZTBjM2EucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MTFUMTAzMDEzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjMwMjRmNDhlMGU2ZGE0ZDMyYzI2Y2ZhNGNiNzllNGRkNjFhN2FlZDQ1ZWQ4ODJmNDgwMzRkZGQ0MmZkYzEwNyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.35i_K1bx0Etf8OQ0l7B98TSA1KIzTIVwlK41LTL3DIs |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Jul 14, 2025
| https://github.com/matplotlib/matplotlib/pull/30302#pullrequestreview-3015515711 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30302/files/0555206d4793a6210ce0ef83ef98ce055a65f234 |
| timhoffm | https://github.com/timhoffm |
| https://github.com/matplotlib/matplotlib/pull/30302#pullrequestreview-3015515711 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
| https://github.com/nrnavaneet |
| nrnavaneet | https://github.com/nrnavaneet |
| Jul 14, 2025 | https://github.com/matplotlib/matplotlib/pull/30302#issuecomment-3069575720 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
| @timhoffm | https://github.com/timhoffm |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Jul 14, 2025
| https://github.com/matplotlib/matplotlib/pull/30302#pullrequestreview-3016527280 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30302/files |
| lib/matplotlib/__init__.pyi | https://github.com/matplotlib/matplotlib/pull/30302/files#diff-920237a02c3f54d2a8f6524cd5016498c09f0c6e5b94fe9953971a279f5ab3db |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
| https://github.com/nrnavaneet |
| nrnavaneet | https://github.com/nrnavaneet |
| timhoffm | https://github.com/timhoffm |
| July 17, 2025 06:36 | https://github.com/matplotlib/matplotlib/pull/30302#event-18673242563 |
| https://github.com/nrnavaneet |
| nrnavaneet | https://github.com/nrnavaneet |
| force-pushed | https://github.com/matplotlib/matplotlib/compare/1f29d69552a2f5cc35312f6dc46382204dc57079..0555206d4793a6210ce0ef83ef98ce055a65f234 |
| 1f29d69 | https://github.com/matplotlib/matplotlib/commit/1f29d69552a2f5cc35312f6dc46382204dc57079 |
| 0555206 | https://github.com/matplotlib/matplotlib/commit/0555206d4793a6210ce0ef83ef98ce055a65f234 |
|
Compare
| https://github.com/matplotlib/matplotlib/compare/1f29d69552a2f5cc35312f6dc46382204dc57079..0555206d4793a6210ce0ef83ef98ce055a65f234 |
| July 17, 2025 07:35 | https://github.com/matplotlib/matplotlib/pull/30302#event-18674145553 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Jul 17, 2025
| https://github.com/matplotlib/matplotlib/pull/30302#pullrequestreview-3028627175 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30302/files/0555206d4793a6210ce0ef83ef98ce055a65f234 |
| https://github.com/nrnavaneet |
| nrnavaneet | https://github.com/nrnavaneet |
| timhoffm | https://github.com/timhoffm |
| July 20, 2025 14:44 | https://github.com/matplotlib/matplotlib/pull/30302#event-18716919693 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
status: needs review
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22 |
| Jul 20, 2025 | https://github.com/matplotlib/matplotlib/pull/30302#event-18718000644 |
| https://github.com/dstansby |
| dstansby | https://github.com/dstansby |
|
Jul 20, 2025
| https://github.com/matplotlib/matplotlib/pull/30302#pullrequestreview-3036174717 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/30302/files/0555206d4793a6210ce0ef83ef98ce055a65f234 |
| https://github.com/dstansby |
| dstansby | https://github.com/dstansby |
| v3.11.0 | https://github.com/matplotlib/matplotlib/milestone/96 |
| Jul 20, 2025 | https://github.com/matplotlib/matplotlib/pull/30302#event-18718073944 |
| https://github.com/dstansby |
| dstansby | https://github.com/dstansby |
| 53af231 | https://github.com/matplotlib/matplotlib/commit/53af23113cccbb93894c93accbe2ff4921364d5c |
| Jul 20, 2025 | https://github.com/matplotlib/matplotlib/pull/30302#event-18718074035 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
| https://github.com/nrnavaneet |
| nrnavaneet | https://github.com/nrnavaneet |
| July 21, 2025 13:24 | https://github.com/matplotlib/matplotlib/pull/30302#event-18728994042 |
| timhoffm | https://github.com/timhoffm |
|
Jul 21, 2025
| https://github.com/matplotlib/matplotlib/pull/30302#ref-commit-2ea9371 |
|
| https://github.com/timhoffm |
| MNT: Prefer capitalized logging levels | https://github.com/timhoffm/matplotlib/commit/2ea9371733fdad796962c02932abc6abb66d6405 |
| 2ea9371 | https://github.com/timhoffm/matplotlib/commit/2ea9371733fdad796962c02932abc6abb66d6405 |
| matplotlib#30302 | https://github.com/matplotlib/matplotlib/pull/30302 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Jul 21, 2025
| https://github.com/matplotlib/matplotlib/pull/30302#ref-pullrequest-3250036014 |
|
MNT: Prefer capitalized logging levels
#30339
| https://github.com/matplotlib/matplotlib/pull/30339 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
status: needs review
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22status%3A%20needs%20review%22 |
| Jul 21, 2025 | https://github.com/matplotlib/matplotlib/pull/30302#event-18738150800 |
| timhoffm | https://github.com/timhoffm |
|
Jul 22, 2025
| https://github.com/matplotlib/matplotlib/pull/30302#ref-commit-fec45c6 |
|
| https://github.com/timhoffm |
|
| https://github.com/tacaswell |
| MNT: Prefer capitalized logging levels ( | https://github.com/matplotlib/matplotlib/commit/fec45c62b50af39762583c5db806e59e05ea4b3a |
| #30339 | https://github.com/matplotlib/matplotlib/pull/30339 |
| ) | https://github.com/matplotlib/matplotlib/commit/fec45c62b50af39762583c5db806e59e05ea4b3a |
| fec45c6 | https://github.com/matplotlib/matplotlib/commit/fec45c62b50af39762583c5db806e59e05ea4b3a |
| #30302 | https://github.com/matplotlib/matplotlib/pull/30302 |
| https://github.co/hiddenchars |
| https://github.com/matplotlib/matplotlib/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F30302 |
|
| https://github.com/dstansby |
|
dstansby
| https://github.com/dstansby |
|
| https://github.com/matplotlib/matplotlib/pull/30302/files/0555206d4793a6210ce0ef83ef98ce055a65f234 |
|
| https://github.com/timhoffm |
|
timhoffm
| https://github.com/timhoffm |
|
topic: pyplot API
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20pyplot%20API%22 |
|
v3.11.0
| https://github.com/matplotlib/matplotlib/milestone/96 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/30302 |
|
| https://github.com/nrnavaneet |
|
| https://github.com/timhoffm |
|
| https://github.com/dstansby |
|
| https://github.com/QuLogic |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |