-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
3D plots not showing on Safari Version 14.0 when there is transparency in the scene #5158
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
Thanks for the report. Which OS & device you are using? |
Thank you. I am using macOS Catalina 10.15.6 on MacBook Air Retina, 13-inch, 2018. The Safari is Version 14.0 (15610.1.28.1.9, 15610). I want to mention that hover text works on the vertices as follows although the mesh is invisible. |
Hmm... |
The surface plots on https://plotly.com/javascript/3d-surface-plots/ are good. The scatter3d on https://plotly.com/javascript/3d-scatter-plots/ doesn't show. |
And I expect you get some warnings in the console e.g.
If that is the case I think this should be addressed in is-mobile module to support Safari v14. |
Jumping in here because I just encountered the same issue. I managed to "fix" it by setting the opacity of the lines to 1.0. If I set the opacity to anything below 1 (e.g. 0.99), the lines won't show in Safari 14.0 |
Safari 14 won't show surface plots unless opacity=1. This seems to be a plotly bug. For now, we can workaround using browser detection and setting opacity in Safari. Related: plotly/plotly.js#5158
@archmoj FYI I also see this bug in Safari 14, on Mac OS 11.0.1 Big Sur. No messages show up in the console. |
This problem persists for me in Safari 14.0.1 (16610.2.11.51.8) and MacOS 11.0.1 BigSur. It also interferes with PollEverywhere rendering the html in powerpoint presentations. The problem interestingly does not appear when I use Safari 14 on an iPhone. |
Hello, I have a MacBook Pro, OS BigSur 11.4, Safari v.14.1.1. Plot grid axes show, the hover feature picks up the x,y,z but the data is invisible. Plots work perfectly in Mozilla Firefox and also work just fine on my other Mac computer (Safari is thankfully still 13.1) Problem for Safari 14.1.1 is solved by setting opacity = 1 as described above, however that is not a solution for what I need to present... Any solutions beyond instructing all who may use to install Mozilla etc etc and abandon Safari? Apologizes if this needs to be a "new issue" but since it is identical to this thread I thought I would start here.. as this and #5351 appear to be closed.. Cheers! |
PS. Reproducible example (given the user has Safari 14.1.1)... as per: BASIC LINE PLOTdata1 <- read.csv('https://github.com/raw/plotly/datasets/master/3d-line1.csv') data1$color <- as.factor(data1$color) plot_ly(data1, x = ~x, y = ~y, z = ~z, plot_ly(data1, x = ~x, y = ~y, z = ~z, |
The plotly Python package is closely tied to the plotly.js project. In December 2020, the following issue was closed related to 3d surfaces not showing in Safari 13: plotly/plotly.js#5158. We bump the required plotly version to the latest major release which includes this patch.
Uh oh!
There was an error while loading. Please reload this page.
After updating Safari to version 14.0, you can visit https://plotly.com/javascript/3d-mesh/ and observe the empty 3D scatter plots as follows:

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