Title: Docstring fix & small adjustements in `demo_affine_image` by afvincent · Pull Request #6673 · matplotlib/matplotlib · GitHub
Open Graph Title: Docstring fix & small adjustements in `demo_affine_image` by afvincent · Pull Request #6673 · matplotlib/matplotlib
X Title: Docstring fix & small adjustements in `demo_affine_image` by afvincent · Pull Request #6673 · matplotlib/matplotlib
Description: 1/ Makes the red rectangle announced in the docstring red in the plot. The docstring has also been precised a bit. 2/ I think the comment about the image rotation was misplaced so I moved it where it seemed relevant to me. 3/ Finally, I've made the line width of the rectangle a bit bigger to be more visible and added a call to plt.show() The example should now looks like: Remark 1: the colormap is not viridis because the colormap seems to default to gnuplot2 in my conda env. I guess I had tweaked sthg and didn't remember it. Remark 2: the red rectangle does not seem to be perfectly centered on the image: the 2 upper sides are mostly over the image, while the 2 lower sides are mostly out of it. Is it expected?
Open Graph Description: 1/ Makes the red rectangle announced in the docstring red in the plot. The docstring has also been precised a bit. 2/ I think the comment about the image rotation was misplaced so I moved it where ...
X Description: 1/ Makes the red rectangle announced in the docstring red in the plot. The docstring has also been precised a bit. 2/ I think the comment about the image rotation was misplaced so I moved it where ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/6673
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b2a90941-7fd2-e726-d0d2-a811146ed6f9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A75E:3DCCE9:1EE73:26117:6A52D34F |
| html-safe-nonce | e3a8e4681d0c247d3580bc67e154b2a5fc0a9699ff4d18e6d1fa27e9531da457 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzVFOjNEQ0NFOToxRUU3MzoyNjExNzo2QTUyRDM0RiIsInZpc2l0b3JfaWQiOiI3MTE2MDE1OTgyMzIyMzA3OTE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5b4fa5844d0971e5ca51fd6bb25ac77818d58efb8e483cf15b5c6395ed6c7f5f |
| hovercard-subject-tag | pull_request:76034275 |
| 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/6673/files |
| twitter:image | https://avatars.githubusercontent.com/u/17270724?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/17270724?s=400&v=4 |
| og:image:alt | 1/ Makes the red rectangle announced in the docstring red in the plot. The docstring has also been precised a bit. 2/ I think the comment about the image rotation was misplaced so I moved it where ... |
| 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 |
| 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