-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
webgl not supported #4989
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
Comments
@danielfrunza Which browser & OS are you using? It may be related to gl-vis/gl-plot3d#11 of v1.42.0. To investigate, you could use console.log({
opts: opts.glOptions,
glplot: scene.glplot
}); here: plotly.js/src/plots/gl3d/scene.js Line 153 in 7a274ed
|
Chrome: Version 83.0.4103.116 (Official Build) (64-bit) |
@danielfrunza and this demo works? |
if I replace: with: It works fine! Thanks for advice |
@danielfrunza wanna close this issue? |
WARN: webgl setup failed possibly due to enabling preserveDrawingBuffer config. The device may not be supported by is-mobile module! Inverting preserveDrawingBuffer option in second attempt to create webgl scene.
The above message is displayed despite that my browser supports WebGL as here
The environment:
Angular: 9.0.7
PlotlyJS: 1.54.5
Chrome: Version 83.0.4103.116 (Official Build) (64-bit)
Steps to reproduce:
"scripts": [ "node_modules/plotly.js/dist/plotly.min.js" ]
When using the --prod from angular compiler, I think that the already minified plotly.min.js gets bundled and minified in a wrong way. If the angular app is served or build without the '--prod' option everything works as expected.
PS: The last version of Plotly that is still working with --prod flag is 1.41.3
SS without --prod

SS with --prod


The text was updated successfully, but these errors were encountered: