Title: [Doc]: figlegend examples call `fig.figlegend` instead of `plt.figlegend` or `fig.legend` · Issue #24433 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: figlegend examples call `fig.figlegend` instead of `plt.figlegend` or `fig.legend` · Issue #24433 · matplotlib/matplotlib
X Title: [Doc]: figlegend examples call `fig.figlegend` instead of `plt.figlegend` or `fig.legend` · Issue #24433 · matplotlib/matplotlib
Description: Documentation Link https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.figlegend.html Problem In the linked doc, the examples all use fig.figlegend, e.g. ax.plot([1, 2, 3], label='Inline label') fig.figlegend() Figure doesn't ha...
Open Graph Description: Documentation Link https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.figlegend.html Problem In the linked doc, the examples all use fig.figlegend, e.g. ax.plot([1, 2, 3], label='Inline l...
X Description: Documentation Link https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.figlegend.html Problem In the linked doc, the examples all use fig.figlegend, e.g. ax.plot([1, 2, 3], label='Inli...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24433
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: figlegend examples call `fig.figlegend` instead of `plt.figlegend` or `fig.legend`","articleBody":"### Documentation Link\n\nhttps://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.figlegend.html\n\n### Problem\n\nIn the linked doc, the examples all use `fig.figlegend`, e.g.\r\n\r\n```\r\nax.plot([1, 2, 3], label='Inline label')\r\nfig.figlegend()\r\n```\r\n\r\nFigure doesn't have a `figlegend` method (but does have `legend`).\n\n### Suggested improvement\n\nThe examples should probably call `plt.figlegend`, since it's the docs for `matplotlib.pyplot.figlegend`.","author":{"url":"https://github.com/roryyorke","@type":"Person","name":"roryyorke"},"datePublished":"2022-11-12T05:42:17.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/24433/matplotlib/issues/24433"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:02964661-4086-5067-c077-78e834954379 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8CA8:9C6CC:2882C63:399CC7A:6A510658 |
| html-safe-nonce | f024df3e3ce9187649de1ccbcf81cf53acc8c002c25e3d442ae248b7b699806b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0E4OjlDNkNDOjI4ODJDNjM6Mzk5Q0M3QTo2QTUxMDY1OCIsInZpc2l0b3JfaWQiOiI4NzUxMzg3NTc2OTkxMDI0NzI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 7b6f72155ca984d3fed9793e7f1bf0776eae97b9bc4cee9c2a5d31311d6db7a6 |
| hovercard-subject-tag | issue:1446273055 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/matplotlib/matplotlib/24433/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b6c589943635fd5a3ebb5690ea5f1dd137ac376295ffce4a49bf51451a77dfb3/matplotlib/matplotlib/issues/24433 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b6c589943635fd5a3ebb5690ea5f1dd137ac376295ffce4a49bf51451a77dfb3/matplotlib/matplotlib/issues/24433 |
| og:image:alt | Documentation Link https://matplotlib.org/devdocs/api/_as_gen/matplotlib.pyplot.figlegend.html Problem In the linked doc, the examples all use fig.figlegend, e.g. ax.plot([1, 2, 3], label='Inline l... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | roryyorke |
| hostname | github.com |
| expected-hostname | github.com |
| None | 38906a4da4e3e9fd88dfeacee232f5932c0c5f7495de3b4efc53ddfac7173d12 |
| turbo-cache-control | no-preview |
| 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 | 90441ea9b98e7491aa6ebcd135fccce4e2396f48 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width