Title: Log Formatter for tick labels can't handle non-integer base · Issue #909 · matplotlib/matplotlib · GitHub
Open Graph Title: Log Formatter for tick labels can't handle non-integer base · Issue #909 · matplotlib/matplotlib
X Title: Log Formatter for tick labels can't handle non-integer base · Issue #909 · matplotlib/matplotlib
Description: In LogFormatterMathtext, we have else: if usetex: s = r'$%s%d^{%d}$'% (sign_string, b, nearest_long(fx)) else: s = r'$\mathdefault{%s%d^{%d}}$'% (sign_string, b, nearest_long(fx)) But this is a problem if one is using non-integer base fo...
Open Graph Description: In LogFormatterMathtext, we have else: if usetex: s = r'$%s%d^{%d}$'% (sign_string, b, nearest_long(fx)) else: s = r'$\mathdefault{%s%d^{%d}}$'% (sign_string, b, nearest_long(fx)) But this is a pro...
X Description: In LogFormatterMathtext, we have else: if usetex: s = r'$%s%d^{%d}$'% (sign_string, b, nearest_long(fx)) else: s = r'$\mathdefault{%s%d^{%d}}$'% (sign_string, b, nearest_long(fx)) B...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/909
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Log Formatter for tick labels can't handle non-integer base","articleBody":"In LogFormatterMathtext, we have\n\n```\n else:\n if usetex:\n s = r'$%s%d^{%d}$'% (sign_string, b, nearest_long(fx))\n else:\n s = r'$\\mathdefault{%s%d^{%d}}$'% (sign_string, b,\n nearest_long(fx))\n```\n\nBut this is a problem if one is using non-integer base for a plot, like 1.5. Suggestion is to fix by %.2f^{%d} or something similar if a non-integer base is detected. Joint suggestion of Punarbasu Purkayastha, Karl-Dieter Crisman.\n","author":{"url":"https://github.com/kcrisman","@type":"Person","name":"kcrisman"},"datePublished":"2012-05-29T06:38:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/909/matplotlib/issues/909"}
| 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:d8519b45-d1dc-7e68-8620-65991056604b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8DD8:18EF60:C71E42:109F4C9:6A52C3C2 |
| html-safe-nonce | c61fbce6af4654465e0074236de42b8781dc7e59d2ee88335d23dfc81a167454 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4REQ4OjE4RUY2MDpDNzFFNDI6MTA5RjRDOTo2QTUyQzNDMiIsInZpc2l0b3JfaWQiOiI4NTYwMzU0NDM5OTI2MDk3MzAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 88f17a74558f7f7efbc4f1d3eb1cdc2de31a1e8bd3cf8c4efc93739c7a664729 |
| hovercard-subject-tag | issue:4789531 |
| 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/909/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7a4e4bbbc0751127e86313a2eb6e5adfc5c633511c1eded5e2f51338dc3fd92c/matplotlib/matplotlib/issues/909 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7a4e4bbbc0751127e86313a2eb6e5adfc5c633511c1eded5e2f51338dc3fd92c/matplotlib/matplotlib/issues/909 |
| og:image:alt | In LogFormatterMathtext, we have else: if usetex: s = r'$%s%d^{%d}$'% (sign_string, b, nearest_long(fx)) else: s = r'$\mathdefault{%s%d^{%d}}$'% (sign_string, b, nearest_long(fx)) But this is a pro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kcrisman |
| 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