Uh oh!
There was an error while loading. Please reload this page.
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.
Uh oh!
There was an error while loading. Please reload this page.
alexcjohnson
commented
Oct 4, 2018
I also notice we sometimes overwrite plotly.js/src/traces/parcats/calc.js Lines 463 to 470 in e43d0f8 |
jonmmease
commented
Oct 4, 2018
via email
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>
.
|
jonmmease
commented
Oct 4, 2018
Yeah, I'm not very familiar with the |
etpinard
commented
Oct 5, 2018
I'll take 👀 |
... so that Plotly.react works on parcats mocks that have "bad" displayindex values
etpinard
commented
Oct 5, 2018
Done and 🔒 ed in 157a6e2 |
Uh oh!
There was an error while loading. Please reload this page.
alexcjohnson
commented
Oct 5, 2018
Thanks for taking this @etpinard - and @jonmmease thanks for chiming in. Looks great. 💃 |
jonmmease
commented
Oct 5, 2018
Thanks @etpinard! |
a follow-up on @jonmmease 's #2963, making
Plotly.reactresult in anoopwhen reacting from the sameparcatsfigure.I noticed that one of our
@noCIwas failing, at first I thought that simply appending of test mock list would suffice, but no, we also needed to patchparcatsto make that@noCItest pass.While at it, I also added some tolerance here and there the make the whole suite pass on my setup.
cc @alexcjohnson