Skip to content

scattergl error bar React issue #2882

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

Closed
nicolaskruchten opened this issue Aug 8, 2018 · 13 comments
Closed

scattergl error bar React issue #2882

nicolaskruchten opened this issue Aug 8, 2018 · 13 comments
Labels
bug something broken

Comments

@nicolaskruchten
Copy link
Contributor

This pen https://codepen.io/nicolaskruchten/pen/djgdba shows a wierd issue where .react()ing to the same state as previously causes error bars to disappear.

To reproduce:

  1. Click on newplot @ 0 (ok, svg)
  2. Click on react @ 0 (ok, svg)
  3. Click on newplot @ 0 (ok, svg)
  4. Click on react @ 1 (ok, gl)
  5. Click on newplot @ 1 (ok, gl)
  6. Click on react @ 1 (error bars vanish, gl)
@etpinard
Copy link
Contributor

etpinard commented Aug 8, 2018

  • Click on newplot @ 1 (ok, gl)
  • Click on react @ 1 (error bars vanish, gl)

is enough to spit out:

image

Thanks for the report!

@chriddyp
Copy link
Member

chriddyp commented Mar 1, 2019

Just ran into this today in a Dash app I was working on. Here's another reproducable example: https://codepen.io/chriddyp/pen/xBVbEJ?editors=0010
zoom-scattergl

@etpinard
Copy link
Contributor

etpinard commented Apr 1, 2019

@archmoj have you ever tried fixing this thing? I'd call this on of most high-priority open bug at the moment.

@archmoj
Copy link
Contributor

archmoj commented Apr 1, 2019

@archmoj have you ever tried fixing this thing? I'd call this on of most high-priority open bug at the moment.

Yes. I will give it another try today.

@etpinard
Copy link
Contributor

etpinard commented Apr 1, 2019

Thanks @archmoj !!

@nvaytet
Copy link

nvaytet commented Nov 25, 2019

Here is another reproducible example I came across today using the Python API. It seems very related: https://community.plot.ly/t/error-bars-disappear-on-zoom-with-scattergl/31844

@levindoneto
Copy link

Has this been resolved?

@chriddyp
Copy link
Member

@levindoneto - It looks like it, the codepen that I shared above no longer demonstrates the issue.

@archmoj
Copy link
Contributor

archmoj commented Jun 24, 2020

Fixed in v1.54.2 via #4881.

@archmoj archmoj closed this as completed Jun 24, 2020
@levindoneto
Copy link

@levindoneto - It looks like it, the codepen that I shared above no longer demonstrates the issue.

but why the +-error_y[i] still doesn't show up?

With scatter:
image

With scattergl:
image

@chriddyp
Copy link
Member

Good find @levindoneto . However, that looks like a different issue than the one reported here. Could you search through https://github.com/plotly/plotly.js/issues/ to see if it has been reported and, if not, create a new issue?

@levindoneto
Copy link

Good find @levindoneto . However, that looks like a different issue than the one reported here. Could you search through https://github.com/plotly/plotly.js/issues/ to see if it has been reported and, if not, create a new issue?

I'll do this :)

@levindoneto
Copy link

New issue here, @chriddyp: #4954

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

No branches or pull requests

6 participants