Title: [Bug]: ImageMagickWriter · Issue #29567 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: ImageMagickWriter · Issue #29567 · matplotlib/matplotlib
X Title: [Bug]: ImageMagickWriter · Issue #29567 · matplotlib/matplotlib
Description: Bug summary Current versions of ImageMagick deprecate the "convert" command in favor of "magick". The code in Matplotlib.init() , line 476, needs to be changed from path = 'convert' to path = 'magick'. Code for reproduction import matplo...
Open Graph Description: Bug summary Current versions of ImageMagick deprecate the "convert" command in favor of "magick". The code in Matplotlib.init() , line 476, needs to be changed from path = 'convert' to path = 'magi...
X Description: Bug summary Current versions of ImageMagick deprecate the "convert" command in favor of "magick". The code in Matplotlib.init() , line 476, needs to be changed from path = '...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29567
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: ImageMagickWriter","articleBody":"### Bug summary\n\nCurrent versions of ImageMagick deprecate the \"convert\" command in favor of \"magick\". The code in Matplotlib.__init__() , line 476, needs to be changed from\n`path = 'convert'` to `path = 'magick'`.\n\n### Code for reproduction\n\n```Python\nimport matplotlib as mpl\nmpl._get_executable_info('magick')\n```\n\n### Actual outcome\n\nTraceback (most recent call last):\n File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\n File \"/Users/saeta/.virtualenvs/jl12/lib/python3.12/site-packages/matplotlib/__init__.py\", line 476, in _get_executable_info\n info = impl([path, \"--version\"], r\"^Version: ImageMagick (\\S*)\")\n ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n File \"/Users/saeta/.virtualenvs/jl12/lib/python3.12/site-packages/matplotlib/__init__.py\", line 419, in impl\n raise ExecutableNotFoundError(\nmatplotlib.ExecutableNotFoundError: Failed to determine the version of convert from convert --version, which output WARNING: The convert command is deprecated in IMv7, use \"magick\" instead of \"convert\" or \"magick convert\"\n\nVersion: ImageMagick 7.1.1-43 Q16-HDRI aarch64 22550 https://imagemagick.org\nCopyright: (C) 1999 ImageMagick Studio LLC\nLicense: https://imagemagick.org/script/license.php\nFeatures: Cipher DPC HDRI Modules OpenMP\nDelegates (built-in): bzlib fontconfig freetype gslib heic jng jp2 jpeg jxl lcms lqr ltdl lzma openexr png ps raw tiff webp xml zlib zstd\nCompiler: clang (16.0.0)\n\n### Expected outcome\n\n_ExecInfo(executable='magick', raw_version='7.1.1-43', version=\u003cVersion('7.1.1.post43')\u003e)\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nMacOS\n\n### Matplotlib Version\n\n3.9.3\n\n### Matplotlib Backend\n\nmacosx\n\n### Python version\n\n3.12.8\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nNone","author":{"url":"https://github.com/pnsaeta","@type":"Person","name":"pnsaeta"},"datePublished":"2025-02-03T01:54:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/29567/matplotlib/issues/29567"}
| 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:06979877-a5f9-e4a2-4719-81136b3c3ba1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A4A:2C7987:23360D1:330C254:6A565A3B |
| html-safe-nonce | 8d64d928a511cd8312ca303cfa9600e3a94c0975231f8e0b7aec0863b5be8267 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTRBOjJDNzk4NzoyMzM2MEQxOjMzMEMyNTQ6NkE1NjVBM0IiLCJ2aXNpdG9yX2lkIjoiNzQwMzg0OTYxNTE2NTI1MDEwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d47712b497323104d4b7dc42c745845828f312aca8376c68a46375dea0f44648 |
| hovercard-subject-tag | issue:2826202748 |
| 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/29567/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f38b237df3f547a4facd489b9796e0ee25ebaf424c131fe4092c70aafa3bd382/matplotlib/matplotlib/issues/29567 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f38b237df3f547a4facd489b9796e0ee25ebaf424c131fe4092c70aafa3bd382/matplotlib/matplotlib/issues/29567 |
| og:image:alt | Bug summary Current versions of ImageMagick deprecate the "convert" command in favor of "magick". The code in Matplotlib.init() , line 476, needs to be changed from path = 'convert' to path = 'magi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pnsaeta |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6a3afe34dff341ad10912db44becf282289d7f2af20576241738530fbb28de01 |
| 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 | b71002134df95575e9f6c2945a64d454b0be181e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width