-
-
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
Fix parcats + Plotly.react bug #3072
Conversation
... by storing 'calc'ed categoryarray and ticktext as using '_', so that Plots.supplyDefaults doesn't pickup spurious changes.
... to make them pass on etpinard's laptop on using Ubuntu 18.04 and Chrome 69
... to make it pass on etpinard's laptop running Ubuntu 18.04 and Chrome 69.
I also notice we sometimes overwrite plotly.js/src/traces/parcats/calc.js Lines 463 to 470 in e43d0f8
|
I’ll take a look this evening...
…On Thu, Oct 4, 2018 at 4:32 PM alexcjohnson ***@***.***> wrote:
I also notice we sometimes overwrite displayindex during calc -
presumably that can cause problems too?
https://github.com/plotly/plotly.js/blob/e43d0f85149570e9d8194bc1383ebd40465fdf9f/src/traces/parcats/calc.js#L463-L470
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3072 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOXdLUkppWlRyCVlFQRoeHE49EscLBuhks5uhnBmgaJpZM4XHDwE>
.
|
Yeah, I'm not very familiar with the |
I'll take 👀 |
... so that Plotly.react works on parcats mocks that have "bad" displayindex values
Done and 🔒 ed in 157a6e2 |
Thanks for taking this @etpinard - and @jonmmease thanks for chiming in. Looks great. 💃 |
Thanks @etpinard! |
a follow-up on @jonmmease 's #2963, making
Plotly.react
result in anoop
when reacting from the sameparcats
figure.I noticed that one of our
@noCI
was failing, at first I thought that simply appending of test mock list would suffice, but no, we also needed to patchparcats
to make that@noCI
test pass.While at it, I also added some tolerance here and there the make the whole suite pass on my setup.
cc @alexcjohnson