Title: RecursionError when calling get_yaxis_transform() on a Symlog-scaled axis. · Issue #11163 · matplotlib/matplotlib · GitHub
Open Graph Title: RecursionError when calling get_yaxis_transform() on a Symlog-scaled axis. · Issue #11163 · matplotlib/matplotlib
X Title: RecursionError when calling get_yaxis_transform() on a Symlog-scaled axis. · Issue #11163 · matplotlib/matplotlib
Description: Bug report Bug summary Calling get_xaxis_transform() after set_yscale('symlog') results in a RecursionError. I found this bug when investigating why there's no yticks (except 0) shown when using a symlog scale. Code for reproduction from...
Open Graph Description: Bug report Bug summary Calling get_xaxis_transform() after set_yscale('symlog') results in a RecursionError. I found this bug when investigating why there's no yticks (except 0) shown when using a ...
X Description: Bug report Bug summary Calling get_xaxis_transform() after set_yscale('symlog') results in a RecursionError. I found this bug when investigating why there's no yticks (except 0) shown w...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/11163
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"RecursionError when calling get_yaxis_transform() on a Symlog-scaled axis.","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nCalling `get_xaxis_transform()` after `set_yscale('symlog')` results in a `RecursionError`. I found this bug when investigating why there's no yticks (except 0) shown when using a symlog scale.\r\n\r\n**Code for reproduction**\r\n\r\n```python\r\nfrom matplotlib import pyplot as plt\r\nimport numpy as np\r\n\r\nf, ax = plt.subplots()\r\nax.plot(np.arange(100))\r\nax.set_yscale('symlog')\r\nprint(ax.get_yaxis_transform())\r\n```\r\n\r\n**Actual outcome**\r\n```\r\nRecursionError: Maximum recursion depth exceeded\r\n```\r\n\r\n**Expected outcome**\r\nAn object of type `matplotlib.scale.SymmetricLogScaleTransform` or something like that.\r\n\r\n**Matplotlib version**\r\n\u003c!--Please specify your platform and versions of the relevant libraries you are using:--\u003e\r\n * Operating system: Ubuntu 16.04.1\r\n * Matplotlib version: 2.2.2\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): Qt5Agg\r\n * Python version: 3.6.5\r\n\r\nInstallation was done via conda default channel.\r\n\r\n","author":{"url":"https://github.com/themightyoarfish","@type":"Person","name":"themightyoarfish"},"datePublished":"2018-05-03T08:12:31.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/11163/matplotlib/issues/11163"}
| 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:266cf12d-451e-3d4d-bbc1-56530a974e3c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 98CA:3E220D:8FDD17:D2BA85:6A55FE6C |
| html-safe-nonce | 26f2b9e1ed46fa156485a294129c469ad08f3e0de660b31eba867ffa8a2b6c8e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5OENBOjNFMjIwRDo4RkREMTc6RDJCQTg1OjZBNTVGRTZDIiwidmlzaXRvcl9pZCI6IjY1MTQ5MTc5NTc1Nzk0Mzk3MjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 52365c70b00db5a150f41290f804dbc26020accfd278ccc09e503bc36d1794f1 |
| hovercard-subject-tag | issue:319824243 |
| 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/11163/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bd94f840a9c461cab7e80db104d3dda29ab4b3af8418fbde9a4f6e55fc52fc6d/matplotlib/matplotlib/issues/11163 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bd94f840a9c461cab7e80db104d3dda29ab4b3af8418fbde9a4f6e55fc52fc6d/matplotlib/matplotlib/issues/11163 |
| og:image:alt | Bug report Bug summary Calling get_xaxis_transform() after set_yscale('symlog') results in a RecursionError. I found this bug when investigating why there's no yticks (except 0) shown when using a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | themightyoarfish |
| hostname | github.com |
| expected-hostname | github.com |
| None | f4368738fc918fecd9b3958f6b49218bbe60d4185f38e72e3954e11f1ad0213a |
| 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 | ed27e29ef37c0e8f612ea3fed8118b955b8314e2 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width