Title: LogLocator ignores numticks without axis · Issue #11518 · matplotlib/matplotlib · GitHub
Open Graph Title: LogLocator ignores numticks without axis · Issue #11518 · matplotlib/matplotlib
X Title: LogLocator ignores numticks without axis · Issue #11518 · matplotlib/matplotlib
Description: Bug report Bug summary It does not seem possible to use LogLocator to generate a specific number of log-spaced tick locations without a live axis. Code for reproduction import matplotlib as mpl ticker = mpl.ticker.LogLocator(numticks=2) ...
Open Graph Description: Bug report Bug summary It does not seem possible to use LogLocator to generate a specific number of log-spaced tick locations without a live axis. Code for reproduction import matplotlib as mpl tic...
X Description: Bug report Bug summary It does not seem possible to use LogLocator to generate a specific number of log-spaced tick locations without a live axis. Code for reproduction import matplotlib as mpl tic...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/11518
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"LogLocator ignores numticks without axis","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nIt does not seem possible to use LogLocator to generate a specific number of log-spaced tick locations without a live axis.\r\n\r\n**Code for reproduction**\r\n\r\n\r\n```python\r\nimport matplotlib as mpl\r\nticker = mpl.ticker.LogLocator(numticks=2)\r\nticker.tick_values(1, 10)\r\n```\r\narray([ 0.1, 1. , 10. , 100. ])\r\n\r\n\r\n**Expected outcome**\r\n\r\narray([ 1. , 10. , ])\r\n\r\n\r\n**Matplotlib version**\r\n * Matplotlib version: 2.2.2\r\n * Python version: 3.6\r\n\r\n","author":{"url":"https://github.com/mwaskom","@type":"Person","name":"mwaskom"},"datePublished":"2018-06-27T02:42:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/11518/matplotlib/issues/11518"}
| 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:2a8c11b8-7c76-baef-7d7d-5b29414dab13 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 952C:26AD97:1D15413:26B7597:6A52D852 |
| html-safe-nonce | 18bac4db156bc50df9836157457fa49f8deeb565fb3d97d6b302e1257af0daff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTJDOjI2QUQ5NzoxRDE1NDEzOjI2Qjc1OTc6NkE1MkQ4NTIiLCJ2aXNpdG9yX2lkIjoiODUwNTczMjk0NTM1NjcwNzkyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 51cf198bb5cdd7c6b58206ccd9b3aef71b09aece092ca8887d482f61aaf9001f |
| hovercard-subject-tag | issue:336057503 |
| 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/11518/issue_layout |
| twitter:image | https://opengraph.githubassets.com/36ca0c7354173b031e6f88365f7a1b48d1385c8ce39f4d94f066a1887a0c792c/matplotlib/matplotlib/issues/11518 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/36ca0c7354173b031e6f88365f7a1b48d1385c8ce39f4d94f066a1887a0c792c/matplotlib/matplotlib/issues/11518 |
| og:image:alt | Bug report Bug summary It does not seem possible to use LogLocator to generate a specific number of log-spaced tick locations without a live axis. Code for reproduction import matplotlib as mpl tic... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mwaskom |
| 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