Title: [Bug]: matplotlib broke compatibility with get_cmap in new release (3.9) · Issue #28317 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: matplotlib broke compatibility with get_cmap in new release (3.9) · Issue #28317 · matplotlib/matplotlib
X Title: [Bug]: matplotlib broke compatibility with get_cmap in new release (3.9) · Issue #28317 · matplotlib/matplotlib
Description: Bug summary matplotlib broke compatibility with get_cmap in new release (3.9). Code for reproduction $ python Python 3.12.3 (main, Apr 17 2024, 00:00:00) [GCC 14.0.1 20240411 (Red Hat 14.0.1-0)] on linux Type "help", "copyright", "credit...
Open Graph Description: Bug summary matplotlib broke compatibility with get_cmap in new release (3.9). Code for reproduction $ python Python 3.12.3 (main, Apr 17 2024, 00:00:00) [GCC 14.0.1 20240411 (Red Hat 14.0.1-0)] on...
X Description: Bug summary matplotlib broke compatibility with get_cmap in new release (3.9). Code for reproduction $ python Python 3.12.3 (main, Apr 17 2024, 00:00:00) [GCC 14.0.1 20240411 (Red Hat 14.0.1-0)] on...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/28317
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: matplotlib broke compatibility with get_cmap in new release (3.9)","articleBody":"### Bug summary\r\n\r\nmatplotlib broke compatibility with get_cmap in new release (3.9).\r\n\r\n### Code for reproduction\r\n\r\n```Python\r\n$ python\r\nPython 3.12.3 (main, Apr 17 2024, 00:00:00) [GCC 14.0.1 20240411 (Red Hat 14.0.1-0)] on linux\r\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\r\n\u003e\u003e\u003e import matplotlib\r\n\u003e\u003e\u003e matplotlib.__version__\r\n'3.9.0'\r\n\u003e\u003e\u003e from matplotlib.cm import get_cmap\r\nImportError: cannot import name 'get_cmap' from 'matplotlib.cm' (C:\\Python39-x64\\lib\\site-packages\\matplotlib\\cm.py)\r\n```\r\n\r\n\r\n### Actual outcome\r\n\r\nImportError: cannot import name 'get_cmap' from 'matplotlib.cm' (C:\\Python39-x64\\lib\\site-packages\\matplotlib\\cm.py)\r\n\r\n### Expected outcome\r\n\r\nno exception.\r\n\r\n### Additional information\r\n\r\n_No response_\r\n\r\n### Operating system\r\n\r\nlinux Fedora40\r\n\r\n### Matplotlib Version\r\n\r\n3.9\r\n\r\n### Matplotlib Backend\r\n\r\n_No response_\r\n\r\n### Python version\r\n\r\n3.12\r\n\r\n### Jupyter version\r\n\r\n_No response_\r\n\r\n### Installation\r\n\r\npip","author":{"url":"https://github.com/servoz","@type":"Person","name":"servoz"},"datePublished":"2024-05-29T17:10:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/28317/matplotlib/issues/28317"}
| 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:5a64a168-2643-8d24-6262-acbef01d292e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8EC:1A176D:CBB884:10F8DF9:6A528732 |
| html-safe-nonce | e5c6658fa56cb510a8a3cb6a6516bc6b3aa343dd0ac20aa68f3441d4c30f5112 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEVDOjFBMTc2RDpDQkI4ODQ6MTBGOERGOTo2QTUyODczMiIsInZpc2l0b3JfaWQiOiI0NjgyNjA0NTY3NDQ3MzczNjE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 46b716cb138b652d2db7343dc25299b79ec67726c15d3f8978b620f34f9fade5 |
| hovercard-subject-tag | issue:2323825251 |
| 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/28317/issue_layout |
| twitter:image | https://opengraph.githubassets.com/10dd5e6fedbe696679f4b5c578e157f29b8b7b621844745e3fe980495042d645/matplotlib/matplotlib/issues/28317 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/10dd5e6fedbe696679f4b5c578e157f29b8b7b621844745e3fe980495042d645/matplotlib/matplotlib/issues/28317 |
| og:image:alt | Bug summary matplotlib broke compatibility with get_cmap in new release (3.9). Code for reproduction $ python Python 3.12.3 (main, Apr 17 2024, 00:00:00) [GCC 14.0.1 20240411 (Red Hat 14.0.1-0)] on... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | servoz |
| 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