Title: plot_directive seems to be partly ignoring plot_formats · Issue #2800 · matplotlib/matplotlib · GitHub
Open Graph Title: plot_directive seems to be partly ignoring plot_formats · Issue #2800 · matplotlib/matplotlib
X Title: plot_directive seems to be partly ignoring plot_formats · Issue #2800 · matplotlib/matplotlib
Description: I have a project with hundreds (~500) of figures that are generated by MPL. I have a command in the conf.py to tell MPL to only generate PNG files at 80 dpi plot_formats = [('png',80)] but when I run the build, I get an error like C:\Use...
Open Graph Description: I have a project with hundreds (~500) of figures that are generated by MPL. I have a command in the conf.py to tell MPL to only generate PNG files at 80 dpi plot_formats = [('png',80)] but when I r...
X Description: I have a project with hundreds (~500) of figures that are generated by MPL. I have a command in the conf.py to tell MPL to only generate PNG files at 80 dpi plot_formats = [('png',80)] but ...
Mail addresses
notifications@github.comwrote
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/2800
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"plot_directive seems to be partly ignoring plot_formats","articleBody":"I have a project with hundreds (~500) of figures that are generated by MPL. I have a command in the conf.py to tell MPL to only generate PNG files at 80 dpi\n\n```\nplot_formats = [('png',80)]\n```\n\nbut when I run the build, I get an error like\n\n```\nC:\\Users\\Belli\\Documents\\Code\\CoolProp\\Web\\Fluids\\trans-2-Butene.rst:19: WARNING: image file not readable: Fluids\\../_build/plot_directive/Fluids/trans-2-Butene-4.pdf\n```\n\nfor every single figure in my project. \n\nOf course the PDF isn't readable since it shouldn't be being checked in the first place! I believe this is a regression since 1.2 or so (not sure of the exact revision though).\n\nHope a guru can chime in with wisdom!\n","author":{"url":"https://github.com/ibell","@type":"Person","name":"ibell"},"datePublished":"2014-02-10T19:13:43Z","url":"https://github.com/matplotlib/matplotlib/issues/2800"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3b34bea6-2c02-f98f-a932-8ffb78df6bf8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A9C6:1FDCFC:1B83C25:24339E0:6B06810E |
| html-safe-nonce | a8ce8a0cc011d9a1e94e81f7501237d844d1ae329acf70014fedc56629480b76 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUM2OjFGRENGQzoxQjgzQzI1OjI0MzM5RTA6NkIwNjgxMEUiLCJ2aXNpdG9yX2lkIjoiNTEzNTk4MzUwNTY1ODI0OTQ4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7038321bf80299a1d5d497f0cf6f873720a5da5a5587532c105903bc60e028b8 |
| hovercard-subject-tag | issue:27291781 |
| 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/2800/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d805d613a832f3c978f52753456d46e595ba8fdde0fe9ef798e64225fe0c1d7d/matplotlib/matplotlib/issues/2800 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d805d613a832f3c978f52753456d46e595ba8fdde0fe9ef798e64225fe0c1d7d/matplotlib/matplotlib/issues/2800 |
| og:image:alt | I have a project with hundreds (~500) of figures that are generated by MPL. I have a command in the conf.py to tell MPL to only generate PNG files at 80 dpi plot_formats = [('png',80)] but when I r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ibell |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| 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 | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width