Title: Introducing Templates/Themes · Issue #425 · plotly/plotly.py · GitHub
Open Graph Title: Introducing Templates/Themes · Issue #425 · plotly/plotly.py
X Title: Introducing Templates/Themes · Issue #425 · plotly/plotly.py
Description: Going through the discussion in this thread: #217 We can add template functionality to the API Libraries. Some pointers: py.plot(fig, template='ggplot'). Template can be a keyword ( 'ggplot', 'seaborn' etc.) or a Figure instance. This wa...
Open Graph Description: Going through the discussion in this thread: #217 We can add template functionality to the API Libraries. Some pointers: py.plot(fig, template='ggplot'). Template can be a keyword ( 'ggplot', 'seab...
X Description: Going through the discussion in this thread: #217 We can add template functionality to the API Libraries. Some pointers: py.plot(fig, template='ggplot'). Template can be a keyword ( 'gg...
Opengraph URL: https://github.com/plotly/plotly.py/issues/425
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Introducing Templates/Themes","articleBody":"Going through the discussion in this thread: https://github.com/plotly/plotly.py/issues/217\n\nWe can add template functionality to the API Libraries. Some pointers:\n- `py.plot(fig, template='ggplot')`. Template can be a keyword ( 'ggplot', 'seaborn' etc.) or a `Figure` instance. This way a user can copy the theme from an existing chart the user has access to (which many people have been asking about, in support queries).\n- Copying the template from an existing Plotly chart will only work in online mode (inbuilt template can be used offline as well).\n- saving user's custom templates as JSON in `.plotly/user_templates` directory, and built-in templates in `.plotly/plotly_templates` directory.\n- Adding new built-in templates will require a valid `template.json` and a reference in a `templates.py` file.\n- A Template Parser, which will load template files, and convert them to `Figure` or `Layout` objects (basically deserialize them).\n- A _deep_ `update` method, which can work on Plotly's Graph Objects (as a utility method).\n\n@cldougl @jackparmer @theengineear : please provide comments/suggestions .. \n","author":{"url":"https://github.com/tarzzz","@type":"Person","name":"tarzzz"},"datePublished":"2016-03-21T07:51:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/425/plotly.py/issues/425"}
| 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:4b61cbc8-1328-fba8-1ff1-eaf2e80e8d68 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CFEA:7990:CB5621:1215180:6A588B7B |
| html-safe-nonce | aff2e305a4edc48b4d3a44924eef248bc785eb32a6a6b2fae8dcf10357241279 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkVBOjc5OTA6Q0I1NjIxOjEyMTUxODA6NkE1ODhCN0IiLCJ2aXNpdG9yX2lkIjoiNjA3MjQ1ODMyNTE5MDU0NDI1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 68860ef36dc0c6643f9d38221fa7ec05b65b0f2da35f0284df3eb8cf0bea8505 |
| hovercard-subject-tag | issue:142278886 |
| 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/425/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e676c61a84a8129a8f5b189430afe0a56a8bc24fd0c7a4e0c1ff1da7fbb57497/plotly/plotly.py/issues/425 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e676c61a84a8129a8f5b189430afe0a56a8bc24fd0c7a4e0c1ff1da7fbb57497/plotly/plotly.py/issues/425 |
| og:image:alt | Going through the discussion in this thread: #217 We can add template functionality to the API Libraries. Some pointers: py.plot(fig, template='ggplot'). Template can be a keyword ( 'ggplot', 'seab... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tarzzz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width