Title: Missing scale · Issue #12873 · matplotlib/matplotlib · GitHub
Open Graph Title: Missing scale · Issue #12873 · matplotlib/matplotlib
X Title: Missing scale · Issue #12873 · matplotlib/matplotlib
Description: Bug report Bug summary The scale on the y-axis is missing in some logarithmic plots. Code for reproduction: import matplotlib.pyplot as plt x = [1, 2] y = [3.7, 3.8] plt.plot(x,y) plt.yscale("log") plt.show() Actual outcome Expected outc...
Open Graph Description: Bug report Bug summary The scale on the y-axis is missing in some logarithmic plots. Code for reproduction: import matplotlib.pyplot as plt x = [1, 2] y = [3.7, 3.8] plt.plot(x,y) plt.yscale("log")...
X Description: Bug report Bug summary The scale on the y-axis is missing in some logarithmic plots. Code for reproduction: import matplotlib.pyplot as plt x = [1, 2] y = [3.7, 3.8] plt.plot(x,y) plt.yscale("...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/12873
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing scale ","articleBody":"\u003c!--To help us understand and resolve your issue, please fill out the form to the best of your ability.--\u003e\r\n\u003c!--You can feel free to delete the sections that do not apply.--\u003e\r\n\r\n### Bug report\r\n\r\n**Bug summary**\r\n\r\nThe scale on the y-axis is missing in some logarithmic plots.\r\n\r\n\u003c!--A short 1-2 sentences that succinctly describes the bug--\u003e\r\n\r\n**Code for reproduction**:\r\n\u003c!--A minimum code snippet required to reproduce the bug, also minimizing the number of dependencies required--\u003e\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\n\r\nx = [1, 2]\r\ny = [3.7, 3.8]\r\n\r\nplt.plot(x,y)\r\nplt.yscale(\"log\")\r\nplt.show()\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\u003c!--The output produced by the above code, which may be a screenshot, console output, etc.--\u003e\r\n\r\n\r\n\r\n\r\n**Expected outcome**\r\n\r\nThere should be a scale on the y-axis. Without the scale, you can't tell what the value of y is.\r\n\r\n\u003c!--A description of the expected outcome from the code snippet--\u003e\r\n\u003c!--If this used to work in an earlier version of Matplotlib, please note the version it used to work on--\u003e\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: Linux\r\n * Matplotlib version: 2.2.2\r\n * Matplotlib backend (`print(matplotlib.get_backend())`): TkAgg\r\n * Python version: 3.5.2\r\n * Jupyter version (if applicable):\r\n * Other libraries: \r\n\r\n\u003c!--Please tell us how you installed matplotlib and python e.g., from source, pip, conda--\u003e\r\n\u003c!--If you installed from conda, please specify which channel you used if not the default--\u003e\r\n\r\n","author":{"url":"https://github.com/Volker-Weissmann","@type":"Person","name":"Volker-Weissmann"},"datePublished":"2018-11-24T00:41:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/12873/matplotlib/issues/12873"}
| 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:6dadd58d-a7f9-8c08-01df-443778acd316 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC9C:3B4DC0:171B1F5:1FB0F9C:6A55D9CF |
| html-safe-nonce | 5856b23f835b5e7b06045715875f4b2daa5e6ff1ed77e7571a6e610a12c2e4b5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzlDOjNCNERDMDoxNzFCMUY1OjFGQjBGOUM6NkE1NUQ5Q0YiLCJ2aXNpdG9yX2lkIjoiMjA1MTgwOTQwNDk3NDkxMzk5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1e52efb8787479d532333ecec579b561b261dcd7d235f1defca60d1e52d72427 |
| hovercard-subject-tag | issue:383946298 |
| 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/12873/issue_layout |
| twitter:image | https://opengraph.githubassets.com/010c49e80934e021bac837e753129ff15375cff3e41189ff9a856eee29242a47/matplotlib/matplotlib/issues/12873 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/010c49e80934e021bac837e753129ff15375cff3e41189ff9a856eee29242a47/matplotlib/matplotlib/issues/12873 |
| og:image:alt | Bug report Bug summary The scale on the y-axis is missing in some logarithmic plots. Code for reproduction: import matplotlib.pyplot as plt x = [1, 2] y = [3.7, 3.8] plt.plot(x,y) plt.yscale("log")... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Volker-Weissmann |
| hostname | github.com |
| expected-hostname | github.com |
| None | b5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e |
| 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 | 8f8e1726192df8dce16872ceb503336c12e9ae78 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width