Title: scatter plots with datetime x-axis and more than 1000 data points do not render all points · Issue #4298 · plotly/plotly.py · GitHub
Open Graph Title: scatter plots with datetime x-axis and more than 1000 data points do not render all points · Issue #4298 · plotly/plotly.py
X Title: scatter plots with datetime x-axis and more than 1000 data points do not render all points · Issue #4298 · plotly/plotly.py
Description: I believe this issue is similar to plotly/plotly_express#145 . I am using plotly 5.15.0 in jupyter lab 3.6.3. My browsers (have tried firefox and chrome) support webgl. When I render a scatter plot where the x-axis values are datetime ob...
Open Graph Description: I believe this issue is similar to plotly/plotly_express#145 . I am using plotly 5.15.0 in jupyter lab 3.6.3. My browsers (have tried firefox and chrome) support webgl. When I render a scatter plot...
X Description: I believe this issue is similar to plotly/plotly_express#145 . I am using plotly 5.15.0 in jupyter lab 3.6.3. My browsers (have tried firefox and chrome) support webgl. When I render a scatter plot...
Opengraph URL: https://github.com/plotly/plotly.py/issues/4298
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"scatter plots with datetime x-axis and more than 1000 data points do not render all points","articleBody":"I believe this issue is similar to https://github.com/plotly/plotly_express/issues/145 .\r\n\r\nI am using plotly 5.15.0 in jupyter lab 3.6.3.\r\n\r\nMy browsers (have tried firefox and chrome) support webgl.\r\n\r\nWhen I render a scatter plot where the x-axis values are datetime objects,\r\n\r\nif the plot has 1000 points, it renders fine:\r\n\r\n```\r\nsize = 1000\r\nx = np.random.randint(1690332167190, 1690332667190, size=size)\r\ny = np.random.randint(0, 10000, size=size)\r\ndf = pd.DataFrame()\r\ndf['x'] = pd.to_datetime(x, unit='ms')\r\ndf['y'] = y\r\nfig = px.scatter(df, x='x', y='y')\r\nfig\r\n```\r\n\r\n\r\n\r\nbut if I change size to 1001, the render only shows a few clusters of values on the x-axis:\r\n\r\n\r\n\r\nthe hover/mouseover behavior makes it clear that there are a bunch of points that exist in the spaces between what is plotted on the graph:\r\n\r\n\r\n\r\nbut the individual points don't render (or are rendered with the wrong x-value, not sure which).\r\n\r\n","author":{"url":"https://github.com/cprice404","@type":"Person","name":"cprice404"},"datePublished":"2023-07-27T15:19:11Z","url":"https://github.com/plotly/plotly.py/issues/4298"}
| 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:a1c46883-d573-7a98-cde2-250f947691e2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D87E:3E418A:1064EC0:15952C9:6B01DCAB |
| html-safe-nonce | 0c41391c2fa9cf509e7bc178c25e248b71f8b11c841a57b8544dce8f901f1a86 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEODdFOjNFNDE4QToxMDY0RUMwOjE1OTUyQzk6NkIwMURDQUIiLCJ2aXNpdG9yX2lkIjoiODc0OTgxODgwNTgzODAxMTU2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 27bdb777c111c2e78f69ee3d6084f407931caeb52d94db09e42b839fb623de34 |
| hovercard-subject-tag | issue:1824599591 |
| 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/4298/issue_layout |
| twitter:image | https://opengraph.githubassets.com/59b773463e978214bfb2a3170cc7efc2a9b75b6cf13563b43bcc3aff8cbddf14/plotly/plotly.py/issues/4298 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/59b773463e978214bfb2a3170cc7efc2a9b75b6cf13563b43bcc3aff8cbddf14/plotly/plotly.py/issues/4298 |
| og:image:alt | I believe this issue is similar to plotly/plotly_express#145 . I am using plotly 5.15.0 in jupyter lab 3.6.3. My browsers (have tried firefox and chrome) support webgl. When I render a scatter plot... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cprice404 |
| 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