Title: Use scalars below a certain exponent in labes of log-scales axis by zblz · Pull Request #6834 · matplotlib/matplotlib · GitHub
Open Graph Title: Use scalars below a certain exponent in labes of log-scales axis by zblz · Pull Request #6834 · matplotlib/matplotlib
X Title: Use scalars below a certain exponent in labes of log-scales axis by zblz · Pull Request #6834 · matplotlib/matplotlib
Description: This is a restart of #4730 with the added functionality of the configuration through rcParams. There is a new rcParam called axes.formatter.min_exponent that sets the minimum exponent that will be formatted as 10^{x}. I have currently set the default to 0 to retain current behaviour of formatting everything as 10^{x}, including 10^{0}. A setting of 3 would reproduce the behaviour of @astrofrog's implementation in #4730. The remaining problem is the baseline for labels on the x axis. Because of the lack of exponent, they are aligned quite a bit higher that the rest of the labels, see below. @mdboom: Any idea on how to fix this? Is there a way to pass a minimum height for the text box from the formatter?
Open Graph Description: This is a restart of #4730 with the added functionality of the configuration through rcParams. There is a new rcParam called axes.formatter.min_exponent that sets the minimum exponent that will be ...
X Description: This is a restart of #4730 with the added functionality of the configuration through rcParams. There is a new rcParam called axes.formatter.min_exponent that sets the minimum exponent that will be ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/6834
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:d479deef-81c3-d749-abb7-e825b34358be |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D7D2:2BD17B:12CD693:18FA381:6A542922 |
| html-safe-nonce | 1595b0a64ef8a7d6ba53231c8c893ae118e4554b7e8d562170f0f5be7f707ac2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0QyOjJCRDE3QjoxMkNENjkzOjE4RkEzODE6NkE1NDI5MjIiLCJ2aXNpdG9yX2lkIjoiNzc0OTA1Njc0ODI5MjY3OTk3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5a88f600dff6205968707c07fa5b918b06095508efbb4d8466d387d0ba9de10f |
| hovercard-subject-tag | pull_request:78807744 |
| 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/6834/files |
| twitter:image | https://avatars.githubusercontent.com/u/576258?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/576258?s=400&v=4 |
| og:image:alt | This is a restart of #4730 with the added functionality of the configuration through rcParams. There is a new rcParam called axes.formatter.min_exponent that sets the minimum exponent that will be ... |
| 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 full-width |
| 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