Title: compare() background wrong for integer arrays when arrays are equal · Issue #246 · larray-project/larray-editor · GitHub
Open Graph Title: compare() background wrong for integer arrays when arrays are equal · Issue #246 · larray-project/larray-editor
X Title: compare() background wrong for integer arrays when arrays are equal · Issue #246 · larray-project/larray-editor
Description: It is all red even though it should be white like for floats when there is no difference. The problem is the same when the comparison is done via two sessions. from larray import Session, compare, ndtest a = ndtest(3, dtype=float) b = nd...
Open Graph Description: It is all red even though it should be white like for floats when there is no difference. The problem is the same when the comparison is done via two sessions. from larray import Session, compare, ...
X Description: It is all red even though it should be white like for floats when there is no difference. The problem is the same when the comparison is done via two sessions. from larray import Session, compare, ...
Opengraph URL: https://github.com/larray-project/larray-editor/issues/246
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"compare() background wrong for integer arrays when arrays are equal","articleBody":"It is all red even though it should be white like for floats when there is no difference. The problem is the same when the comparison is done via two sessions.\r\n\r\n```python\r\nfrom larray import Session, compare, ndtest\r\n\r\na = ndtest(3, dtype=float)\r\nb = ndtest(3, dtype=int)\r\n\r\ncompare(a, a) # white background like it should\r\ncompare(a, a + 1) # blue background like it should\r\ncompare(b, b) # red background even if diff is 0\r\ncompare(b, b + 1) # blue background like it should\r\nses = Session(a=a, b=b)\r\ncompare(ses, ses) # red background for b even if diff is 0\r\n```\r\n","author":{"url":"https://github.com/gdementen","@type":"Person","name":"gdementen"},"datePublished":"2022-11-23T15:29:42Z","url":"https://github.com/larray-project/larray-editor/issues/246"}
| 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:40222388-3905-87a7-9b61-1626980e2fea |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A598:1A77D:69A0A6:8CB70B:6B00365E |
| html-safe-nonce | a5ffa8be0e2a9d61c04d7a5a2bdd259f50dbcdb27b0097315366a4e236c59719 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNTk4OjFBNzdEOjY5QTBBNjo4Q0I3MEI6NkIwMDM2NUUiLCJ2aXNpdG9yX2lkIjoiNjgxNjM2NjY3NTQxNjMzMTg3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ad623215cc79c8f5c62170beecfe60fa38b8c20f45c2d666535a5461f1d9405b |
| hovercard-subject-tag | issue:1461966545 |
| 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/larray-project/larray-editor/246/issue_layout |
| twitter:image | https://opengraph.githubassets.com/19d7db4cdce25e077ef190f983c5cf7e950699cd2d23e17ca03ce548060e6ab0/larray-project/larray-editor/issues/246 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/19d7db4cdce25e077ef190f983c5cf7e950699cd2d23e17ca03ce548060e6ab0/larray-project/larray-editor/issues/246 |
| og:image:alt | It is all red even though it should be white like for floats when there is no difference. The problem is the same when the comparison is done via two sessions. from larray import Session, compare, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | gdementen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/larray-project/larray-editor git https://github.com/larray-project/larray-editor.git |
| octolytics-dimension-user_id | 26460981 |
| octolytics-dimension-user_login | larray-project |
| octolytics-dimension-repository_id | 95664837 |
| octolytics-dimension-repository_nwo | larray-project/larray-editor |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 95664837 |
| octolytics-dimension-repository_network_root_nwo | larray-project/larray-editor |
| 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 | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width