| 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:80a44103-95db-cd34-4d29-600b189d51e8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BACA:FAECF:A046D2:D621B9:6A527CB6 |
| html-safe-nonce | a19d9df5b49d7557f9cedd207fbe3100b0eda69c6afbfa8b6249f9a24ea26bc5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQUNBOkZBRUNGOkEwNDZEMjpENjIxQjk6NkE1MjdDQjYiLCJ2aXNpdG9yX2lkIjoiMTI5NTg1MjgzMzk3NTk5MTQ3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 01a9b4f65cef3409a4613bb9b14153872f355161bc8928cef589deaac8c6a840 |
| hovercard-subject-tag | pull_request:481260401 |
| 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/18426/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/c30cf5b5f064f6f541998de7209486b6cbc2d1e518aaffa79934067750855f05/matplotlib/matplotlib/pull/18426 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c30cf5b5f064f6f541998de7209486b6cbc2d1e518aaffa79934067750855f05/matplotlib/matplotlib/pull/18426 |
| og:image:alt | PR Summary
This PR adds an option :caption: to the plot directive. It partially solves #9346.
The new option enforces a caption when a single figure is generated.
The option take precedence ove... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ulijh |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/matplotlib/matplotlib/pull/18426#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmatplotlib%2Fmatplotlib%2Fpull%2F18426 |
| 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%2F18426 |
|
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/18426 |
| Reload | https://github.com/matplotlib/matplotlib/pull/18426 |
| Reload | https://github.com/matplotlib/matplotlib/pull/18426 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
|
matplotlib
| https://github.com/matplotlib |
| matplotlib | https://github.com/matplotlib/matplotlib |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
|
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
408
| 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 |
| QuLogic | https://github.com/QuLogic |
| matplotlib:master | https://github.com/matplotlib/matplotlib/tree/master |
| Conversation | https://github.com/matplotlib/matplotlib/pull/18426 |
| Commits6 (6) | https://github.com/matplotlib/matplotlib/pull/18426/commits |
| Checks | https://github.com/matplotlib/matplotlib/pull/18426/checks |
| Files changed | https://github.com/matplotlib/matplotlib/pull/18426/files |
| plot directive: caption-option | https://github.com/matplotlib/matplotlib/pull/18426#top |
| QuLogic | https://github.com/QuLogic |
| matplotlib:master | https://github.com/matplotlib/matplotlib/tree/master |
|
| https://github.com/ulijh |
| ulijh | https://github.com/ulijh |
| Sep 7, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#issue-694952684 |
| #9346 | https://github.com/matplotlib/matplotlib/issues/9346 |
| Flake 8 | https://flake8.pycqa.org/en/latest/ |
| build | https://matplotlib.org/devel/documenting_mpl.html#building-the-docs |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| plot directive: caption-option | https://github.com/matplotlib/matplotlib/pull/18426/commits/90069b47c44a20e66cce715dfe122e5e96960012 |
| 90069b4 | https://github.com/matplotlib/matplotlib/pull/18426/commits/90069b47c44a20e66cce715dfe122e5e96960012 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
| v3.4.0 | https://github.com/matplotlib/matplotlib/milestone/53 |
| Sep 7, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#event-3738106340 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
|
Sep 7, 2020
| https://github.com/matplotlib/matplotlib/pull/18426#pullrequestreview-483682341 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/18426/files/90069b47c44a20e66cce715dfe122e5e96960012 |
| https://github.com/tacaswell |
| tacaswell | https://github.com/tacaswell |
|
Sep 7, 2020
| https://github.com/matplotlib/matplotlib/pull/18426#pullrequestreview-483683103 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/18426/files/90069b47c44a20e66cce715dfe122e5e96960012 |
| lib/matplotlib/sphinxext/plot_directive.py | https://github.com/matplotlib/matplotlib/pull/18426/files/90069b47c44a20e66cce715dfe122e5e96960012#diff-1565d78306cf72de5a28f4e2b196ee2cb09026d1f8aa2dc26178c3a47f3347b8 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| https://github.com/timhoffm |
| timhoffm | https://github.com/timhoffm |
|
Sep 7, 2020
| https://github.com/matplotlib/matplotlib/pull/18426#pullrequestreview-483700068 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/18426/files/90069b47c44a20e66cce715dfe122e5e96960012 |
| timhoffm | https://github.com/timhoffm |
| https://github.com/matplotlib/matplotlib/pull/18426#pullrequestreview-483700068 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| https://github.com/ulijh |
| ulijh | https://github.com/ulijh |
| Sep 8, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#issuecomment-688709774 |
| @tacaswell | https://github.com/tacaswell |
| @timhoffm | https://github.com/timhoffm |
| #15304 | https://github.com/matplotlib/matplotlib/pull/15304 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| https://github.com/jklymak |
| jklymak | https://github.com/jklymak |
| Sep 8, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#issuecomment-688832171 |
| @ulijh | https://github.com/ulijh |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| https://github.com/jklymak |
| jklymak | https://github.com/jklymak |
|
topic: sphinx extension
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20sphinx%20extension%22 |
| Sep 8, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#event-3740668260 |
| Enforce unambiguous use of :caption: option. | https://github.com/matplotlib/matplotlib/pull/18426/commits/9c1d1d05bd4fc7a790c7200692b83b62b079f9cf |
| 9c1d1d0 | https://github.com/matplotlib/matplotlib/pull/18426/commits/9c1d1d05bd4fc7a790c7200692b83b62b079f9cf |
| https://github.com/ulijh |
| ulijh | https://github.com/ulijh |
| Sep 8, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#issuecomment-688914059 |
| Sphinx extension: support captions in inline plots. #15304 | https://github.com/matplotlib/matplotlib/pull/15304 |
| @bcbnz | https://github.com/bcbnz |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
Sep 9, 2020
| https://github.com/matplotlib/matplotlib/pull/18426#pullrequestreview-484580046 |
|
View reviewed changes
| https://github.com/matplotlib/matplotlib/pull/18426/files/9c1d1d05bd4fc7a790c7200692b83b62b079f9cf |
| QuLogic | https://github.com/QuLogic |
| https://github.com/matplotlib/matplotlib/pull/18426#pullrequestreview-484580046 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| lib/matplotlib/sphinxext/plot_directive.py | https://github.com/matplotlib/matplotlib/pull/18426/files/9c1d1d05bd4fc7a790c7200692b83b62b079f9cf#diff-1565d78306cf72de5a28f4e2b196ee2cb09026d1f8aa2dc26178c3a47f3347b8 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| lib/matplotlib/tests/test_sphinxext.py | https://github.com/matplotlib/matplotlib/pull/18426/files/9c1d1d05bd4fc7a790c7200692b83b62b079f9cf#diff-1f3f5913fefc55a6629cfdb5478de2a2613e9c768fc5565125578b19694a829e |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| lib/matplotlib/tests/tinypages/some_plots.rst | https://github.com/matplotlib/matplotlib/pull/18426/files/9c1d1d05bd4fc7a790c7200692b83b62b079f9cf#diff-08da46b74648ed5eacf3e9819072ef928f3d8b18447b0f4909c85feb27cfba43 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| Sep 9, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#issuecomment-689289269 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| self.error | https://docutils.sourceforge.io/docs/howto/rst-directives.html#error-handling |
| matplotlib/lib/matplotlib/sphinxext/plot_directive.py | https://github.com/matplotlib/matplotlib/blob/855e3bb474428d2be0b89134d12d0fef5d584eb6/lib/matplotlib/sphinxext/plot_directive.py#L245-L248 |
| 855e3bb | https://github.com/matplotlib/matplotlib/commit/855e3bb474428d2be0b89134d12d0fef5d584eb6 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| ulijh | https://github.com/ulijh |
| September 9, 2020 07:38 | https://github.com/matplotlib/matplotlib/pull/18426#commits-pushed-bda148e |
|
| https://github.com/ulijh |
|
| https://github.com/QuLogic |
| Update lib/matplotlib/sphinxext/plot_directive.py | https://github.com/matplotlib/matplotlib/pull/18426/commits/bda148ecc624ff381b0dec51c69a9280bf8801e4 |
| bda148e | https://github.com/matplotlib/matplotlib/pull/18426/commits/bda148ecc624ff381b0dec51c69a9280bf8801e4 |
|
| https://github.com/ulijh |
|
| https://github.com/QuLogic |
| Update lib/matplotlib/tests/tinypages/some_plots.rst | https://github.com/matplotlib/matplotlib/pull/18426/commits/9107c1293c1e6b2f94fb92fc8f35fc16b08c1cbe |
| 9107c12 | https://github.com/matplotlib/matplotlib/pull/18426/commits/9107c1293c1e6b2f94fb92fc8f35fc16b08c1cbe |
|
| https://github.com/ulijh |
|
| https://github.com/QuLogic |
| Update lib/matplotlib/tests/test_sphinxext.py | https://github.com/matplotlib/matplotlib/pull/18426/commits/1d6e939c937971d2e408fe4539653066c9a470a0 |
| 1d6e939 | https://github.com/matplotlib/matplotlib/pull/18426/commits/1d6e939c937971d2e408fe4539653066c9a470a0 |
| Using self.error in drective to provide context. | https://github.com/matplotlib/matplotlib/pull/18426/commits/c6ab4ab821cd36ea7c21503c3e5dd7b7ad1cf2f2 |
| c6ab4ab | https://github.com/matplotlib/matplotlib/pull/18426/commits/c6ab4ab821cd36ea7c21503c3e5dd7b7ad1cf2f2 |
| https://github.com/ulijh |
| ulijh | https://github.com/ulijh |
| Sep 11, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#issuecomment-690902693 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| 33affe1 | https://github.com/matplotlib/matplotlib/commit/33affe182f7ba61329c8f0e627ec3cb3573ced47 |
| Sep 12, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#event-3758606849 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
| Sep 12, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#issuecomment-691376716 |
| @ulijh | https://github.com/ulijh |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| https://github.com/dopplershift |
| dopplershift | https://github.com/dopplershift |
|
Sep 12, 2020
| https://github.com/matplotlib/matplotlib/pull/18426#ref-pullrequest-495761831 |
|
Sphinx extension: support captions in inline plots.
#15304
| https://github.com/matplotlib/matplotlib/pull/15304 |
| https://github.com/ulijh |
| ulijh | https://github.com/ulijh |
| September 16, 2020 09:25 | https://github.com/matplotlib/matplotlib/pull/18426#event-3772241024 |
| https://github.com/ulijh |
| ulijh | https://github.com/ulijh |
| Sep 16, 2020 | https://github.com/matplotlib/matplotlib/pull/18426#issuecomment-693350571 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
| https://github.com/QuLogic |
| QuLogic | https://github.com/QuLogic |
|
Mar 18, 2021
| https://github.com/matplotlib/matplotlib/pull/18426#ref-pullrequest-832430698 |
|
DOC: Prepare What's new page for 3.4.0.
#19713
| https://github.com/matplotlib/matplotlib/pull/19713 |
| 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%2F18426 |
|
| https://github.com/tacaswell |
|
tacaswell
| https://github.com/tacaswell |
|
| https://github.com/matplotlib/matplotlib/pull/18426/files/90069b47c44a20e66cce715dfe122e5e96960012 |
|
| https://github.com/QuLogic |
|
QuLogic
| https://github.com/QuLogic |
|
| https://github.com/matplotlib/matplotlib/pull/18426/files/9c1d1d05bd4fc7a790c7200692b83b62b079f9cf |
|
| https://github.com/timhoffm |
|
timhoffm
| https://github.com/timhoffm |
|
| https://github.com/matplotlib/matplotlib/pull/18426/files/90069b47c44a20e66cce715dfe122e5e96960012 |
|
topic: sphinx extension
| https://github.com/matplotlib/matplotlib/issues?q=state%3Aopen%20label%3A%22topic%3A%20sphinx%20extension%22 |
|
v3.4.0
| https://github.com/matplotlib/matplotlib/milestone/53 |
| Please reload this page | https://github.com/matplotlib/matplotlib/pull/18426 |
|
| https://github.com/ulijh |
|
| https://github.com/jklymak |
|
| https://github.com/QuLogic |
|
| https://github.com/tacaswell |
|
| https://github.com/timhoffm |
|
| 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 |