Title: Hatching is rendered differently by agg, pdf and svg backends. · Issue #10034 · matplotlib/matplotlib · GitHub
Open Graph Title: Hatching is rendered differently by agg, pdf and svg backends. · Issue #10034 · matplotlib/matplotlib
X Title: Hatching is rendered differently by agg, pdf and svg backends. · Issue #10034 · matplotlib/matplotlib
Description: Bug report Bug summary The baseline images for the test_clipping test (clip_path_clipping.{png,pdf,svg}) clearly show differences in rendering between agg, pdf and svg: top left is the svg baseline rendered by inkview (inkscape) 0.92.2, ...
Open Graph Description: Bug report Bug summary The baseline images for the test_clipping test (clip_path_clipping.{png,pdf,svg}) clearly show differences in rendering between agg, pdf and svg: top left is the svg baseline...
X Description: Bug report Bug summary The baseline images for the test_clipping test (clip_path_clipping.{png,pdf,svg}) clearly show differences in rendering between agg, pdf and svg: top left is the svg baseline...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/10034
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Hatching is rendered differently by agg, pdf and svg backends.","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n**Bug summary**\r\n\r\nThe baseline images for the test_clipping test (clip_path_clipping.{png,pdf,svg}) clearly show differences in rendering between agg, pdf and svg:\r\n\r\n\r\ntop left is the svg baseline rendered by inkview (inkscape) 0.92.2, top right is the png baseline, bottom left is the pdf baseline rendered by okular 17.08.3, bottom right is the pdf baseline rendered by gs 9.22 (gs is used by the testing framework to rasterize the pdf for image comparisons).\r\n\r\n**Code for reproduction**\r\n\r\nN/A\r\n\r\n**Actual outcome**\r\n\r\n- the colors of the stars are slightly different between png and svg.\r\n- the pdf backend render the stars as empty rather than filled.\r\n\r\n**Expected outcome**\r\n\r\nAll three backends should render hatching in a similar manner.\r\n\r\n(As a side note, mplcairo generates pdf and svg that render like the png.)\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system:\r\n * Matplotlib version: master\r\n * Matplotlib backend (`print(matplotlib.get_backend())`):\r\n * Python version:\r\n * Jupyter version (if applicable):\r\n * Other libraries: \r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\n","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2017-12-18T01:02:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/10034/matplotlib/issues/10034"}
| 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:7d49df00-f7a3-18b9-d4ba-ef4f07f0361f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA36:29DE49:1CACC56:25D97B3:6A52D719 |
| html-safe-nonce | 50e3efc2a8601efe9d798d1e6fd5d1dbf6ccbffbd8458adb0ee6454758b6deec |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTM2OjI5REU0OToxQ0FDQzU2OjI1RDk3QjM6NkE1MkQ3MTkiLCJ2aXNpdG9yX2lkIjoiMzQ4NjcyMTYzMDc2NDAwODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a132aa13613b825947a2d8e8c362c5c3518fc7ccd53862249f22bc613b327d95 |
| hovercard-subject-tag | issue:282739927 |
| 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/10034/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1df3023623e8ef4f6b7022f45d4a78d3190eb1f579f496c8d2abe6fb7f19ba26/matplotlib/matplotlib/issues/10034 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1df3023623e8ef4f6b7022f45d4a78d3190eb1f579f496c8d2abe6fb7f19ba26/matplotlib/matplotlib/issues/10034 |
| og:image:alt | Bug report Bug summary The baseline images for the test_clipping test (clip_path_clipping.{png,pdf,svg}) clearly show differences in rendering between agg, pdf and svg: top left is the svg baseline... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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