Title: Pixelated fonts when plot saved as jpeg · Issue #5302 · matplotlib/matplotlib · GitHub
Open Graph Title: Pixelated fonts when plot saved as jpeg · Issue #5302 · matplotlib/matplotlib
X Title: Pixelated fonts when plot saved as jpeg · Issue #5302 · matplotlib/matplotlib
Description: I have noticed that when you save figures as jpeg using the nbagg backend you will get pixelated fonts for labels and tickmarks. It appears this has to do with giving PIL raw data with transparent regions when trying to save jpeg images....
Open Graph Description: I have noticed that when you save figures as jpeg using the nbagg backend you will get pixelated fonts for labels and tickmarks. It appears this has to do with giving PIL raw data with transparent ...
X Description: I have noticed that when you save figures as jpeg using the nbagg backend you will get pixelated fonts for labels and tickmarks. It appears this has to do with giving PIL raw data with transparent ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5302
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pixelated fonts when plot saved as jpeg","articleBody":"I have noticed that when you save figures as jpeg using the nbagg backend you will get pixelated fonts for labels and tickmarks. It appears this has to do with giving PIL raw data with transparent regions when trying to save jpeg images. This can be avoided with setting: rcParams['nbagg.transparent'] = False.\n\nIs this behavior desired? Perhaps there is a way we can assign default values that will be called for when you have a transparency in a figure and you are trying to save it to a file format that doesn't support transparency?\n\nPlease see http://stackoverflow.com/questions/33283274/pixelated-fonts-when-plot-is-saved-as-jpeg for more information.\n","author":{"url":"https://github.com/cbreeden","@type":"Person","name":"cbreeden"},"datePublished":"2015-10-22T16:21:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/5302/matplotlib/issues/5302"}
| 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:944b4389-082a-1853-55ad-71cd32d01183 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C6FE:25BA60:445BD7:5940D5:6A52FE24 |
| html-safe-nonce | 7679ac2316be2bd8a1b99181b4d6f89a5c34f10f26da993772c8309d402ca87c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNkZFOjI1QkE2MDo0NDVCRDc6NTk0MEQ1OjZBNTJGRTI0IiwidmlzaXRvcl9pZCI6IjQxNDcwNjY3Nzg5MzYzNDQxMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a0e3acaecb9f94fd12df1889516f0e97ca3de2655df00dd9a9e04eddd2082a72 |
| hovercard-subject-tag | issue:112839947 |
| 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/5302/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2073bd4c8bc413db39e9bb25f343f1b530f78199d574c58e77c7df4d8db26d56/matplotlib/matplotlib/issues/5302 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2073bd4c8bc413db39e9bb25f343f1b530f78199d574c58e77c7df4d8db26d56/matplotlib/matplotlib/issues/5302 |
| og:image:alt | I have noticed that when you save figures as jpeg using the nbagg backend you will get pixelated fonts for labels and tickmarks. It appears this has to do with giving PIL raw data with transparent ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cbreeden |
| 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 | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width