This will be an issue for scatterPlot and dotPlot plots where size may be used to encode important information.
Unfortunately, this is just not implemented upstream in R plotly:
plotly/plotly.R#705
plotly/plotly.R#2254
dtm2451/dittoViz#7
plotly/plotly.R#2163
Looks like maybe it'll make its way in soon:
plotly/plotly.js#7656
A path to a workaround can be found here, which would involve taking the min/max of the size variable and picking 4-5 evenly spaced values and making them into a subplot to put alongside the main plot. Pretty annoying, and it won't have typical legend functionality, but may be the simplest approach for now.
Also tried screwing around with the approaches here, but it didn't seem to work properly.
This will be an issue for scatterPlot and dotPlot plots where size may be used to encode important information.
Unfortunately, this is just not implemented upstream in R plotly:
plotly/plotly.R#705
plotly/plotly.R#2254
dtm2451/dittoViz#7
plotly/plotly.R#2163
Looks like maybe it'll make its way in soon:
plotly/plotly.js#7656
A path to a workaround can be found here, which would involve taking the min/max of the size variable and picking 4-5 evenly spaced values and making them into a subplot to put alongside the main plot. Pretty annoying, and it won't have typical legend functionality, but may be the simplest approach for now.
Also tried screwing around with the approaches here, but it didn't seem to work properly.