Title: Refactor legend documentation · Issue #9458 · matplotlib/matplotlib · GitHub
Open Graph Title: Refactor legend documentation · Issue #9458 · matplotlib/matplotlib
X Title: Refactor legend documentation · Issue #9458 · matplotlib/matplotlib
Description: @anntzer recently pointed out that we've got a lot of documentation on legends scattered throughout the website. Some has higher quality than others, some has mixed levels of user expertise, some are in unintuitive places. I'm putting a ...
Open Graph Description: @anntzer recently pointed out that we've got a lot of documentation on legends scattered throughout the website. Some has higher quality than others, some has mixed levels of user expertise, some a...
X Description: @anntzer recently pointed out that we've got a lot of documentation on legends scattered throughout the website. Some has higher quality than others, some has mixed levels of user expertise, so...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/9458
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Refactor legend documentation","articleBody":"@anntzer recently pointed out that we've got a lot of documentation on legends scattered throughout the website. Some has higher quality than others, some has mixed levels of user expertise, some are in unintuitive places. I'm putting a list that @anntzer collected below in case somebody wants to take a stab.\r\n\r\n---\r\n\r\nTutorial:\r\n- Legend guide: http://matplotlib.org/tutorials/intermediate/legend_guide.html#sphx-glr-tutorials-intermediate-legend-guide-py\r\nquite advanced, probably can use some rewriting but OK.\r\n\r\nExamples:\r\n- Legend demo: http://matplotlib.org/gallery/text_labels_and_annotations/legend_demo.html#sphx-glr-gallery-text-labels-and-annotations-legend-demo-py\r\nLooks somewhere between what this PR proposes and the legend guide. I think this PR is a nice piece of work but I would suggest trying not to spread the same information too thinly across many examples; perhaps the three \"narrative\" legend examples/tutorials could be merged into two?\r\n- What's new in 0.98.4 legend: http://matplotlib.org/gallery/pyplots/whats_new_98_4_legend.html#sphx-glr-gallery-pyplots-whats-new-98-4-legend-py\r\nCan probably be deleted and the relevant features split across other examples.\r\n- Polar legend: http://matplotlib.org/gallery/pie_and_polar_charts/polar_legend.html#sphx-glr-gallery-pie-and-polar-charts-polar-legend-py\r\nCan probably deleted, there's nothing special about legends in polar plots.\r\n- Simple legend 1 and 2: http://matplotlib.org/gallery/userdemo/simple_legend01.html#sphx-glr-gallery-userdemo-simple-legend01-py http://matplotlib.org/gallery/userdemo/simple_legend02.html#sphx-glr-gallery-userdemo-simple-legend02-py\r\nShould probably be unified.\r\n- Legend picking: http://matplotlib.org/gallery/event_handling/legend_picking.html#sphx-glr-gallery-event-handling-legend-picking-py\r\nIs really about event handling so can stand by itself.\r\n- Figure legend: http://matplotlib.org/gallery/text_labels_and_annotations/figlegend_demo.html#sphx-glr-gallery-text-labels-and-annotations-figlegend-demo-py\r\nShould probably be rewritten to use a single legend for the whole figure...\r\n- Transparent, fancy legends: http://matplotlib.org/gallery/recipes/transparent_legends.html#sphx-glr-gallery-recipes-transparent-legends-py\r\nIs basically the default now... probably doesn't need to exist by itself.\r\n- Scatter legend: http://matplotlib.org/gallery/lines_bars_and_markers/scatter_with_legend.html#sphx-glr-gallery-lines-bars-and-markers-scatter-with-legend-py\r\nHeh, why not.\r\n- Legend using predefined labels: http://matplotlib.org/gallery/api/legend.html#sphx-glr-gallery-api-legend-py\r\n- and the change in #9451 \r\n\r\nSuggestions:\r\n- Add relevant documentation to address #8789 (i.e. the improper scaling of the legend handles with default values for the legend parameters)","author":{"url":"https://github.com/choldgraf","@type":"Person","name":"choldgraf"},"datePublished":"2017-10-17T16:32:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/9458/matplotlib/issues/9458"}
| 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:47137ef3-396e-054a-ccf1-d7c28c7691ef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 903E:2049AA:1D6C8F:26D1AD:6A52F05C |
| html-safe-nonce | 10e5735a732cc88f6f88a0bb402c2aa3c83720fe74bf01db3a072b5256128de1 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDNFOjIwNDlBQToxRDZDOEY6MjZEMUFEOjZBNTJGMDVDIiwidmlzaXRvcl9pZCI6IjI3NDIxNDE5NTA4ODcxMjkxODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5c7a43fb0aa4fdb8cc5f0b47959dd92b8a878ed4c4d2f98281eb06caf86b2602 |
| hovercard-subject-tag | issue:266196110 |
| 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/9458/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f01a86b794499a62f2373ac09ef07c9bec005ddc91e9540d22a4bf28cd4fb4b3/matplotlib/matplotlib/issues/9458 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f01a86b794499a62f2373ac09ef07c9bec005ddc91e9540d22a4bf28cd4fb4b3/matplotlib/matplotlib/issues/9458 |
| og:image:alt | @anntzer recently pointed out that we've got a lot of documentation on legends scattered throughout the website. Some has higher quality than others, some has mixed levels of user expertise, some a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | choldgraf |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width