-
Notifications
You must be signed in to change notification settings - Fork 633
update to plotly 1.11.0 #586
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
Conversation
Detected 3 differences -> http://cpsievert.github.io/plotly-test-table/cb04782/jitter-basic |
@timelyportfolio do you think it makes sense to reflect plotly.js' semantic versioning in the R package? In other words, since plotly.sj bumped from 1.10.1 to 1.11.0, should we bump the R package from 3.6.0 to 3.7.0? |
@cpsievert I was just wondering that. It makes sense, but compare the big subplot bump to this little puny one. To the |
yea, that has been my approach thus far, so let's stick with that. Go ahead and bump the version, update news, and you have my 💃 |
Detected 3 differences -> http://cpsievert.github.io/plotly-test-table/6684abc/jitter-basic |
My two cents (which basically supports your positions): I follow http://semver.org/ where it says that given a version number MAJOR.MINOR.PATCH, increment the: I like this distinction between functionality and bug fixes. Thank you both for the great support of this package! Tal |
Following my previous note. I am looking at the release notes of plotly 1.11.0: If this is also reflected in the R options, then I would not consider this a patch addition, this is new (and useful!) functionality. Tal |
Good point @talgalili on bumping minor on support of the new functionality in |
Thanks @timelyportfolio
this is nice, it enable implementing "annotation_custom". # source: http://stackoverflow.com/questions/9917049/inserting-an-image-to-ggplot2
library(png)
library(grid)
library(ggplot2)
img <- readPNG(system.file("img", "Rlogo.png", package="png"))
g <- rasterGrob(img, interpolate=TRUE)
p <- qplot(1:10, 1:10, geom="blank") +
annotation_custom(g, xmin=-Inf, xmax=Inf, ymin=-Inf, ymax=Inf) +
geom_point()
p
library(plotly)
ggplotly(p) # currently doesn't show the figure But also annotation_raster: # source: http://stackoverflow.com/questions/27637455/display-custom-image-as-geom-point
library(png)
library(ggplot2)
img <- readPNG(system.file("img", "Rlogo.png", package="png"))
p <- ggplot(mtcars, aes(mpg, wt)) +
mapply(function(xx, yy)
annotation_raster(img, xmin=xx-1, xmax=xx+1, ymin=yy-0.2, ymax=yy+0.2),
mtcars$mpg, mtcars$wt)
p
library(plotly)
ggplotly(p) # doesn't work
|
update to plotly 1.11.0