Title: enable arbitrary formatting on x-axis and y-axis tick labels · Issue #4041 · plotly/plotly.py · GitHub
Open Graph Title: enable arbitrary formatting on x-axis and y-axis tick labels · Issue #4041 · plotly/plotly.py
X Title: enable arbitrary formatting on x-axis and y-axis tick labels · Issue #4041 · plotly/plotly.py
Description: Thanks for the awesome work on this project! It is incredibly useful! I have a feature request. I work for a hedge fund and we want our plotly graphs to follow a standardized format. I am having a hard time through writing a generic form...
Open Graph Description: Thanks for the awesome work on this project! It is incredibly useful! I have a feature request. I work for a hedge fund and we want our plotly graphs to follow a standardized format. I am having a ...
X Description: Thanks for the awesome work on this project! It is incredibly useful! I have a feature request. I work for a hedge fund and we want our plotly graphs to follow a standardized format. I am having a ...
Opengraph URL: https://github.com/plotly/plotly.py/issues/4041
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"enable arbitrary formatting on x-axis and y-axis tick labels","articleBody":"Thanks for the awesome work on this project! It is incredibly useful!\r\n\r\nI have a feature request. I work for a hedge fund and we want our plotly graphs to follow a standardized format. I am having a hard time through writing a generic formatting function that formats the x-axis and y-axis tick values. \r\n\r\nFor instance, if you wanted to set the tick axis to be bold and include a \"x\" at the end, you would need to do something like:\r\n```\r\nfig.update_layout(\r\n yaxis = dict(\r\n tickmode = 'array',\r\n tickvals = [1, 2, 3],\r\n ticktext = [\"\u003cb>1x\u003c/b>\", \"\u003cb>2x\u003c/b>\", \"\u003cb>3x\u003c/b>\"]\r\n )\r\n)\r\n```\r\nWhich is pretty inconvenient because you have to specify the tickvals every time you want to do this. \r\n\r\nSo I was thinking that it could be a good idea to add something like:\r\n`fig.update_xaxis(tick_text_formatter=\u003cfunction that formats a tick value>)`\r\n\r\nThoughts?\r\n\r\nAgain, thanks for the awesome work!","author":{"url":"https://github.com/pmantica3","@type":"Person","name":"pmantica3"},"datePublished":"2023-01-27T22:11:44Z","url":"https://github.com/plotly/plotly.py/issues/4041"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:70bdddf6-f28f-a835-68a4-06fad6384349 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 933E:19AA62:CB6FFB:103D6D7:6B010020 |
| html-safe-nonce | 287ba95b74ed31eb0e99b3a9a09d55fe5a979353adfbe4348e7e1dcd69331060 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzNFOjE5QUE2MjpDQjZGRkI6MTAzRDZENzo2QjAxMDAyMCIsInZpc2l0b3JfaWQiOiI4MzE0ODQyNjE3MDkxMjYwNDQ4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a19651b5fbd618ccc86c4cb3e03ded33aff86211ba07b88f23f42eb18f8a47b8 |
| hovercard-subject-tag | issue:1560494531 |
| 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/plotly/plotly.py/4041/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0e1ff9159e2ea9e9e1bf8c57d54d241c87479a020a4a840a6304a5e6b215181f/plotly/plotly.py/issues/4041 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0e1ff9159e2ea9e9e1bf8c57d54d241c87479a020a4a840a6304a5e6b215181f/plotly/plotly.py/issues/4041 |
| og:image:alt | Thanks for the awesome work on this project! It is incredibly useful! I have a feature request. I work for a hedge fund and we want our plotly graphs to follow a standardized format. I am having a ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pmantica3 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/plotly/plotly.py git https://github.com/plotly/plotly.py.git |
| octolytics-dimension-user_id | 5997976 |
| octolytics-dimension-user_login | plotly |
| octolytics-dimension-repository_id | 14579099 |
| octolytics-dimension-repository_nwo | plotly/plotly.py |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 14579099 |
| octolytics-dimension-repository_network_root_nwo | plotly/plotly.py |
| 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 | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width