Title: Minor ticks on log-scale colorbar are not cleared · Issue #8358 · matplotlib/matplotlib · GitHub
Open Graph Title: Minor ticks on log-scale colorbar are not cleared · Issue #8358 · matplotlib/matplotlib
X Title: Minor ticks on log-scale colorbar are not cleared · Issue #8358 · matplotlib/matplotlib
Description: Bug report Bug summary Using pcolormesh with logarithmic color scale and minor ticks enabled results in a cluttered-looking set of minor ticks, apparently because the linear ticks are not removed, just overplotted with the log scale ones...
Open Graph Description: Bug report Bug summary Using pcolormesh with logarithmic color scale and minor ticks enabled results in a cluttered-looking set of minor ticks, apparently because the linear ticks are not removed, ...
X Description: Bug report Bug summary Using pcolormesh with logarithmic color scale and minor ticks enabled results in a cluttered-looking set of minor ticks, apparently because the linear ticks are not removed, ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/8358
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Minor ticks on log-scale colorbar are not cleared","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\n- Using pcolormesh with logarithmic color scale and minor ticks enabled results in a cluttered-looking set of minor ticks, apparently because the linear ticks are not removed, just overplotted with the log scale ones. \r\n\r\n**Code for reproduction**\r\n\r\n```python\r\nimport numpy\r\nfrom matplotlib.colors import LogNorm\r\nfrom matplotlib.pyplot import pcolormesh, colorbar, rcParams\r\nrcParams['xtick.minor.visible']=True\r\nrcParams['ytick.minor.visible']=True\r\ndata=numpy.random.random((10,12))*100.0+0.1 \r\npcolormesh(data,norm=LogNorm())\r\ncolorbar()\r\n```\r\n\r\n**Actual outcome**\r\n\r\n\r\n**Expected outcome**\r\n\r\n- Expect that the colobar minor ticks would appear logarithmically.\r\n\r\n**Version Info**\r\nPlatform: GNU/Linux 2.6.32-642.11.1.el6.x86_64 \r\nPython: 2.7.13 |Anaconda custom (64-bit)\r\nIPython: 5.2.2\r\nMatplotib: 2.0.0\r\n\r\nAll python components installed via Anaconda.\r\n\r\n","author":{"url":"https://github.com/lamorton","@type":"Person","name":"lamorton"},"datePublished":"2017-03-21T18:25:54.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/8358/matplotlib/issues/8358"}
| 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:fe816a91-8766-13cf-4f0f-64ce7f55238e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B5D6:14BBA:209DB0:2DF828:6A536BA7 |
| html-safe-nonce | 2826f51272216282c93f8fa3f9d7c441393ece0e8dc857360d89ae71802c5583 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNUQ2OjE0QkJBOjIwOURCMDoyREY4Mjg6NkE1MzZCQTciLCJ2aXNpdG9yX2lkIjoiMTg5NzM3MTkxMTU0MzAyNDU1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 23b4505d17b3c2d55cfcd4f6c6acb51494aba0ccc358b0d45989d88640257713 |
| hovercard-subject-tag | issue:215835539 |
| 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/8358/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e9fbcd8de751e7d30612e5ea85673c505a7d11b9c2eeead1a17605299cc6fa73/matplotlib/matplotlib/issues/8358 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e9fbcd8de751e7d30612e5ea85673c505a7d11b9c2eeead1a17605299cc6fa73/matplotlib/matplotlib/issues/8358 |
| og:image:alt | Bug report Bug summary Using pcolormesh with logarithmic color scale and minor ticks enabled results in a cluttered-looking set of minor ticks, apparently because the linear ticks are not removed, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lamorton |
| 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