Title: No way to unregister a custom scale · Issue #5791 · matplotlib/matplotlib · GitHub
Open Graph Title: No way to unregister a custom scale · Issue #5791 · matplotlib/matplotlib
X Title: No way to unregister a custom scale · Issue #5791 · matplotlib/matplotlib
Description: There is a function register_scale in matplotlib.scale but no counterpart unregister_scale or deregister_scale. It would be useful in cases like this one where a custom scale is created for just one plot. Currently, there is no way to cl...
Open Graph Description: There is a function register_scale in matplotlib.scale but no counterpart unregister_scale or deregister_scale. It would be useful in cases like this one where a custom scale is created for just on...
X Description: There is a function register_scale in matplotlib.scale but no counterpart unregister_scale or deregister_scale. It would be useful in cases like this one where a custom scale is created for just on...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5791
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No way to unregister a custom scale","articleBody":"There is a function [`register_scale`](https://github.com/matplotlib/matplotlib/blob/0037595096e3be3ec863f3e3008e73c469e2f2b8/lib/matplotlib/scale.py#L610) in `matplotlib.scale` but no counterpart `unregister_scale` or `deregister_scale`. It would be useful in cases like [this one](https://stackoverflow.com/questions/34580542/matplotlib-plotting-timeseries-while-skipping-over-periods-without-data) where a custom scale is created for just one plot. Currently, there is no way to clean up after that single plot is drawn.\n","author":{"url":"https://github.com/dniku","@type":"Person","name":"dniku"},"datePublished":"2016-01-04T14:35:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/5791/matplotlib/issues/5791"}
| 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:30e1eb3b-dc60-a0d7-e520-23d5be90424d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9BC6:17596C:168A403:1DE5D4D:6A51C452 |
| html-safe-nonce | 5960c62e6513640479ec7f8cb5e6d4d40258dc8aea01a9a5f00a0545905b81eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QkM2OjE3NTk2QzoxNjhBNDAzOjFERTVENEQ6NkE1MUM0NTIiLCJ2aXNpdG9yX2lkIjoiMzQ2NTg1MTQ5NTExMDUyNjAzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ed06e41968b1a1151468c8d59ad9f80db5093ef02bf465579165b198b79c7e12 |
| hovercard-subject-tag | issue:124769698 |
| 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/5791/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e7dd4694c64837255a095dff87a64c6f3e56275d4de370ebba2fe7a1f3c9638b/matplotlib/matplotlib/issues/5791 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e7dd4694c64837255a095dff87a64c6f3e56275d4de370ebba2fe7a1f3c9638b/matplotlib/matplotlib/issues/5791 |
| og:image:alt | There is a function register_scale in matplotlib.scale but no counterpart unregister_scale or deregister_scale. It would be useful in cases like this one where a custom scale is created for just on... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dniku |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width