-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Fix to remove webgl warnings resulted from blank texts in scatter3d #3133
Conversation
package.json
Outdated
@@ -80,7 +80,7 @@ | |||
"gl-plot2d": "^1.3.1", | |||
"gl-plot3d": "^1.5.7", | |||
"gl-pointcloud2d": "^1.0.1", | |||
"gl-scatter3d": "^1.0.11", | |||
"gl-scatter3d": "git://github.com/gl-vis/gl-scatter3d.git#2ee9fbb3c29af694ad64258a27dc04d617896e84", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW now that you have PRs in these other repos, even better than the branch link would be to link to that PR directly
gl-vis/gl-scatter3d#9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the note. But the other PR on the gl-scatter3d repo is not opened by me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My apologies @alexcjohnson,
Here is the link to the open PR:
gl-vis/gl-scatter3d#9
Are the warnings that this PR suppresses accessible to us in a jasmine test? Or is there some other effect of the error that we can test? |
Unfortunately no.
Plotly.newPlot(gd, [{
type: 'scatter3d',
mode: 'text',
x: [1,2,3],
y: [2,1,2],
z: [2,1,3]
}]) @archmoj is this expected? Could we use it to 🔒 down this fix? Also referencing https://github.com/gl-vis/gl-scatter3d/pull/9/files#r227874673 |
Thanks @etpinard. |
Plotly.plot(gd, [{
type: 'scatter3d',
mode: 'text',
x: [1,2,3],
y: [2,1,2],
z: [2,1,3]
}])
|
Thanks for the update @archmoj Don't worry about the ci (appveyor) failure. That appveyor container shouldn't be runned, but for some reason it does run when you pushed to a branch with a conflict. |
Regarding this issue and other issues I noticed in gl-scatter3d module please refer to this demo. |
Nice demo @archmoj Have you check that those non-string items in |
Thank you @etpinard for this demonstration. Good call if needed I could also fix the other trace in order to e.g. display JSON object properly? |
No need. I don't think we should support that. We could do better than rendering |
So now on scatter3d we render |
I'd call it a bug if |
Looks good! Could you add JSON version of your https://codepen.io/MojtabaSamimi/pen/OBrdyE to our test mocks? |
Great idea @etpinard . |
There is a question. JSON format only has |
|
Yes, but it is not clear to me how one could mimic the case of |
Pro tip @archmoj you can go ahead and close "duplicate" PRs. If something goes wrong, we can always reopen closed PRs. |
Thanks for the note @etpinard. OK I would follow that next time. |
This PR resolves issue #704.
@alexcjohnson