Title: Minor tick labels shown on all axes with log scale and share{x,y}=True · Issue #8903 · matplotlib/matplotlib · GitHub
Open Graph Title: Minor tick labels shown on all axes with log scale and share{x,y}=True · Issue #8903 · matplotlib/matplotlib
X Title: Minor tick labels shown on all axes with log scale and share{x,y}=True · Issue #8903 · matplotlib/matplotlib
Description: Bug report Bug summary If multiple subplots are created using the subplots function with sharex=True or sharey=True, only the outer axes should have tick labels. However, when having logarithmic axes, only this is only true for major tic...
Open Graph Description: Bug report Bug summary If multiple subplots are created using the subplots function with sharex=True or sharey=True, only the outer axes should have tick labels. However, when having logarithmic ax...
X Description: Bug report Bug summary If multiple subplots are created using the subplots function with sharex=True or sharey=True, only the outer axes should have tick labels. However, when having logarithmic ax...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8903
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Minor tick labels shown on all axes with log scale and share{x,y}=True","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\nIf multiple subplots are created using the `subplots` function with `sharex=True` or `sharey=True`, only the outer axes should have tick labels. However, when having logarithmic axes, only this is only true for major tick labels.\r\n\r\nThe bug also appears when using `AxesGrid` instead of `subplots`.\r\n\r\n**Code for reproduction**\r\n\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\nfig, ax = plt.subplots(2, 2, sharex=True, sharey=True, squeeze=False)\r\nfor a in ax.flatten():\r\n a.plot([10, 20, 30], [10, 20, 30])\r\na.set_yscale(\"log\")\r\na.set_xscale(\"log\")\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\r\n\r\n\r\n**Expected outcome**\r\n\r\nNo x (including minor) tick labels for the upper axes, no y tick labels for the right axes.\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.0.2 (anaconda package)\r\n * Python Version: 3.6\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/lschr","@type":"Person","name":"lschr"},"datePublished":"2017-07-17T19:40:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/8903/matplotlib/issues/8903"}
| 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:0d3df498-762c-314a-4107-dc619f67c650 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC2E:814DC:7F0B5D:A8CCD5:6A530DFC |
| html-safe-nonce | eeb324cf44a2e1039f669ab3b44b408e5528b3ada9db3f13866af43c3399ca5b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzJFOjgxNERDOjdGMEI1RDpBOENDRDU6NkE1MzBERkMiLCJ2aXNpdG9yX2lkIjoiMzE4MDcxNDg2NTUwNjU4NjEwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9e674ac45cfb65dd0a196907e8552d48641f1cc39e9a1f8b2ace8adb14b727ce |
| hovercard-subject-tag | issue:243503981 |
| 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/8903/issue_layout |
| twitter:image | https://opengraph.githubassets.com/536b09248767bf46b48993a1dba6c5cc771506397bb1b3cc67e4bfb198403ad3/matplotlib/matplotlib/issues/8903 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/536b09248767bf46b48993a1dba6c5cc771506397bb1b3cc67e4bfb198403ad3/matplotlib/matplotlib/issues/8903 |
| og:image:alt | Bug report Bug summary If multiple subplots are created using the subplots function with sharex=True or sharey=True, only the outer axes should have tick labels. However, when having logarithmic ax... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lschr |
| 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