Title: [ENH]: plt.colorbar add a colorbar which has the same height/width of original image · Issue #29938 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: plt.colorbar add a colorbar which has the same height/width of original image · Issue #29938 · matplotlib/matplotlib
X Title: [ENH]: plt.colorbar add a colorbar which has the same height/width of original image · Issue #29938 · matplotlib/matplotlib
Description: Problem for example, in this most simple demo of plt.colorbar(), the height of colorbar depends on figsize, but it will be nicer if the height of colorbar depends on plt.imshow() Proposed solution No response
Open Graph Description: Problem for example, in this most simple demo of plt.colorbar(), the height of colorbar depends on figsize, but it will be nicer if the height of colorbar depends on plt.imshow() Proposed solution ...
X Description: Problem for example, in this most simple demo of plt.colorbar(), the height of colorbar depends on figsize, but it will be nicer if the height of colorbar depends on plt.imshow() Proposed solution ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29938
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: plt.colorbar add a colorbar which has the same height/width of original image","articleBody":"### Problem\n\n\n\nfor example, in this most simple demo of `plt.colorbar()`, the height of colorbar depends on `figsize`, but it will be nicer if the height of colorbar depends on `plt.imshow()`\n\n### Proposed solution\n\n_No response_","author":{"url":"https://github.com/Firestar-Reimu","@type":"Person","name":"Firestar-Reimu"},"datePublished":"2025-04-18T08:58:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/29938/matplotlib/issues/29938"}
| 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:f7dd73db-b04a-a1ce-167d-2bafbb11889c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F86:12305D:D4F337:11E3C9B:6A52A616 |
| html-safe-nonce | be4fce7de2e31a360809bdc354a0df4a4ee58f1493960b0ef65a05ea5d0d36b9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5Rjg2OjEyMzA1RDpENEYzMzc6MTFFM0M5Qjo2QTUyQTYxNiIsInZpc2l0b3JfaWQiOiI5MDM2NjE3NTIyMjIzOTM4NzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 11ff740bc04794e3503205706ecaa43d1612d4ffd180c62227077d3034aa0958 |
| hovercard-subject-tag | issue:3004465190 |
| 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/29938/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aaa3d99f4b1d46abbe2aeb9592e1d519dcd4cc45006f9ba09e3b7e1b55c905e4/matplotlib/matplotlib/issues/29938 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aaa3d99f4b1d46abbe2aeb9592e1d519dcd4cc45006f9ba09e3b7e1b55c905e4/matplotlib/matplotlib/issues/29938 |
| og:image:alt | Problem for example, in this most simple demo of plt.colorbar(), the height of colorbar depends on figsize, but it will be nicer if the height of colorbar depends on plt.imshow() Proposed solution ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Firestar-Reimu |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width