Title: Add :code-caption: option to plot directive by duncanmmacleod · Pull Request #30741 · matplotlib/matplotlib · GitHub
Open Graph Title: Add :code-caption: option to plot directive by duncanmmacleod · Pull Request #30741 · matplotlib/matplotlib
X Title: Add :code-caption: option to plot directive by duncanmmacleod · Pull Request #30741 · matplotlib/matplotlib
Description: PR summary This PR adds a :code-caption: option to the .. plot RST directive: .. plot:: :include-source: :code-caption: Simple line plot import matplotlib.pyplot as plt plt.plot([1, 2, 3], [1, 4, 9]) plt.xlabel('X axis') plt.ylabel('Y axis') plt.title('Simple Plot') Closes #30740 PR checklist "closes #0000" is in the body of the PR description to link the related issue new and changed code is tested Plotting related features are demonstrated in an example New Features and API Changes are noted with a directive and release note Documentation complies with general and docstring guidelines
Open Graph Description: PR summary This PR adds a :code-caption: option to the .. plot RST directive: .. plot:: :include-source: :code-caption: Simple line plot import matplotlib.pyplot as plt plt.plot([1...
X Description: PR summary This PR adds a :code-caption: option to the .. plot RST directive: .. plot:: :include-source: :code-caption: Simple line plot import matplotlib.pyplot as plt plt.plot([1...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/30741
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0c00df7a-c6c4-c5a0-057f-d04e05510669 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D7E0:200B2E:39013D:4BDF42:6A52ED95 |
| html-safe-nonce | d2e5886ba3b3bc2af0b4159099df0f3ff060444579d915caed69ebc8f0d70446 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0UwOjIwMEIyRTozOTAxM0Q6NEJERjQyOjZBNTJFRDk1IiwidmlzaXRvcl9pZCI6IjgwMDUxNjA4MTA4OTQ0MTE3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 95e6173b88e03908e57ca6d844af8e06ebf878003552af8d7e0a7de5ada8cd76 |
| hovercard-subject-tag | pull_request:2999082274 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/matplotlib/matplotlib/pull/30741/files |
| twitter:image | https://avatars.githubusercontent.com/u/1618530?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1618530?s=400&v=4 |
| og:image:alt | PR summary This PR adds a :code-caption: option to the .. plot RST directive: .. plot:: :include-source: :code-caption: Simple line plot import matplotlib.pyplot as plt plt.plot([1... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| 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