Title: [ENH]: Support partial figsize setting · Issue #31400 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Support partial figsize setting · Issue #31400 · matplotlib/matplotlib
X Title: [ENH]: Support partial figsize setting · Issue #31400 · matplotlib/matplotlib
Description: Problem It's sometimes handy to adjust figure height without modifying width. #28758 (comment) Proposed solution From #28758 (comment) Support figure(... ,figsize=...) with tuples where one of x/y can be None with the meaning: Take that ...
Open Graph Description: Problem It's sometimes handy to adjust figure height without modifying width. #28758 (comment) Proposed solution From #28758 (comment) Support figure(... ,figsize=...) with tuples where one of x/y ...
X Description: Problem It's sometimes handy to adjust figure height without modifying width. #28758 (comment) Proposed solution From #28758 (comment) Support figure(... ,figsize=...) with tuples where one of ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/31400
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Support partial figsize setting","articleBody":"### Problem\n\nIt's sometimes handy to adjust figure height without modifying width. https://github.com/matplotlib/matplotlib/issues/28758#issuecomment-2463991090\n\n### Proposed solution\n\nFrom https://github.com/matplotlib/matplotlib/issues/28758#issuecomment-2335060760\n\nSupport `figure(... ,figsize=...)` with tuples where one of x/y can be `None` with the meaning: Take that component from `rcParams[\"figure.figsize\"]`; i.e. `figsize=(None, 3)` is short for `figsize=(rcParams[\"figure.figsize\"][0], 3)`.\n","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2026-03-26T22:02:14.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/31400/matplotlib/issues/31400"}
| 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:fb49e5c0-79fd-eac6-af32-61bd5e3307b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFE0:2121C6:159200A:1D8E068:6A5228C0 |
| html-safe-nonce | 868f15301831f7c8ecf431fbac9d5926f43f4c751cd622ca1a5c3dae58b1c578 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkUwOjIxMjFDNjoxNTkyMDBBOjFEOEUwNjg6NkE1MjI4QzAiLCJ2aXNpdG9yX2lkIjoiNzUzMTY4MzU1Mjg4NDMwNDA2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3cd6a2f3e3b9924d8e10e433e7ff80a4a4d00f703a8721221b7edcddd7df71a7 |
| hovercard-subject-tag | issue:4147614092 |
| 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/31400/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b12200c8f8ad8de619b3282b863e3539fad10fadc8af02855e696a9f46445cd9/matplotlib/matplotlib/issues/31400 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b12200c8f8ad8de619b3282b863e3539fad10fadc8af02855e696a9f46445cd9/matplotlib/matplotlib/issues/31400 |
| og:image:alt | Problem It's sometimes handy to adjust figure height without modifying width. #28758 (comment) Proposed solution From #28758 (comment) Support figure(... ,figsize=...) with tuples where one of x/y ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width