Plotly.js: scattergl error bar React issue

Created on 8 Aug 2018  路  13Comments  路  Source: plotly/plotly.js

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)
bug

Most helpful comment

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

All 13 comments

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

is enough to spit out:

image

Thanks for the report!

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

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

@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.

Thanks @archmoj !!

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

Has this been resolved?

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

@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

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?

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 :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

etpinard picture etpinard  路  3Comments

boleslawmaliszewski picture boleslawmaliszewski  路  3Comments

archmoj picture archmoj  路  3Comments

chriddyp picture chriddyp  路  3Comments

nicolaskruchten picture nicolaskruchten  路  3Comments