-
-
Notifications
You must be signed in to change notification settings - Fork 191
Alignment viewer: Issues with sync between subplots #159
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
Comments
Difference between here and on Chart Studio is that drag is manually handled on MSA I'll make a local copy of the React code inside the Dash component instead of just wrapping the imported react-alignment-viewer for now if we can't get a quick solution before release, thoughts |
@jackluo I'm curious. What makes you so sure that plotly/plotly.js#3305 is at the root of the problem? |
@etpinard zoom causes trouble when its the drag zoom tool, but + - (zoom buttons) works fine |
Ok, and what is the app suppose to do on drag? |
Both the heatmap and webgl text overlay should drag/zoom together |
OK now, why do need an on-relayout handler? https://plot.ly/~jackp/18501/#/ has a shared x-axis, and seems to zoom/pan properly. Moreover, are you using subplots are multiple graph divs in your app? If you're using multiple graph divs, then you should not encounter plotly/plotly.js#3305 |
FWIW, https://plot.ly/~jackp/18501/#/ is exported directly into Chart
Studio from Jack Luo's Dash app. I didn't make any further modifications.
JL's Dash app is not using multiple graph divs. You can inspect it here:
https://dash-bio.plotly.host/dash-alignment-viewer/
…On Fri, Feb 8, 2019 at 3:10 PM Étienne Tétreault-Pinard < ***@***.***> wrote:
OK now, why do need an on-relayout hanlder?
https://plot.ly/~jackp/18501/#/ has a shared x-axis, and seems to
zoom/pan properly.
Moreover, are you using subplots are multiple graph divs in your app? If
you're using multiple graph divs, then you should not encounter
plotly/plotly.js#3305 <plotly/plotly.js#3305>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABx4asztlCVt7j8D2Mwee70bxlkJRQ_Bks5vLdmlgaJpZM4apY2k>
.
|
Is there an easy way to try a new plotly.js bundle in a dash app? If so, could something try (or tell me how to do it) this bundle -> https://31572-45646037-gh.circle-artifacts.com/0/dist/plotly.min.js ? I think it might solve the syncing problems presented here. |
I thought this might be a plotly.js issue, but I don't get this off synch behavior in Chart Studio: https://plot.ly/~jackp/18501/#/
So I wonder if this app is using an older version of plotly.js.
The JS console is full of these bundle.js errors from click-dragging. I see
calcdata
in the compressed source, so it does seem plotly.js is having trouble in this particular environment.The text was updated successfully, but these errors were encountered: