Title: Doc: examples update by ImportanceOfBeingErnest · Pull Request #13399 · matplotlib/matplotlib · GitHub
Open Graph Title: Doc: examples update by ImportanceOfBeingErnest · Pull Request #13399 · matplotlib/matplotlib
X Title: Doc: examples update by ImportanceOfBeingErnest · Pull Request #13399 · matplotlib/matplotlib
Description: PR Summary Update 3 examples: Barchart example In #12244 the Barchart example got removed from the "Lines, Bars, and Markers" gallery section. However, a bar chart example should be in the section named "Bars". It is also one of the most frequent questions on stackoverflow on how to label bars. Links to the example should not be broken. Inside this example, the coordinates of the labels should be placed at an offset from the bar tip in absolute units, instead of data units, such that people will not struggle to apply the example to their very different data ranges. I also corrected the coordinate placement in the statistics example the bar example got merged with and changed the random state, such that some of the stylings used in that example actually take effect. In total, I'm not convinced that this example is actually needed, or maybe better shown in the showcase section? That is in any case beyond this PR. Polar bar chart example This example was wrongly named. Also it used a loop to set colors, which is unnecessary. Image interpolation example Change the figure size to let it fit into the webpage and remove a redundant line. PR Checklist Has Pytest style unit tests Code is Flake 8 compliant New features are documented, with examples if plot related Documentation is sphinx and numpydoc compliant Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there) Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way
Open Graph Description: PR Summary Update 3 examples: Barchart example In #12244 the Barchart example got removed from the "Lines, Bars, and Markers" gallery section. However, a bar chart example should be in th...
X Description: PR Summary Update 3 examples: Barchart example In #12244 the Barchart example got removed from the "Lines, Bars, and Markers" gallery section. However, a bar chart example should ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/13399
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cf0ce177-8f7a-0ef5-d1ac-bbef2384f718 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E0B8:17A244:174EB25:1F9509A:6A5359CD |
| html-safe-nonce | 0ba75d3d3e59eed033c5bb61c5f24bd4b3afb51e6e0dc5fa40ed4e91c12669e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMEI4OjE3QTI0NDoxNzRFQjI1OjFGOTUwOUE6NkE1MzU5Q0QiLCJ2aXNpdG9yX2lkIjoiODc0MDc3NzE2NTIyOTA4NzE4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 769875a10c0efedae94c10bbae1934b67c703fa4c294044d692b43e69076cd31 |
| hovercard-subject-tag | pull_request:251752276 |
| 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/13399/files |
| twitter:image | https://avatars.githubusercontent.com/u/23121882?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/23121882?s=400&v=4 |
| og:image:alt | PR Summary Update 3 examples: Barchart example In #12244 the Barchart example got removed from the "Lines, Bars, and Markers" gallery section. However, a bar chart example should be in th... |
| 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