Title: `Infinity` and `NaN` should be converted to `undefined` in JSON? Or base64 could/should be used to describe these values in the figure? · Issue #4807 · plotly/plotly.py · GitHub
Open Graph Title: `Infinity` and `NaN` should be converted to `undefined` in JSON? Or base64 could/should be used to describe these values in the figure? · Issue #4807 · plotly/plotly.py
X Title: `Infinity` and `NaN` should be converted to `undefined` in JSON? Or base64 could/should be used to describe these values in the figure? · Issue #4807 · plotly/plotly.py
Description: In #4470, the test_fast_track_finite_arrays, but it raised concerns that the replacement of NaN or Infinity with null in arrays is no longer running because the array is base64 encoded already when that code is run. The code that does th...
Open Graph Description: In #4470, the test_fast_track_finite_arrays, but it raised concerns that the replacement of NaN or Infinity with null in arrays is no longer running because the array is base64 encoded already when...
X Description: In #4470, the test_fast_track_finite_arrays, but it raised concerns that the replacement of NaN or Infinity with null in arrays is no longer running because the array is base64 encoded already when...
Opengraph URL: https://github.com/plotly/plotly.py/issues/4807
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`Infinity` and `NaN` should be converted to `undefined` in JSON? Or base64 could/should be used to describe these values in the figure?","articleBody":"In #4470, the [`test_fast_track_finite_arrays`](https://github.com/plotly/plotly.py/blob/9c5d112cafd6f1b738697e19a74191a42ae4cc6f/packages/python/plotly/plotly/tests/test_optional/test_utils/test_utils.py#L375), but it raised concerns that the replacement of NaN or Infinity with null in arrays is no longer running because the array is base64 encoded already when that code is run. The code that does the replacement currently is [here](https://github.com/plotly/plotly.py/blob/master/packages/python/plotly/_plotly_utils/utils.py#L37)","author":{"url":"https://github.com/marthacryan","@type":"Person","name":"marthacryan"},"datePublished":"2024-10-17T20:16:13Z","url":"https://github.com/plotly/plotly.py/issues/4807"}
| 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:255c24cc-9c7e-ae96-cd88-17a3f9be154d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF98:3C21B:FA40DF:142284B:6B010016 |
| html-safe-nonce | bf9d158e90eca0db1d46c0cf83dd7737eb3bc38798862589954dbad81d46eade |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjk4OjNDMjFCOkZBNDBERjoxNDIyODRCOjZCMDEwMDE2IiwidmlzaXRvcl9pZCI6IjU5NjAwMTYwNjQyMTI0MzQ5NjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a6f5921d86d28cea3060ce0f85d435963573940cf4ec78669e574338fcdb7ffa |
| hovercard-subject-tag | issue:2595657946 |
| 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/4807/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78e5cd10691fe91c66377d71c0637880bdfd02ef8bbe69f43e4a1f6b232084df/plotly/plotly.py/issues/4807 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78e5cd10691fe91c66377d71c0637880bdfd02ef8bbe69f43e4a1f6b232084df/plotly/plotly.py/issues/4807 |
| og:image:alt | In #4470, the test_fast_track_finite_arrays, but it raised concerns that the replacement of NaN or Infinity with null in arrays is no longer running because the array is base64 encoded already when... |
| 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 | 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