Title: Bug with colorbar and low DPI output in PDF · Issue #6827 · matplotlib/matplotlib · GitHub
Open Graph Title: Bug with colorbar and low DPI output in PDF · Issue #6827 · matplotlib/matplotlib
X Title: Bug with colorbar and low DPI output in PDF · Issue #6827 · matplotlib/matplotlib
Description: The following example (with Matplotlib 2.0.0b3) causes the colorbar inside the colorbar axes to be offset when outputting to PDF with a low DPI: import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(1,1,1) im = ax.imsho...
Open Graph Description: The following example (with Matplotlib 2.0.0b3) causes the colorbar inside the colorbar axes to be offset when outputting to PDF with a low DPI: import matplotlib.pyplot as plt fig = plt.figure() a...
X Description: The following example (with Matplotlib 2.0.0b3) causes the colorbar inside the colorbar axes to be offset when outputting to PDF with a low DPI: import matplotlib.pyplot as plt fig = plt.figure() a...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/6827
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug with colorbar and low DPI output in PDF","articleBody":"The following example (with Matplotlib 2.0.0b3) causes the colorbar inside the colorbar axes to be offset when outputting to PDF with a low DPI:\n\n```\nimport matplotlib.pyplot as plt\n\nfig = plt.figure()\nax = fig.add_subplot(1,1,1)\nim = ax.imshow([[1]])\nfig.colorbar(im)\nfig.savefig('colorbar_test.pdf', dpi=7)\n```\n\n\n\nThis wasn't an issue with Matplotlib 1.4:\n\n\n\nand the bug was apparently introduces in Matplotlib 1.5:\n\n\n","author":{"url":"https://github.com/astrofrog","@type":"Person","name":"astrofrog"},"datePublished":"2016-07-25T03:29:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":23},"url":"https://github.com/6827/matplotlib/issues/6827"}
| 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:cb598598-4154-5471-c684-3e030683a5a3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9942:1896FB:3AC15B:4EB4F9:6A514247 |
| html-safe-nonce | 27655d535eed3d8cb1f86453582bb90f6cf15875261dad6194ff4aed41bd44c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OTQyOjE4OTZGQjozQUMxNUI6NEVCNEY5OjZBNTE0MjQ3IiwidmlzaXRvcl9pZCI6IjMwNTkwODY4MjA1MjI0MTA1NjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 52f6c2af19e2acbd32b1b5d279a55012d967e6d811b55874c1093efc290c68f4 |
| hovercard-subject-tag | issue:167275252 |
| 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/6827/issue_layout |
| twitter:image | https://opengraph.githubassets.com/22f144e3d5c464dba3a15a787751dbb17e6d2d5e88cd444878c3085756a55a7d/matplotlib/matplotlib/issues/6827 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/22f144e3d5c464dba3a15a787751dbb17e6d2d5e88cd444878c3085756a55a7d/matplotlib/matplotlib/issues/6827 |
| og:image:alt | The following example (with Matplotlib 2.0.0b3) causes the colorbar inside the colorbar axes to be offset when outputting to PDF with a low DPI: import matplotlib.pyplot as plt fig = plt.figure() a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | astrofrog |
| hostname | github.com |
| expected-hostname | github.com |
| None | e840f405b2718e8f2d55aafa9ff27dbce17e29d0c253011d05ea0fea3c78baff |
| 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 | e876f00c5723f6080b9d294e4958fd4d506e6faf |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width