You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Before getting merged into the main plotly.js dist bundle, we need to make sure following problems are addressed
heatmapgl test-images are not reproducible. Maybe this is just a matter of bumping the gl-shader requirement.
top-most and right-most points aren't being catch by the hover picking routine
double-check that we are handling NaNs correctly. One good test would be to Plotly.restyle(gd, 'type', 'heatmapgl') all our heatmap test mocks.
include only attributes that are relevant to the gl2d version (instead of simply copying the heatmap attributes). For example, heatmapgl doesn't support zsmooth, xgap and ygap.
Ok, the problem of top-right points is in this line, which ignores edge vertices. It is easily fixable for the x axis by adding dx, but difficult for the y axis, because pick shader interpolates value.
A fact that pickBuffer in some magic way transforms float array of ids into vec4s of ints adds to the complexity of issue.
@jackparmer all heatmap related tests are reproduced fine on my machine, I guess I should discuss that with @etpinard this friday, to see the issue in action to understand what's wrong.
@etpinardgl-vis/gl-heatmap2d@04cae76 should fix picking, tested on various mocks. My render of 4.json is different though, I guess because of custom layout options . Should it be fixed?
@dfcreative with your last commit, this is looking really good. I'll spend a few more minutes double-checking, but looks like we're really to something mergeable. 🍻
Activity
etpinard commentedon Oct 25, 2016
Maybe @dfcreative would be interested in looking some of the items ⏫ ?
cc @monfera @jackparmer
dy commentedon Oct 25, 2016
Sure!
jackparmer commentedon Oct 25, 2016
That would be awesome @dfcreative ! Want to come by the office for lunch this Friday?
dy commentedon Oct 25, 2016
@jackparmer sure!
dy commentedon Oct 28, 2016
Ok, as for
that seems to be wrongly rendered

pickBuffer:only 9 levels out of 10 are here. It does not contain ids >= 90 and whole decimals 10, 20, 30, 40, 50, 60, 70, 80, which refer to the last row/col
dy commentedon Oct 28, 2016
All the difference I see across all the heatmap tests is in fonts rendering and antialiasing
original:


result:


Can it be the reason of failing tests @etpinard?
etpinard commentedon Oct 28, 2016
@dfcreative It's similar to https://github.com/plotly/streambed/issues/6307#issuecomment-231818023
Generating one
heatmapglmock at a time works fine. But inside a loop, image generation is off.dy commentedon Oct 28, 2016
Ok, the problem of top-right points is in this line, which ignores edge vertices. It is easily fixable for the x axis by adding
dx, but difficult for the y axis, because pick shader interpolates value.A fact that
pickBufferin some magic way transforms float array of ids intovec4s of ints adds to the complexity of issue.dy commentedon Nov 4, 2016
Ok, top-most and right-most picking problem should be fixed by gl-vis/gl-heatmap2d#2
jackparmer commentedon Nov 9, 2016
Hey @dfcreative - Do you have an idea for this one by chance?
What do you think is your timeline for the other 2?
dy commentedon Nov 10, 2016
@jackparmer all heatmap related tests are reproduced fine on my machine, I guess I should discuss that with @etpinard this friday, to see the issue in action to understand what's wrong.
dy commentedon Nov 11, 2016
@etpinard ok, last gl-vis/gl-heatmap2d#2 should fix the images/picking issues
etpinard commentedon Nov 15, 2016
@dfcreative nice job. Your patch even works on CI:
The first two items are ✅
etpinard commentedon Nov 15, 2016
Oh. I spoke too soon. Picking is still broken for a few other mocks.
For example,
Earth_heatmapwhen replacedata[0].typefrom'heatmap'to'heatmapgl':etpinard commentedon Nov 15, 2016
Same story for the
4mock:dy commentedon Nov 18, 2016
@etpinard gl-vis/gl-heatmap2d@04cae76 should fix picking, tested on various mocks. My render of
. Should it be fixed?
4.jsonis different though, I guess because of custom layout optionsetpinard commentedon Nov 18, 2016
@dfcreative thanks! I'll give it a test 🚗 on Monday.
etpinard commentedon Nov 24, 2016
@dfcreative with your last commit, this is looking really good. I'll spend a few more minutes double-checking, but looks like we're really to something mergeable. 🍻