-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Event data for transformed traces is inconsistent #1807
Comments
I don't know for sure, but it appears |
Thanks for heads-up. That codepen you linked is blank. We should add a test before merging your PR |
Hahaha fail. https://codepen.io/rsreusser/pen/bRRBjg |
Oh hacky finance charts! |
To be clear, I did see it on other trace types but wasn't able to reproduce it despite copying the JSON verbatim from |
Ok. In this case, the adding a fallback for undefined I'll like to get a fix in today, so I'll try to a few test cases to your #1808 PR. Thanks again for spotting this! |
That's the simplest solution... but that'll mean transformed traces will lose access to these attributes, exactly when they're most useful, won't it? Would it be better to recalculate |
@rreusser 's #1808 brought back hover for finance traces, but this issue isn't completely resolved. Event data for finance traces and, more generally, all transformed traces isn't currently showing all array attribute values as what PR #1770 put forward for non-transformed traces. Changing the issue title accordingly. |
Yeah, I definitely prefer to fix these issues and not have failsafes in place for internal code. |
A quick note about this ticket post-#2162 (see also #2128) where all transforms now compute Adding That said, I think we should instead spend the time (not more than 1-week) rewriting |
I'm facing this issue when I try to use This issue makes it impossible to use such chart as part of the interactive (cross-filtering) workflow in Dash, which is very frustrating. Is there a usable workaround? This issue has been open for half a year, and I would really like to use this type of chart in Dash... |
I can't think of any workaround at the moment. PR #2126 (and followup #2162) put forward some foundation work that could be used to somewhat easily resolve this issue. Unfortunately, no plotly.js team member will dedicate time to this issue in the next 2-3 weeks. But if someone is interesting in making a PR, we'll gladly guide them through it. |
will be fixed as part of #2510 |
This plot is throws an error whenever I hover in 1.28.2:
https://codepen.io/rsreusser/pen/bRRBjg
Apologies this isn't a simpler plot type, but I've noticed this while working on groupby and the splinter tests now seem to be failing because of it. I tried and failed to reproduce it with a plain codepen, so this is the first time I've been able to reproduce it in a couple lines.
The text was updated successfully, but these errors were encountered: