Title: add rc param for centimeter support · Issue #1369 · matplotlib/matplotlib · GitHub
Open Graph Title: add rc param for centimeter support · Issue #1369 · matplotlib/matplotlib
X Title: add rc param for centimeter support · Issue #1369 · matplotlib/matplotlib
Description: It would be great if I could specify a figsize in centimeters. I would like to write import matplotlib as mpl mpl.rcParams['lengthunit'] = 'c' figure(figsize=(12, 8)) instead of figure(figsize=(12/2.54, 8/2.54)) I think this would be a g...
Open Graph Description: It would be great if I could specify a figsize in centimeters. I would like to write import matplotlib as mpl mpl.rcParams['lengthunit'] = 'c' figure(figsize=(12, 8)) instead of figure(figsize=(12/...
X Description: It would be great if I could specify a figsize in centimeters. I would like to write import matplotlib as mpl mpl.rcParams['lengthunit'] = 'c' figure(figsize=(12, 8)) instead of fig...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/1369
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"add rc param for centimeter support","articleBody":"It would be great if I could specify a figsize in centimeters. I would like to write\n\n```\nimport matplotlib as mpl\nmpl.rcParams['lengthunit'] = 'c'\nfigure(figsize=(12, 8))\n```\n\ninstead of\n\n```\nfigure(figsize=(12/2.54, 8/2.54))\n```\n\nI think this would be a great addition for the non-anglo-saxon world ;)\n","author":{"url":"https://github.com/andreas-h","@type":"Person","name":"andreas-h"},"datePublished":"2012-10-12T10:25:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":28},"url":"https://github.com/1369/matplotlib/issues/1369"}
| 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:f149aed2-cd62-d031-089d-2d60a91da1ae |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD9A:1BE3FC:E0CBB:13035C:6A5259AD |
| html-safe-nonce | 5c9003a5e5a5ced9f12fbfe4c28574532fadcef39a49c7aa0bafc08462c862e0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDlBOjFCRTNGQzpFMENCQjoxMzAzNUM6NkE1MjU5QUQiLCJ2aXNpdG9yX2lkIjoiMzA5NjM5MTAwODA3OTk5MzI2MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 413adbe81286d0b5c7d45c5666fda5dff986ee786d9f121fb1fe63ede679e198 |
| hovercard-subject-tag | issue:7539084 |
| 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/1369/issue_layout |
| twitter:image | https://opengraph.githubassets.com/77777ae035df286e3847c68acc4c492a7a26c47d544d203a587b38a5fc1ffe5c/matplotlib/matplotlib/issues/1369 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/77777ae035df286e3847c68acc4c492a7a26c47d544d203a587b38a5fc1ffe5c/matplotlib/matplotlib/issues/1369 |
| og:image:alt | It would be great if I could specify a figsize in centimeters. I would like to write import matplotlib as mpl mpl.rcParams['lengthunit'] = 'c' figure(figsize=(12, 8)) instead of figure(figsize=(12/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreas-h |
| 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