Title: Drops last tick label for some ranges · Issue #1310 · matplotlib/matplotlib · GitHub
Open Graph Title: Drops last tick label for some ranges · Issue #1310 · matplotlib/matplotlib
X Title: Drops last tick label for some ranges · Issue #1310 · matplotlib/matplotlib
Description: For some values (related to multiples of .3 and .7 it seems) drop the last tick label. expected: the last tick to be labeled, spacing of .1 between major ticks get: all be last label are correct The following demonstration is assumed to ...
Open Graph Description: For some values (related to multiples of .3 and .7 it seems) drop the last tick label. expected: the last tick to be labeled, spacing of .1 between major ticks get: all be last label are correct Th...
X Description: For some values (related to multiples of .3 and .7 it seems) drop the last tick label. expected: the last tick to be labeled, spacing of .1 between major ticks get: all be last label are correct Th...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/1310
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Drops last tick label for some ranges","articleBody":"For some values (related to multiples of .3 and .7 it seems) drop the last tick label.\r\n\r\nexpected: the last tick to be labeled, spacing of .1 between major ticks\r\nget: all be last label are correct\r\n\r\nThe following demonstration is assumed to be in an interactive shell with pylab imported\r\n\r\n```python\r\nfig = figure()\r\nax = gca()\r\ndraw()\r\nax.get_yaxis().set_major_locator(matplotlib.ticker.MultipleLocator(0.1))\r\nax.set_ylim([0,.2]); draw() # works\r\nax.set_ylim([0,.3]); draw() # fail\r\nax.set_ylim([0,.4]); draw() # works\r\nax.set_ylim([0,.6]); draw() # fail\r\nax.set_ylim([0,.7]); draw() # fail\r\nax.set_ylim([0,1.2]); draw() # fail\r\nax.set_ylim([0,1.4]); draw() # fail\r\n```\r\ntested against master branch. \r\n\r\nIn [17]: matplotlib.**version**\r\nOut[17]: '1.2.0rc2'\r\n\r\nusing QT4Agg with PyQT4\r\n","author":{"url":"https://github.com/tacaswell","@type":"Person","name":"tacaswell"},"datePublished":"2012-09-25T21:34:43.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/1310/matplotlib/issues/1310"}
| 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:bf61ee3e-b22f-f424-2bdd-41e2d7c8fba1 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B424:171A20:C7DBA6:10C38A3:6A5321E1 |
| html-safe-nonce | 5d93863a34e8c36cb7f53c64685a54d3434c7c9420cba09e8e5079b86d425c1f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNDI0OjE3MUEyMDpDN0RCQTY6MTBDMzhBMzo2QTUzMjFFMSIsInZpc2l0b3JfaWQiOiIyNzg5NDIwNTcyOTI0Mzg3ODA5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e847ef5157a7cdf06a3c47f5e25a7deff2b40b4c43af8baed49fe190f07e8219 |
| hovercard-subject-tag | issue:7134935 |
| 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/1310/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cb4f0e662bb9844f1e79775ac838aad7d0bc2cecb9420e70215d96971946cda4/matplotlib/matplotlib/issues/1310 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cb4f0e662bb9844f1e79775ac838aad7d0bc2cecb9420e70215d96971946cda4/matplotlib/matplotlib/issues/1310 |
| og:image:alt | For some values (related to multiples of .3 and .7 it seems) drop the last tick label. expected: the last tick to be labeled, spacing of .1 between major ticks get: all be last label are correct Th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tacaswell |
| 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