Title: [WIP] Proposed improvement in default log formatting by astrofrog · Pull Request #4730 · matplotlib/matplotlib · GitHub
Open Graph Title: [WIP] Proposed improvement in default log formatting by astrofrog · Pull Request #4730 · matplotlib/matplotlib
X Title: [WIP] Proposed improvement in default log formatting by astrofrog · Pull Request #4730 · matplotlib/matplotlib
Description: This is a proposed change in defaults for the upcoming 2.0 release, in response to @tacaswell's email on the matplotlib list (and this is by no means a finished PR). When making log plots, having 10^0 and 10^1 instead of 1 and 10 looks unpolished and I often encounter users that comment (negatively) on it: I would like to propose that we fix this properly and make it so that the default log formatter uses 0.1, 1, and 10 in instead of 10^-1, 10^0, and 10^1. The current PR gives: The PR here is clearly not the final answer - at the moment you can see that the baseline for the labels is wrong on the x-axis for the 0.1, 1, and 10 values due to the lack of exponent. Presumably we could align the labels using the bottom of the labels instead of the top. Or we could an empty exponent. But for the y-axis, this looks a lot nicer. This would also need tests, etc. Any thoughts about this?
Open Graph Description: This is a proposed change in defaults for the upcoming 2.0 release, in response to @tacaswell's email on the matplotlib list (and this is by no means a finished PR). When making log plots, havi...
X Description: This is a proposed change in defaults for the upcoming 2.0 release, in response to @tacaswell's email on the matplotlib list (and this is by no means a finished PR). When making log plots, ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/4730
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d5aae739-a7dc-88c4-2430-ae5f0fd59995 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A71C:1DC0B7:422B36:5B928B:6A5377C4 |
| html-safe-nonce | ec53a648fa075e9dfcf068f29a8e73c762531196ee43a731d789eaff6fbb7a21 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzFDOjFEQzBCNzo0MjJCMzY6NUI5MjhCOjZBNTM3N0M0IiwidmlzaXRvcl9pZCI6Ijg5MTI0Mjg5NjkxODc1NzE2NTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5da159230a37f784ac85067c95e3ce82e5fe8e6552c00501d37240bf25f69a7b |
| hovercard-subject-tag | pull_request:40205080 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/matplotlib/matplotlib/pull/4730/files |
| twitter:image | https://avatars.githubusercontent.com/u/314716?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/314716?s=400&v=4 |
| og:image:alt | This is a proposed change in defaults for the upcoming 2.0 release, in response to @tacaswell's email on the matplotlib list (and this is by no means a finished PR). When making log plots, havi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| 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