Skip to content
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

Pan produces unexpected behaviour with Scattergl #253

Closed
lamourj opened this issue May 3, 2018 · 6 comments
Closed

Pan produces unexpected behaviour with Scattergl #253

lamourj opened this issue May 3, 2018 · 6 comments

Comments

@lamourj
Copy link

lamourj commented May 3, 2018

When using Scattergl in a figure made with subplots, selecting the Pan tool (or shift+drag mouse) leads to an unexpected behaviour where all plots merge into one and expand in the entire space of the encapsulating figure. See attached GIF:
ezgif com-optimize 1

The issue has been observed on Chrome as well as Safari
I might be doing something wrong, but I doubt it because using the exact same code with Scatter instead of Scattergl doesn't show this unexpected behaviour.

Thanks for your help 😃

@chriddyp
Copy link
Member

chriddyp commented May 3, 2018

Thanks for reporting! Which versions of dash-core-components are you on?

import dash_core_components as dcc
print(dcc.__version__)

Could you share a URL of the chart? See https://community.plot.ly/t/mega-sharing-graphs-with-chart-studio/8869 for some instructions

@chriddyp
Copy link
Member

chriddyp commented May 3, 2018

@lamourj
Copy link
Author

lamourj commented May 3, 2018 via email

@chriddyp
Copy link
Member

chriddyp commented May 3, 2018

Thanks @lamourj ! Alternatively, you could try reproducing in codepen. Here's an example that you could start from: https://codepen.io/chriddyp/pen/jxwvQp?editors=1010

@chriddyp
Copy link
Member

chriddyp commented May 3, 2018

I'll leave this open until the issue is fixed on the Dash side, but let's continue the discussion in plotly/plotly.js#2609

@lamourj
Copy link
Author

lamourj commented May 18, 2018

I'm closing this for now since it was due to me using a rangeslider with Scattergl (according to plotly/plotly.js#2609 (comment)).

I made a feature request for compatibility between those two on plotly/plotly.js#2627.

@lamourj lamourj closed this as completed May 18, 2018
HammadTheOne pushed a commit to HammadTheOne/dash that referenced this issue May 28, 2021
HammadTheOne pushed a commit that referenced this issue Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants