Title: [Doc]: Deprecation note in `get_cmap` is non-actionable · Issue #22362 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: Deprecation note in `get_cmap` is non-actionable · Issue #22362 · matplotlib/matplotlib
X Title: [Doc]: Deprecation note in `get_cmap` is non-actionable · Issue #22362 · matplotlib/matplotlib
Description: Documentation Link Docstring of mpl.cm.get_cmap Problem There is a note that says: Notes ----- Currently, this returns the global colormap object, which is deprecated. In Matplotlib 3.5, you will no longer be able to modify the global co...
Open Graph Description: Documentation Link Docstring of mpl.cm.get_cmap Problem There is a note that says: Notes ----- Currently, this returns the global colormap object, which is deprecated. In Matplotlib 3.5, you will n...
X Description: Documentation Link Docstring of mpl.cm.get_cmap Problem There is a note that says: Notes ----- Currently, this returns the global colormap object, which is deprecated. In Matplotlib 3.5, you will n...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/22362
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: Deprecation note in `get_cmap` is non-actionable","articleBody":"### Documentation Link\n\nDocstring of `mpl.cm.get_cmap`\n\n### Problem\n\nThere is a note that says:\r\n\r\n```\r\nNotes\r\n-----\r\nCurrently, this returns the global colormap object, which is deprecated.\r\nIn Matplotlib 3.5, you will no longer be able to modify the global\r\ncolormaps in-place.\r\n```\r\n\r\nThis is not clear about *what* is deprecated or how users should update. Will it start returning a copy? Will it start returning an immutable object? Should users be using a different function?\n\n### Suggested improvement\n\n_No response_\n\n### Matplotlib Version\n\n3.5.1","author":{"url":"https://github.com/mwaskom","@type":"Person","name":"mwaskom"},"datePublished":"2022-01-30T15:39:44.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/22362/matplotlib/issues/22362"}
| 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:6ee5faea-0909-2854-4877-440c57c01f46 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A690:93CC4:26E5BED:376A391:6A51041C |
| html-safe-nonce | dc68fe2ef4fd76532de0e819afdaa912a02242ad9ae0d9859b31b17ae4e8783e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNjkwOjkzQ0M0OjI2RTVCRUQ6Mzc2QTM5MTo2QTUxMDQxQyIsInZpc2l0b3JfaWQiOiI0OTM2MjM1NjYyMDE5OTg2NDYwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9a01f6a4cbe867b2c17ea29df0ebe61bd7da9863cd68234ac080acf743675cfc |
| hovercard-subject-tag | issue:1118585249 |
| 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/22362/issue_layout |
| twitter:image | https://opengraph.githubassets.com/88665329280bec8ea547e5d3e1fc4c58754f9d3bc5009c3722e1d79d4d2ecf57/matplotlib/matplotlib/issues/22362 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/88665329280bec8ea547e5d3e1fc4c58754f9d3bc5009c3722e1d79d4d2ecf57/matplotlib/matplotlib/issues/22362 |
| og:image:alt | Documentation Link Docstring of mpl.cm.get_cmap Problem There is a note that says: Notes ----- Currently, this returns the global colormap object, which is deprecated. In Matplotlib 3.5, you will n... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mwaskom |
| hostname | github.com |
| expected-hostname | github.com |
| None | 38906a4da4e3e9fd88dfeacee232f5932c0c5f7495de3b4efc53ddfac7173d12 |
| 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 | 90441ea9b98e7491aa6ebcd135fccce4e2396f48 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width