Title: imshow with log/symlog scales fails to produce figures without raising an Exception · Issue #3931 · matplotlib/matplotlib · GitHub
Open Graph Title: imshow with log/symlog scales fails to produce figures without raising an Exception · Issue #3931 · matplotlib/matplotlib
X Title: imshow with log/symlog scales fails to produce figures without raising an Exception · Issue #3931 · matplotlib/matplotlib
Description: I don't know if it makes sense to use imshow with non-linear scales. However, it would be nice if imshow at least raised an Exception in the cases where it's supposed to fail. matplotlib v 1.4.2 %pylab inline Z = randn(10000).reshape(100...
Open Graph Description: I don't know if it makes sense to use imshow with non-linear scales. However, it would be nice if imshow at least raised an Exception in the cases where it's supposed to fail. matplotlib v 1.4.2 %p...
X Description: I don't know if it makes sense to use imshow with non-linear scales. However, it would be nice if imshow at least raised an Exception in the cases where it's supposed to fail. matplotlib v ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3931
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"imshow with log/symlog scales fails to produce figures without raising an Exception","articleBody":"I don't know if it makes sense to use imshow with non-linear scales. However, it would be nice if imshow at least raised an Exception in the cases where it's supposed to fail.\n\nmatplotlib v 1.4.2\n\n``` python\n%pylab inline\n\nZ = randn(10000).reshape(100, -1)\n\n# Works\nfigure()\nimshow(Z)\n\n# Produces no figure if x/y limits are not specified\n# Does NOT raise an exception!\nfigure()\nimshow(Z)\nxscale('log')\nyscale('log')\n\n# Works\nfigure()\nimshow(Z)\nxscale('log')\nyscale('log')\nxlim(1, 20)\nylim(1, 20)\n\n# Produces no figure in symlog scale\n# Does NOT raise an exception!\nfigure()\nimshow(Z)\nxscale('symlog')\nyscale('symlog')\n\n# Produces no figure in symlog scale\n# Does NOT raise an exception!\nfigure()\nimshow(Z)\nxscale('symlog', linthreshx=10**-3)\nyscale('symlog', linthreshy=10**-3)\nxlim(0, 20)\nylim(0, 20)\n```\n","author":{"url":"https://github.com/eyurtsev","@type":"Person","name":"eyurtsev"},"datePublished":"2014-12-17T21:03:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/3931/matplotlib/issues/3931"}
| 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:12a5e804-eb90-0084-b8fc-9d2aa8d3fd36 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9712:1D90D1:387A7A:4C6708:6A5290EA |
| html-safe-nonce | e450c6576392906829dd6f142d9046cdef708c8eb9a7674bd05b4f471a2f6336 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzEyOjFEOTBEMTozODdBN0E6NEM2NzA4OjZBNTI5MEVBIiwidmlzaXRvcl9pZCI6Ijg4NDg2Mjc2NzIzODcwNjQwNDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 57103aaa87f028cae8aa995d02651756cb294fd9ef1fd30dfdc00fb73a358567 |
| hovercard-subject-tag | issue:52291400 |
| 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/3931/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9d87d64f7445cc24ec56b22b731fb613da4d70cb5feb5ec13ab426ca571da32f/matplotlib/matplotlib/issues/3931 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9d87d64f7445cc24ec56b22b731fb613da4d70cb5feb5ec13ab426ca571da32f/matplotlib/matplotlib/issues/3931 |
| og:image:alt | I don't know if it makes sense to use imshow with non-linear scales. However, it would be nice if imshow at least raised an Exception in the cases where it's supposed to fail. matplotlib v 1.4.2 %p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | eyurtsev |
| 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