Title: Move renderer optional imports into function calls · Issue #4856 · plotly/plotly.py · GitHub
Open Graph Title: Move renderer optional imports into function calls · Issue #4856 · plotly/plotly.py
X Title: Move renderer optional imports into function calls · Issue #4856 · plotly/plotly.py
Description: There are some optional imports in the _renderers.py file in plotly/io that could slow down startup time when the packages aren't present. See #4823 (comment)
Open Graph Description: There are some optional imports in the _renderers.py file in plotly/io that could slow down startup time when the packages aren't present. See #4823 (comment)
X Description: There are some optional imports in the _renderers.py file in plotly/io that could slow down startup time when the packages aren't present. See #4823 (comment)
Opengraph URL: https://github.com/plotly/plotly.py/issues/4856
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Move renderer optional imports into function calls","articleBody":"There are some optional imports in the `_renderers.py` file in `plotly/io` that could slow down startup time when the packages aren't present. See https://github.com/plotly/plotly.py/pull/4823#discussion_r1834473662","author":{"url":"https://github.com/marthacryan","@type":"Person","name":"marthacryan"},"datePublished":"2024-11-08T22:14:13Z","url":"https://github.com/plotly/plotly.py/issues/4856"}
| 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:80786433-e36e-7d3f-e236-28e4334628be |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B000:2454CC:1A8DFDF:21AB784:6B014F2D |
| html-safe-nonce | e92163d3e78fe108b48a6e47a6278364e1a7c9d4b13b4220556874d82e0fc8f2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMDAwOjI0NTRDQzoxQThERkRGOjIxQUI3ODQ6NkIwMTRGMkQiLCJ2aXNpdG9yX2lkIjoiNDcxOTA5Nzg4NjY2NTY5MDkyNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 644f5a399711bf07f1b2afca0abc66027fb2d68542046f0a80814932d85e9089 |
| hovercard-subject-tag | issue:2645265533 |
| 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/4856/issue_layout |
| twitter:image | https://opengraph.githubassets.com/152dc1e3a463686266098d0f0367b8670942fa256532f69e6a0f4312f5585765/plotly/plotly.py/issues/4856 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/152dc1e3a463686266098d0f0367b8670942fa256532f69e6a0f4312f5585765/plotly/plotly.py/issues/4856 |
| og:image:alt | There are some optional imports in the _renderers.py file in plotly/io that could slow down startup time when the packages aren't present. See #4823 (comment) |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | marthacryan |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width