Title: Ticklabel format not preserved after editing plot limits · Issue #6276 · matplotlib/matplotlib · GitHub
Open Graph Title: Ticklabel format not preserved after editing plot limits · Issue #6276 · matplotlib/matplotlib
X Title: Ticklabel format not preserved after editing plot limits · Issue #6276 · matplotlib/matplotlib
Description: Version: 1.5.1, Windows 7, using QT5 backend. Not tested on linux yet. After setting the format of an axis to use use scientific notation, ticklabel_format(style='sci', axis='y', scilimits=(0,0)) changing the limits of the plot using the...
Open Graph Description: Version: 1.5.1, Windows 7, using QT5 backend. Not tested on linux yet. After setting the format of an axis to use use scientific notation, ticklabel_format(style='sci', axis='y', scilimits=(0,0)) c...
X Description: Version: 1.5.1, Windows 7, using QT5 backend. Not tested on linux yet. After setting the format of an axis to use use scientific notation, ticklabel_format(style='sci', axis='y', sc...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/6276
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Ticklabel format not preserved after editing plot limits","articleBody":"Version: 1.5.1, Windows 7, using QT5 backend. Not tested on linux yet. After setting the format of an axis to use use scientific notation,\n\n`ticklabel_format(style='sci', axis='y', scilimits=(0,0))`\n\nchanging the limits of the plot using the green checkbox widget in the NavigationToolbar will remove the scientific notation formatting that was just set. This would be a huge convenience for users who use scientific notation and want to work with plots interactively. Example:\n\n```\nimport matplotlib\nmatplotlib.use(\"Qt5Agg\")\nfrom numpy import *\nfrom matplotlib.pyplot import *\nfrom numpy.random import uniform\n\nnpts = 1000\n\nx = uniform(-100, 100, npts)\ny = 1000*sin(x)*cos(x**2)\n\nplot(x, y)\nticklabel_format(style='sci', axis='both', scilimits=(0,0))\n\nshow()\n```\n","author":{"url":"https://github.com/peytondmurray","@type":"Person","name":"peytondmurray"},"datePublished":"2016-04-06T22:06:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/6276/matplotlib/issues/6276"}
| 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:37584c32-a593-77a5-3eea-28596cda1bc9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE96:63589:A62C0:E30E5:6A57F3D1 |
| html-safe-nonce | 6600b20db6e265155e1517d3587fb864f248b4e501d92a95a0b5323d24ea86ce |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTk2OjYzNTg5OkE2MkMwOkUzMEU1OjZBNTdGM0QxIiwidmlzaXRvcl9pZCI6IjMwNzk5MjQxNzY0ODE5NDA0MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 02a9efa1d176c87e1ed2b393fdade137b8283a1c981308fb485528fa74790207 |
| hovercard-subject-tag | issue:146449255 |
| 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/6276/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2b3c26cf98f9bdf688121ee49c7f5fdb750d6b6b36345668316e47cd0827c74e/matplotlib/matplotlib/issues/6276 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2b3c26cf98f9bdf688121ee49c7f5fdb750d6b6b36345668316e47cd0827c74e/matplotlib/matplotlib/issues/6276 |
| og:image:alt | Version: 1.5.1, Windows 7, using QT5 backend. Not tested on linux yet. After setting the format of an axis to use use scientific notation, ticklabel_format(style='sci', axis='y', scilimits=(0,0)) c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | peytondmurray |
| hostname | github.com |
| expected-hostname | github.com |
| None | 49c8c15fabcbf356d607a90ca115c13b273e42ff8b74155de050fd229a9b0121 |
| 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 | 3fb1f684e7a833eb1b2d01d39875a2b52cb4fe9b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width