Repository navigation
Regression bugs in plotly since updating to 1.32.0 #1211
Description
Activity
For (3), can you please report the console errors you are seeing?
- There are no console errors. The axes and the grid and the legend show up, only the points do not.…--- Dean Attali President & CEO AttaliTech Ltd http://AttaliTech.com <http://attalitech.com> Want to improve your Shiny skills? Try my new interactive, online video course *Shiny Case Studies* <https://www.datacamp.com/courses/building-web-applications-in-r-with-shiny-case-studies>On 7 March 2018 at 10:14, Carson Sievert ***@***.***> wrote: For (3), can you please report the console errors you are seeing? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#1211 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA6IFEcyyDbwVlfH4dr9yLinIJeVNBzqks5tb_k5gaJpZM4Sf8ho> .
Renders in RStudio on my mac. I assume you're on Windows? Does it render on in IE/Edge? Do these points render in IE/Edge? https://codepen.io/cpsievert/pen/oqvjXa
- You're correct - this is on Windows. You're also right that the points don't show up in IE11 (but they also had problems using CRAN version). I do not have Edge to test on. The link you sent me does render in IE11. I would consider issues 1+2 more serious than 3 because lots of things don't work in the rstudio browser and IE, it's sort of expected for anything non standard…--- Dean Attali President & CEO AttaliTech Ltd http://AttaliTech.com <http://attalitech.com> Want to improve your Shiny skills? Try my new interactive, online video course *Shiny Case Studies* <https://www.datacamp.com/courses/building-web-applications-in-r-with-shiny-case-studies>On 7 March 2018 at 11:13, Carson Sievert ***@***.***> wrote: Renders in RStudio on my mac. I assume you're on Windows? Does it render on in IE/Edge? Do these points render in IE/Edge? https://codepen.io/cpsievert/pen/oqvjXa — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#1211 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA6IFN5LvHr2S4l2h_1dJq7tfui5Feivks5tcAcygaJpZM4Sf8ho> .
Ok, unfortunately I haven't been able to replicate (1) or (2). Do these problems happen universally (e.g. different browsers and states)?
I wonder if some of this stuff won't have been fixed by plotly/plotly.js#2437 ...
Reacted by Carson Sievert- 1+2 happen on chrome as well. Strange you can't replicate…On Mar 7, 2018 11:35 AM, "Carson Sievert" ***@***.***> wrote: Ok, unfortunately I haven't been able to replicate (1) or (2). Do these problems happen universally (e.g. different browsers and states)? — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#1211 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA6IFHAleLu-2PoiTP--1lYBYqjCz2W4ks5tcAxRgaJpZM4Sf8ho> .
@daattali just upgraded to plotly.js 1.35.0 -- let me know if that helps/hurts anything
@cpsievert latest version does fix the first issue with the plot dimensions getting slightly resized.
But the other issues are still appearing, LASSOing points causes points to jump around while the mouse is dragging, and new points are appearing in a place they shouldn't be when done. Using the same repo that you have (sorry for anyone else here, only Carson and I can access that code) I get this now (Chrome on Win7)
(sorry for the very low quality and confusing GIF, it takes me forever to make it even when they're this bad...)
@cpsievert after another couple hours of debugging, it seems that when I don't use
toWebGL()things look and work much better@cpsievert I was trying to debug this on my very complicated app, but it seems like these issues are happening even for the most basic plots when converted to webgl.
toWebGL(plot_ly(iris, x = ~Sepal.Width, y = ~Sepal.Length))Doesn't show any points in RStudio, and in chrome when I try to select points, they jump around. So I think it's
toWebGL()that's brokenI'm closing this as I opened individual issues with short reproducible code samples.
after another couple hours of debugging, it seems that when I don't use
toWebGL()things look and work much betteryea, plotly.js devs recently completely rewrote the webgl logic, which is why we're running into headaches -- you can always use
scatter(SVG) overscattergl(canvas) and things should be less buggy, but it won't be as performantseems like these issues are happening even for the most basic plots when converted to webgl.
Huh, I can't replicate either of these issues. If you get the same behavior on this codepen, could you please post a plotly.js issue with a screen-recording (and tag me)?

2/3 of these issues are already mentioned in #1178 but since that PR is merged, it would get lost there.
When the initial dragmode is zoom and I manually click on lasso selection, the plot stretches horizontally a bit (see GIF below)

Something in selecting/adding points is broken. Here is a GIF of what selecting some points and trying to add the same points back as a different colour looks like:

This does not happen with the current CRAN version of plotly. I assume this doesn't always happen, otherwise it would be noticed and fixed by now. I cannot provide reproducible code in this issue, but @cpsievert has access to code that has this problem. The repo at https://github.com/daattali/sievert-oil is an example of this issue
Points aren't showing in RStudio. Using the same app from the private repo https://github.com/daattali/sievert-oil using the CRAN version the plot works absolutely fine within RStudio, but with the current github version, nothing shows up in the plot within RStudio Viewer.