Title: use('module://') directive doesn't work as expected · Issue #2309 · matplotlib/matplotlib · GitHub
Open Graph Title: use('module://') directive doesn't work as expected · Issue #2309 · matplotlib/matplotlib
X Title: use('module://') directive doesn't work as expected · Issue #2309 · matplotlib/matplotlib
Description: import matplotlib matplotlib.use('module://my_backend') doesn't work as expected if my_backend's name clashes with one of the modules in matplotlib.backends. In that case the result is confusing (in my case my_backend is called backend_w...
Open Graph Description: import matplotlib matplotlib.use('module://my_backend') doesn't work as expected if my_backend's name clashes with one of the modules in matplotlib.backends. In that case the result is confusing (i...
X Description: import matplotlib matplotlib.use('module://my_backend') doesn't work as expected if my_backend's name clashes with one of the modules in matplotlib.backends. In that case the result...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/2309
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"use('module://') directive doesn't work as expected","articleBody":"```\nimport matplotlib\nmatplotlib.use('module://my_backend')\n```\n\ndoesn't work as expected if `my_backend`'s name clashes with one of the modules in `matplotlib.backends`. In that case the result is confusing (in my case my_backend is called `backend_webagg` since I was experimenting on it).\n- `get_backend()` still says `module://my_backend`\n- `pylab_setup()` returns the module with the same name from `matplotlib.backends`\n\nI would expect `pylab_setup()` to return the same module as `import my_backend`.\n","author":{"url":"https://github.com/andreabedini","@type":"Person","name":"andreabedini"},"datePublished":"2013-08-19T00:23:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/2309/matplotlib/issues/2309"}
| 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:42470b29-c16b-5760-8e7a-221fb4f2fd85 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA6C:2373A7:403491:5D4998:6A549BA8 |
| html-safe-nonce | 2fafaa0317b6f406c4c9d757cb5a5969f0aa422e7f00276b714426638bd374c9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTZDOjIzNzNBNzo0MDM0OTE6NUQ0OTk4OjZBNTQ5QkE4IiwidmlzaXRvcl9pZCI6IjI3MjE4MzYwMTEyMzE2ODE0NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e5dfb7f5a25c11f6b14bdd3297ab684db0a655ae6215214b52dbf0caefa3c094 |
| hovercard-subject-tag | issue:18218304 |
| 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/2309/issue_layout |
| twitter:image | https://opengraph.githubassets.com/412ae4cc1067065d6f7d801e877db3618057ad2225a3422aeb4e0286cf48394b/matplotlib/matplotlib/issues/2309 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/412ae4cc1067065d6f7d801e877db3618057ad2225a3422aeb4e0286cf48394b/matplotlib/matplotlib/issues/2309 |
| og:image:alt | import matplotlib matplotlib.use('module://my_backend') doesn't work as expected if my_backend's name clashes with one of the modules in matplotlib.backends. In that case the result is confusing (i... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreabedini |
| 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 | f8cfff6384f62259baea531c7f58bc7040f8dd92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width